1 #ifndef DUNE_CPGRID_PERSISTENTCONTAINER_HH
2 #define DUNE_CPGRID_PERSISTENTCONTAINER_HH
4 #include <dune/common/version.hh>
6 #include <dune/grid/utility/persistentcontainer.hh>
7 #include <dune/grid/CpGrid.hpp>
9 #include <dune/grid/utility/persistentcontainervector.hh>
15 template<
class Data >
16 class PersistentContainer<
CpGrid, Data >
17 :
public PersistentContainerVector< CpGrid,
18 typename CpGrid::Traits::LeafIndexSet,
23 typedef typename std::vector<Data>::allocator_type Allocator;
26 typedef PersistentContainerVector< GridType, typename GridType::Traits::LeafIndexSet, std::vector<Data> > BaseType;
32 : BaseType( grid.leafIndexSet(), codim, data, allocator )
38 #endif // end DUNE_CPGRID_PERSISTENTCONTAINER_HH
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.hpp:31
[ provides Dune::Grid ]
Definition: CpGrid.hpp:213