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

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

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
typedef Grid GridType
typedef Value Data

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
void reserve ()
void clear ()
void update ()

Protected Attributes

PersistentContainer< HostGrid, T > hostContainer_

Member Typedef Documentation

template<class G, class T>
typedef PersistentContainer< HostGrid, T >::ConstIterator Dune::PersistentContainerWrapper< G, T >::ConstIterator
template<class G, class T>
typedef Value Dune::PersistentContainerWrapper< G, T >::Data
Deprecated:
"Use Value instead."
template<class G, class T>
typedef G Dune::PersistentContainerWrapper< G, T >::Grid
template<class G, class T>
typedef Grid Dune::PersistentContainerWrapper< G, T >::GridType
Deprecated:
"Use Grid instead."
template<class G, class T>
typedef PersistentContainer< HostGrid, T >::Iterator Dune::PersistentContainerWrapper< G, T >::Iterator
template<class G, class T>
typedef PersistentContainer< HostGrid, T >::Size Dune::PersistentContainerWrapper< G, T >::Size
template<class G, class T>
typedef PersistentContainer< HostGrid, T >::Value Dune::PersistentContainerWrapper< G, T >::Value

Constructor & Destructor Documentation

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

Member Function Documentation

template<class G, class T>
ConstIterator Dune::PersistentContainerWrapper< G, T >::begin ( ) const
inline
template<class G, class T>
Iterator Dune::PersistentContainerWrapper< G, T >::begin ( )
inline
template<class G, class T>
void Dune::PersistentContainerWrapper< G, T >::clear ( )
inline
Deprecated:
"Use resize() instead."
template<class G, class T>
int Dune::PersistentContainerWrapper< G, T >::codimension ( ) const
inline
template<class G, class T>
ConstIterator Dune::PersistentContainerWrapper< G, T >::end ( ) const
inline
template<class G, class T>
Iterator Dune::PersistentContainerWrapper< G, T >::end ( )
inline
template<class G, class T>
void Dune::PersistentContainerWrapper< G, T >::fill ( const Value value = Value())
inline
template<class G, class T>
template<class Entity >
const Value& Dune::PersistentContainerWrapper< G, T >::operator() ( const Entity entity,
int  subEntity 
) const
inline
template<class G, class T>
template<class Entity >
Value& Dune::PersistentContainerWrapper< G, T >::operator() ( const Entity entity,
int  subEntity 
)
inline
template<class G, class T>
template<class Entity >
const Value& Dune::PersistentContainerWrapper< G, T >::operator[] ( const Entity entity) const
inline
template<class G, class T>
template<class Entity >
Value& Dune::PersistentContainerWrapper< G, T >::operator[] ( const Entity entity)
inline
template<class G, class T>
void Dune::PersistentContainerWrapper< G, T >::reserve ( )
inline
Deprecated:
"Use resize() instead."
template<class G, class T>
void Dune::PersistentContainerWrapper< G, T >::resize ( const Value value = Value())
inline
template<class G, class T>
void Dune::PersistentContainerWrapper< G, T >::shrinkToFit ( )
inline
template<class G, class T>
Size Dune::PersistentContainerWrapper< G, T >::size ( ) const
inline
template<class G, class T>
void Dune::PersistentContainerWrapper< G, T >::swap ( This other)
inline
template<class G, class T>
void Dune::PersistentContainerWrapper< G, T >::update ( )
inline
Deprecated:
"Use resize() instead."

Member Data Documentation

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: