3 #ifndef DUNE_POLYHEDRALGRID_PERSISTENTCONTAINER_HH 4 #define DUNE_POLYHEDRALGRID_PERSISTENTCONTAINER_HH 6 #include <dune/common/version.hh> 8 #include <dune/grid/utility/persistentcontainer.hh> 9 #include <dune/grid/polyhedralgrid/grid.hh> 11 #include <dune/grid/utility/persistentcontainervector.hh> 17 template<
int dim,
int dimworld,
class Data >
19 :
public PersistentContainerVector< PolyhedralGrid< dim, dimworld >,
20 typename PolyhedralGrid< dim, dimworld >::Traits::LeafIndexSet,
25 typedef typename std::vector<Data>::allocator_type Allocator;
28 typedef PersistentContainerVector< GridType, typename GridType::Traits::LeafIndexSet, std::vector<Data> > BaseType;
34 : BaseType( grid.leafIndexSet(), codim, data, allocator )
Holds the implementation of the CpGrid as a pimple.
Definition: OpmParserIncludes.hpp:42
PersistentContainer(const GridType &grid, const int codim, const Data &data=Data(), const Allocator &allocator=Allocator())
Constructor filling the container with values using the default constructor Depending on the implemen...
Definition: persistentcontainer.hh:33
identical grid wrapper
Definition: declaration.hh:10