dune-grid 2.9.0
Public Types | Public Member Functions | Protected Attributes | List of all members
Dune::PersistentContainerWrapper< G, T > Class Template Reference

#include <dune/grid/utility/persistentcontainerwrapper.hh>

Inheritance diagram for Dune::PersistentContainerWrapper< G, T >:
Inheritance graph

Public Types

typedef G Grid
 
typedef PersistentContainer< HostGrid, T >::Value Value
 
typedef PersistentContainer< HostGrid, T >::Size Size
 
typedef PersistentContainer< HostGrid, T >::Iterator Iterator
 
typedef PersistentContainer< HostGrid, T >::ConstIterator ConstIterator
 

Public Member Functions

 PersistentContainerWrapper (const Grid &grid, int codim, const Value &value=Value())
 
template<class Entity >
const Valueoperator[] (const Entity &entity) const
 
template<class Entity >
Valueoperator[] (const Entity &entity)
 
template<class Entity >
const Valueoperator() (const Entity &entity, int subEntity) const
 
template<class Entity >
Valueoperator() (const Entity &entity, int subEntity)
 
Size size () const
 
void resize (const Value &value=Value())
 
void shrinkToFit ()
 
void fill (const Value &value=Value())
 
void swap (This &other)
 
ConstIterator begin () const
 
Iterator begin ()
 
ConstIterator end () const
 
Iterator end ()
 
int codimension () const
 

Protected Attributes

PersistentContainer< HostGrid, T > hostContainer_
 

Member Typedef Documentation

◆ ConstIterator

template<class G , class T >
typedef PersistentContainer<HostGrid,T>::ConstIterator Dune::PersistentContainerWrapper< G, T >::ConstIterator

◆ Grid

template<class G , class T >
typedef G Dune::PersistentContainerWrapper< G, T >::Grid

◆ Iterator

template<class G , class T >
typedef PersistentContainer<HostGrid,T>::Iterator Dune::PersistentContainerWrapper< G, T >::Iterator

◆ Size

template<class G , class T >
typedef PersistentContainer<HostGrid,T>::Size Dune::PersistentContainerWrapper< G, T >::Size

◆ Value

template<class G , class T >
typedef PersistentContainer<HostGrid,T>::Value Dune::PersistentContainerWrapper< G, T >::Value

Constructor & Destructor Documentation

◆ PersistentContainerWrapper()

template<class G , class T >
Dune::PersistentContainerWrapper< G, T >::PersistentContainerWrapper ( const Grid grid,
int  codim,
const Value value = Value() 
)
inline

Member Function Documentation

◆ begin() [1/2]

template<class G , class T >
Iterator Dune::PersistentContainerWrapper< G, T >::begin ( )
inline

◆ begin() [2/2]

template<class G , class T >
ConstIterator Dune::PersistentContainerWrapper< G, T >::begin ( ) const
inline

◆ codimension()

template<class G , class T >
int Dune::PersistentContainerWrapper< G, T >::codimension ( ) const
inline

◆ end() [1/2]

template<class G , class T >
Iterator Dune::PersistentContainerWrapper< G, T >::end ( )
inline

◆ end() [2/2]

template<class G , class T >
ConstIterator Dune::PersistentContainerWrapper< G, T >::end ( ) const
inline

◆ fill()

template<class G , class T >
void Dune::PersistentContainerWrapper< G, T >::fill ( const Value value = Value())
inline

◆ operator()() [1/2]

template<class G , class T >
template<class Entity >
Value & Dune::PersistentContainerWrapper< G, T >::operator() ( const Entity entity,
int  subEntity 
)
inline

◆ operator()() [2/2]

template<class G , class T >
template<class Entity >
const Value & Dune::PersistentContainerWrapper< G, T >::operator() ( const Entity entity,
int  subEntity 
) const
inline

◆ operator[]() [1/2]

template<class G , class T >
template<class Entity >
Value & Dune::PersistentContainerWrapper< G, T >::operator[] ( const Entity entity)
inline

◆ operator[]() [2/2]

template<class G , class T >
template<class Entity >
const Value & Dune::PersistentContainerWrapper< G, T >::operator[] ( const Entity entity) const
inline

◆ resize()

template<class G , class T >
void Dune::PersistentContainerWrapper< G, T >::resize ( const Value value = Value())
inline

◆ shrinkToFit()

template<class G , class T >
void Dune::PersistentContainerWrapper< G, T >::shrinkToFit ( )
inline

◆ size()

template<class G , class T >
Size Dune::PersistentContainerWrapper< G, T >::size ( ) const
inline

◆ swap()

template<class G , class T >
void Dune::PersistentContainerWrapper< G, T >::swap ( This other)
inline

Member Data Documentation

◆ hostContainer_

template<class G , class T >
PersistentContainer< HostGrid, T > Dune::PersistentContainerWrapper< G, T >::hostContainer_
protected

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