3 #ifndef DUNE_POLYHEDRALGRID_DGFPARSER_HH 4 #define DUNE_POLYHEDRALGRID_DGFPARSER_HH 6 #include <dune/common/typetraits.hh> 8 #include <dune/grid/io/file/dgfparser/dgfparser.hh> 10 #include <dune/grid/polyhedralgrid/grid.hh> 15 #warning TODO: non-trivial DGFGridFactory 20 template<
int dim,
int dimworld >
25 const static int dimension = Grid::dimension;
26 typedef MPIHelper::MPICommunicator MPICommunicator;
27 typedef typename Grid::template Codim<0>::Entity Element;
28 typedef typename Grid::template Codim<dimension>::Entity Vertex;
30 explicit DGFGridFactory ( std::istream &input,
31 MPICommunicator comm = MPIHelper::getCommunicator() )
36 explicit DGFGridFactory (
const std::string &filename,
37 MPICommunicator comm = MPIHelper::getCommunicator() )
47 template<
class Intersection >
48 bool wasInserted (
const Intersection &intersection )
const 53 template<
class Intersection >
54 int boundaryId (
const Intersection &intersection )
const 59 bool haveBoundaryParameters ()
const 65 int numParameters ()
const 70 template<
class Intersection >
71 const typename DGFBoundaryParameter::type &
72 boundaryParameter (
const Intersection &intersection )
const 74 return DGFBoundaryParameter::defaultValue();
77 template<
class Entity >
78 std::vector< double > ¶meter (
const Entity &entity )
80 static std::vector<double> dummy;
93 template<
int dim,
int dimworld >
96 static int refineStepsForHalf ()
101 static double refineWeight ()
109 #endif // #ifndef DUNE_POLYHEDRALGRID_DGFPARSER_HH Holds the implementation of the CpGrid as a pimple.
Definition: OpmParserIncludes.hpp:42
identical grid wrapper
Definition: declaration.hh:10