dune-grid  2.4.1-rc2
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Dune::PersistentContainer< AlbertaGrid< dim, dimworld >, T > Class Template Reference

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

Inheritance diagram for Dune::PersistentContainer< AlbertaGrid< dim, dimworld >, T >:
Inheritance graph

Public Types

typedef Base::Grid Grid
 
typedef Base::Value Value
 
typedef std::vector< T >::size_type Size
 
typedef std::vector< T >::const_iterator ConstIterator
 
typedef std::vector< T >::iterator Iterator
 
typedef std::vector< T >::allocator_type Allocator
 

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)
 
void swap (This &other)
 
ConstIterator begin () const
 
Iterator begin ()
 
ConstIterator end () const
 
Iterator end ()
 
int codimension () const
 

Protected Member Functions

const AlbertaGrid< dim, dimworld >::HierarchicIndexSet & indexSet () const
 

Protected Attributes

int codim_
 
const AlbertaGrid< dim, dimworld >::HierarchicIndexSet * indexSet_
 
std::vector< T > data_
 

Member Typedef Documentation

typedef std::vector< T > ::allocator_type Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld > , AlbertaGrid< dim, dimworld >::HierarchicIndexSet , std::vector< T > >::Allocator
inherited
typedef std::vector< T > ::const_iterator Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld > , AlbertaGrid< dim, dimworld >::HierarchicIndexSet , std::vector< T > >::ConstIterator
inherited
template<int dim, int dimworld, class T >
typedef Base::Grid Dune::PersistentContainer< AlbertaGrid< dim, dimworld >, T >::Grid
typedef std::vector< T > ::iterator Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld > , AlbertaGrid< dim, dimworld >::HierarchicIndexSet , std::vector< T > >::Iterator
inherited
typedef std::vector< T > ::size_type Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld > , AlbertaGrid< dim, dimworld >::HierarchicIndexSet , std::vector< T > >::Size
inherited
template<int dim, int dimworld, class T >
typedef Base::Value Dune::PersistentContainer< AlbertaGrid< dim, dimworld >, T >::Value

Constructor & Destructor Documentation

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

Member Function Documentation

ConstIterator Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld > , AlbertaGrid< dim, dimworld >::HierarchicIndexSet , std::vector< T > >::begin ( ) const
inlineinherited
Iterator Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld > , AlbertaGrid< dim, dimworld >::HierarchicIndexSet , std::vector< T > >::begin ( )
inlineinherited
int Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld > , AlbertaGrid< dim, dimworld >::HierarchicIndexSet , std::vector< T > >::codimension ( ) const
inlineinherited
ConstIterator Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld > , AlbertaGrid< dim, dimworld >::HierarchicIndexSet , std::vector< T > >::end ( ) const
inlineinherited
Iterator Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld > , AlbertaGrid< dim, dimworld >::HierarchicIndexSet , std::vector< T > >::end ( )
inlineinherited
void Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld > , AlbertaGrid< dim, dimworld >::HierarchicIndexSet , std::vector< T > >::fill ( const Value value)
inlineinherited
const AlbertaGrid< dim, dimworld >::HierarchicIndexSet & Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld > , AlbertaGrid< dim, dimworld >::HierarchicIndexSet , std::vector< T > >::indexSet ( ) const
inlineprotectedinherited
const Value& Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld > , AlbertaGrid< dim, dimworld >::HierarchicIndexSet , std::vector< T > >::operator() ( const Entity entity,
int  subEntity 
) const
inlineinherited
Value& Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld > , AlbertaGrid< dim, dimworld >::HierarchicIndexSet , std::vector< T > >::operator() ( const Entity entity,
int  subEntity 
)
inlineinherited
const Value& Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld > , AlbertaGrid< dim, dimworld >::HierarchicIndexSet , std::vector< T > >::operator[] ( const Entity entity) const
inlineinherited
Value& Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld > , AlbertaGrid< dim, dimworld >::HierarchicIndexSet , std::vector< T > >::operator[] ( const Entity entity)
inlineinherited
void Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld > , AlbertaGrid< dim, dimworld >::HierarchicIndexSet , std::vector< T > >::resize ( const Value value = Value())
inlineinherited
void Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld > , AlbertaGrid< dim, dimworld >::HierarchicIndexSet , std::vector< T > >::shrinkToFit ( )
inlineinherited
Size Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld > , AlbertaGrid< dim, dimworld >::HierarchicIndexSet , std::vector< T > >::size ( ) const
inlineinherited
void Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld > , AlbertaGrid< dim, dimworld >::HierarchicIndexSet , std::vector< T > >::swap ( This other)
inlineinherited

Member Data Documentation

int Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld > , AlbertaGrid< dim, dimworld >::HierarchicIndexSet , std::vector< T > >::codim_
protectedinherited
std::vector< T > Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld > , AlbertaGrid< dim, dimworld >::HierarchicIndexSet , std::vector< T > >::data_
protectedinherited
const AlbertaGrid< dim, dimworld >::HierarchicIndexSet * Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld > , AlbertaGrid< dim, dimworld >::HierarchicIndexSet , std::vector< T > >::indexSet_
protectedinherited

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