dune-grid 2.9.0
Public Types | Public Member Functions | Protected Attributes | List of all members
Dune::PersistentContainer< GeometryGrid< HostGrid, CoordFunction, Allocator >, T > Class Template Reference

#include <dune/grid/geometrygrid/persistentcontainer.hh>

Inheritance diagram for Dune::PersistentContainer< GeometryGrid< HostGrid, CoordFunction, Allocator >, T >:
Inheritance graph

Public Types

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

Public Member Functions

 PersistentContainer (const Grid &grid, int codim, const Value &value=Value())
 
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 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

typedef PersistentContainer<HostGrid,T>::ConstIterator Dune::PersistentContainerWrapper< GeometryGrid< HostGrid, CoordFunction, Allocator > , T >::ConstIterator
inherited

◆ Grid

template<class HostGrid , class CoordFunction , class Allocator , class T >
typedef Base::Grid Dune::PersistentContainer< GeometryGrid< HostGrid, CoordFunction, Allocator >, T >::Grid

◆ Iterator

typedef PersistentContainer<HostGrid,T>::Iterator Dune::PersistentContainerWrapper< GeometryGrid< HostGrid, CoordFunction, Allocator > , T >::Iterator
inherited

◆ Size

typedef PersistentContainer<HostGrid,T>::Size Dune::PersistentContainerWrapper< GeometryGrid< HostGrid, CoordFunction, Allocator > , T >::Size
inherited

◆ Value

template<class HostGrid , class CoordFunction , class Allocator , class T >
typedef Base::Value Dune::PersistentContainer< GeometryGrid< HostGrid, CoordFunction, Allocator >, T >::Value

Constructor & Destructor Documentation

◆ PersistentContainer()

template<class HostGrid , class CoordFunction , class Allocator , class T >
Dune::PersistentContainer< GeometryGrid< HostGrid, CoordFunction, Allocator >, T >::PersistentContainer ( const Grid grid,
int  codim,
const Value value = Value() 
)
inline

Member Function Documentation

◆ begin() [1/2]

Iterator Dune::PersistentContainerWrapper< GeometryGrid< HostGrid, CoordFunction, Allocator > , T >::begin ( )
inlineinherited

◆ begin() [2/2]

ConstIterator Dune::PersistentContainerWrapper< GeometryGrid< HostGrid, CoordFunction, Allocator > , T >::begin ( ) const
inlineinherited

◆ codimension()

int Dune::PersistentContainerWrapper< GeometryGrid< HostGrid, CoordFunction, Allocator > , T >::codimension ( ) const
inlineinherited

◆ end() [1/2]

Iterator Dune::PersistentContainerWrapper< GeometryGrid< HostGrid, CoordFunction, Allocator > , T >::end ( )
inlineinherited

◆ end() [2/2]

ConstIterator Dune::PersistentContainerWrapper< GeometryGrid< HostGrid, CoordFunction, Allocator > , T >::end ( ) const
inlineinherited

◆ fill()

void Dune::PersistentContainerWrapper< GeometryGrid< HostGrid, CoordFunction, Allocator > , T >::fill ( const Value value = Value())
inlineinherited

◆ operator()() [1/2]

Value & Dune::PersistentContainerWrapper< GeometryGrid< HostGrid, CoordFunction, Allocator > , T >::operator() ( const Entity entity,
int  subEntity 
)
inlineinherited

◆ operator()() [2/2]

const Value & Dune::PersistentContainerWrapper< GeometryGrid< HostGrid, CoordFunction, Allocator > , T >::operator() ( const Entity entity,
int  subEntity 
) const
inlineinherited

◆ operator[]() [1/2]

Value & Dune::PersistentContainerWrapper< GeometryGrid< HostGrid, CoordFunction, Allocator > , T >::operator[] ( const Entity entity)
inlineinherited

◆ operator[]() [2/2]

const Value & Dune::PersistentContainerWrapper< GeometryGrid< HostGrid, CoordFunction, Allocator > , T >::operator[] ( const Entity entity) const
inlineinherited

◆ resize()

void Dune::PersistentContainerWrapper< GeometryGrid< HostGrid, CoordFunction, Allocator > , T >::resize ( const Value value = Value())
inlineinherited

◆ shrinkToFit()

void Dune::PersistentContainerWrapper< GeometryGrid< HostGrid, CoordFunction, Allocator > , T >::shrinkToFit ( )
inlineinherited

◆ size()

Size Dune::PersistentContainerWrapper< GeometryGrid< HostGrid, CoordFunction, Allocator > , T >::size ( ) const
inlineinherited

◆ swap()

void Dune::PersistentContainerWrapper< GeometryGrid< HostGrid, CoordFunction, Allocator > , T >::swap ( This other)
inlineinherited

Member Data Documentation

◆ hostContainer_

PersistentContainer< HostGrid, T > Dune::PersistentContainerWrapper< GeometryGrid< HostGrid, CoordFunction, Allocator > , T >::hostContainer_
protectedinherited

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