1 #ifndef DUNE_DGF_MACROGRID_HH
2 #define DUNE_DGF_MACROGRID_HH
7 #include <dune/common/mpihelper.hh>
15 class DuneGridFormatParser;
20 template<
class Gr
idType >
31 , MPICOMM_(MPICOMM) {}
37 , MPICOMM_(MPICOMM) {}
40 template <
class Gr
idType>
43 return Impl<GridType>::generate(*
this,filename_,MPICOMM_);
50 MPI_Comm_rank( MPICOMM, &rank );
58 MPI_Comm_size( MPICOMM, &size );
73 template<
class Gr
idType >
80 dune_static_assert( GridType::dimension<0,
"dgf grid factory missing - did you forget to add the corresponding dgf header or dgfgridtype.hh ?");
84 const char* filename_;