dune-grid 2.10
Loading...
Searching...
No Matches
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

◆ Allocator

std::vector< T >::allocator_type Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< T > >::Allocator
inherited

◆ ConstIterator

std::vector< T >::const_iterator Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< T > >::ConstIterator
inherited

◆ Grid

template<int dim, int dimworld, class T >
Base::Grid Dune::PersistentContainer< AlbertaGrid< dim, dimworld >, T >::Grid

◆ Iterator

std::vector< T >::iterator Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< T > >::Iterator
inherited

◆ Size

std::vector< T >::size_type Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< T > >::Size
inherited

◆ Value

template<int dim, int dimworld, class T >
Base::Value Dune::PersistentContainer< AlbertaGrid< dim, dimworld >, T >::Value

Constructor & Destructor Documentation

◆ PersistentContainer()

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

◆ begin() [1/2]

Iterator Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< T > >::begin ( )
inlineinherited

◆ begin() [2/2]

ConstIterator Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< T > >::begin ( ) const
inlineinherited

◆ codimension()

int Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< T > >::codimension ( ) const
inlineinherited

◆ end() [1/2]

Iterator Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< T > >::end ( )
inlineinherited

◆ end() [2/2]

ConstIterator Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< T > >::end ( ) const
inlineinherited

◆ fill()

void Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< T > >::fill ( const Value & value)
inlineinherited

◆ indexSet()

const AlbertaGrid< dim, dimworld >::HierarchicIndexSet & Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< T > >::indexSet ( ) const
inlineprotectedinherited

◆ operator()() [1/2]

Value & Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< T > >::operator() ( const Entity & entity,
int subEntity )
inlineinherited

◆ operator()() [2/2]

const Value & Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< T > >::operator() ( const Entity & entity,
int subEntity ) const
inlineinherited

◆ operator[]() [1/2]

Value & Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< T > >::operator[] ( const Entity & entity)
inlineinherited

◆ operator[]() [2/2]

const Value & Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< T > >::operator[] ( const Entity & entity) const
inlineinherited

◆ resize()

void Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< T > >::resize ( const Value & value = Value())
inlineinherited

◆ shrinkToFit()

void Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< T > >::shrinkToFit ( )
inlineinherited

◆ size()

Size Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< T > >::size ( ) const
inlineinherited

◆ swap()

void Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< T > >::swap ( This & other)
inlineinherited

Member Data Documentation

◆ codim_

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

◆ data_

std::vector< T > Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< T > >::data_
protectedinherited

◆ indexSet_

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: