Dune::PersistentContainer< CpGrid, Data > Class Template Reference

#include <PersistentContainer.hpp>

Inheritance diagram for Dune::PersistentContainer< CpGrid, Data >:
Inheritance graph

Public Types

typedef CpGrid GridType
 
typedef std::vector< Data >::allocator_type Allocator
 

Public Member Functions

 PersistentContainer (const GridType &grid, const int codim, const Data &data=Data(), const Allocator &allocator=Allocator())
 

Member Typedef Documentation

◆ Allocator

template<class Data >
typedef std::vector<Data>::allocator_type Dune::PersistentContainer< CpGrid, Data >::Allocator

◆ GridType

template<class Data >
typedef CpGrid Dune::PersistentContainer< CpGrid, Data >::GridType

Constructor & Destructor Documentation

◆ PersistentContainer()

template<class Data >
Dune::PersistentContainer< CpGrid, Data >::PersistentContainer ( const GridType grid,
const int  codim,
const Data &  data = Data(),
const Allocator allocator = Allocator() 
)
inline

Constructor filling the container with values using the default constructor Depending on the implementation this could be achieved without allocating memory


The documentation for this class was generated from the following file: