3 #ifndef DUNE_DGF_MACROGRID_HH
4 #define DUNE_DGF_MACROGRID_HH
9 #include <dune/common/parallel/mpihelper.hh>
17 class DuneGridFormatParser;
22 template<
class Gr
idType >
33 , MPICOMM_(MPICOMM) {}
39 , MPICOMM_(MPICOMM) {}
42 template <
class Gr
idType>
45 return Impl<GridType>::generate(*
this,filename_,MPICOMM_);
52 MPI_Comm_rank( MPICOMM, &rank );
60 MPI_Comm_size( MPICOMM, &size );
75 template<
class Gr
idType >
82 static_assert( GridType::dimension<0,
"DGF grid factory missing. Did you forget to add the corresponding dgf header or config.h?");
86 const char* filename_;