dune-grid  2.2.0
alugrid/common/declaration.hh
Go to the documentation of this file.
00001 #ifndef DUNE_ALUGRID_FORWARDDECLARATION
00002 #define DUNE_ALUGRID_FORWARDDECLARATION
00003 
00004 //- common includes 
00005 #include <dune/common/collectivecommunication.hh>
00006 #if HAVE_MPI
00007 #include <dune/common/mpicollectivecommunication.hh>
00008 #endif
00009 
00010 //- ALUGrid includes
00011 #include <dune/grid/alugrid/common/checkparallel.hh>
00012 
00013 namespace Dune {
00014 
00016   enum ALUGridElementType { simplex, cube };
00018   enum ALUGridRefinementType { conforming, nonconforming };
00019 
00053   template <int dim, int dimworld, ALUGridElementType elType, ALUGridRefinementType refineType, 
00054             class Comm = 
00055 #if ALU3DGRID_PARALLEL
00056               MPI_Comm 
00057 #else 
00058               No_Comm 
00059 #endif
00060            >
00061   class ALUGrid;
00062 
00063   //- traits class for declaring base class for ALUGrid
00064   template <int dim, int dimw, ALUGridElementType elType, class Comm >
00065   struct ALUGridBaseGrid ;
00066 }
00067 #endif