dune-mmesh 1.4.1-git
Loading...
Searching...
No Matches
Dune::PersistentContainer< MMeshInterfaceGrid< MMesh >, T > Class Template Reference

#include <dune/mmesh/misc/persistentcontainer.hh>

Inheritance diagram for Dune::PersistentContainer< MMeshInterfaceGrid< MMesh >, T >:
Inheritance graph

Public Types

typedef Base::Grid Grid
 
typedef Base::Value Value
 
typedef Map::size_type Size
 
typedef IteratorWrapper< const Value, typename Map::const_iterator > ConstIterator
 
typedef IteratorWrapper< Value, typename Map::iterator > Iterator
 

Public Member Functions

 PersistentContainer (const Grid &grid, int codim, const Value &value=Value())
 
void resize (const Value &value=Value())
 
template<int codim>
void resize (const Value &value)
 
int codimension () const
 
void migrateLevel (int level, const Value &value, Map &data, std::integral_constant< bool, true >)
 
void migrateLevel (int level, const Value &value, Map &data, std::integral_constant< bool, false >)
 
const Valueoperator[] (const Entity &entity) const
 
Valueoperator[] (const Entity &entity)
 
const Valueoperator() (const Entity &entity, int subEntity) const
 
Valueoperator() (const Entity &entity, int subEntity)
 
Size size () const
 
void shrinkToFit ()
 
void fill (const Value &value)
 
void swap (This &other)
 
ConstIterator begin () const
 
Iterator begin ()
 
ConstIterator end () const
 
Iterator end ()
 

Protected Member Functions

const Gridgrid () const
 
void migrateLevel (int level, const Value &value, Map &data, std::integral_constant< bool, true >)
 
void migrateLevel (int level, const Value &value, Map &data, std::integral_constant< bool, false >)
 
const IdSet & idSet () const
 

Static Protected Member Functions

static void migrateEntry (const typename IdSet::IdType &id, const Value &value, Map &oldData, Map &newData)
 

Protected Attributes

const Gridgrid_
 
int codim_
 
const IdSet * idSet_
 
Map data_
 

Member Typedef Documentation

◆ Grid

template<class MMesh , class T >
typedef Base::Grid Dune::PersistentContainer< MMeshInterfaceGrid< MMesh >, T >::Grid

◆ Value

template<class MMesh , class T >
typedef Base::Value Dune::PersistentContainer< MMeshInterfaceGrid< MMesh >, T >::Value

Constructor & Destructor Documentation

◆ PersistentContainer()

template<class MMesh , class T >
Dune::PersistentContainer< MMeshInterfaceGrid< MMesh >, T >::PersistentContainer ( const Grid grid,
int  codim,
const Value value = Value() 
)
inline

Member Function Documentation

◆ codimension()

template<class MMesh , class T >
int Dune::PersistentContainerMap< class G, class IdSet, class Map >::codimension ( ) const

◆ migrateLevel() [1/2]

template<class MMesh , class T >
void Dune::PersistentContainerMap< class G, class IdSet, class Map >::migrateLevel ( int  level,
const Value value,
Map data,
std::integral_constant< bool, false >   
)

◆ migrateLevel() [2/2]

template<class MMesh , class T >
void Dune::PersistentContainerMap< class G, class IdSet, class Map >::migrateLevel ( int  level,
const Value value,
Map data,
std::integral_constant< bool, true >   
)

◆ resize() [1/2]

template<class MMesh , class T >
template<int codim>
void Dune::PersistentContainer< MMeshInterfaceGrid< MMesh >, T >::resize ( const Value value)
inline

◆ resize() [2/2]

template<class MMesh , class T >
void Dune::PersistentContainer< MMeshInterfaceGrid< MMesh >, T >::resize ( const Value value = Value())
inline

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