dune-grid
2.4.1
|
Specialization of the PersistentContainer for YaspGrid. More...
#include <dune/grid/yaspgrid/yaspgridpersistentcontainer.hh>
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 Value & | operator[] (const Entity &entity) const |
Value & | operator[] (const Entity &entity) |
const Value & | operator() (const Entity &entity, int subEntity) const |
Value & | operator() (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 YaspPersistentContainerIndex < const YaspGrid< dim, CoordCont > > & | indexSet () const |
Protected Attributes | |
int | codim_ |
const YaspPersistentContainerIndex < const YaspGrid< dim, CoordCont > > * | indexSet_ |
std::vector< T > | data_ |
Private Types | |
typedef std::size_t | IndexType |
Private Member Functions | |
IndexType | index (const Entity &e) const |
IndexType | subIndex (const Entity &e, int i, unsigned int codim) const |
std::size_t | size (int codim) const |
Specialization of the PersistentContainer for YaspGrid.
|
inherited |
|
inherited |
typedef Base::Grid Dune::PersistentContainer< YaspGrid< dim, CoordCont >, T >::Grid |
|
inherited |
|
inherited |
typedef Base::Value Dune::PersistentContainer< YaspGrid< dim, CoordCont >, T >::Value |
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineprotectedinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
References Dune::Entity< cd, dim, GridImp, EntityImp >::codimension, Dune::PersistentContainerVector< G, IndexSet, Vector >::codimension(), Dune::PersistentContainerVector< G, IndexSet, Vector >::data_, Dune::IndexSet< GridImp, IndexSetImp, IndexTypeImp, TypesImp >::index(), and Dune::PersistentContainerVector< G, IndexSet, Vector >::indexSet().
|
inlineinherited |
References Dune::Entity< cd, dim, GridImp, EntityImp >::codimension, Dune::PersistentContainerVector< G, IndexSet, Vector >::codimension(), Dune::PersistentContainerVector< G, IndexSet, Vector >::data_, Dune::IndexSet< GridImp, IndexSetImp, IndexTypeImp, TypesImp >::index(), and Dune::PersistentContainerVector< G, IndexSet, Vector >::indexSet().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |