> #include <numerics/fe_field_function.h> > > and then build the object > > FEFieldFunction<dim> field_function(dof_handler, solution). > > However, the compiler complains that I have not previously defined > FEFieldFunction: > > myfile.h In member function ‘void > DGMethod<dim>::record_observations(....)’: > myfile.h:1318: error: ‘FEFieldFunction’ was not declared in this scope > > and a few related errors follow. I found the definition of > FEFieldFunction class inside "numerics/fe_field_function.h" - > shouldn't that include be sufficient? > What gives? Do I need to include some other code?
It's hard to tell without an actual testcase. All of deal.II's classes are in a namespace dealii. Do you have a using namespace dealii; at the top of your file myfile.h? Best W. _______________________________________________ dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii
