]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Use headers instead of forward declarations.
authorDavid Wells <wellsd2@rpi.edu>
Sat, 5 Mar 2016 17:04:06 +0000 (12:04 -0500)
committerDavid Wells <wellsd2@rpi.edu>
Fri, 11 Mar 2016 03:05:20 +0000 (22:05 -0500)
We use typedefs inside of these classes so the header is necessary. The
header is currently included anyway through mapping_q1.h.

include/deal.II/grid/grid_tools.h

index ce52d74534f7f7947b2eb0fce6bdb54dbd18e67d..7a8c4e407d70d839ef303383e7e00f337215e7c2 100644 (file)
 
 
 #include <deal.II/base/config.h>
+#include <deal.II/dofs/dof_handler.h>
 #include <deal.II/fe/mapping.h>
+#include <deal.II/fe/mapping_q1.h>
 #include <deal.II/grid/tria.h>
 #include <deal.II/grid/tria_accessor.h>
 #include <deal.II/grid/tria_iterator.h>
-#include <deal.II/fe/mapping_q1.h>
+#include <deal.II/hp/dof_handler.h>
 
 #include <bitset>
 #include <list>
 DEAL_II_NAMESPACE_OPEN
 
 
-template <int, int> class DoFHandler;
-template <int, int> class Mapping;
 namespace hp
 {
-  template <int, int> class DoFHandler;
   template <int, int> class MappingCollection;
 }
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.