dune-grid
2.4
|
#include <dune/grid/sgrid.hh>
Public Types | |
typedef GridImp::ctype | ctype |
typedef GridImp::template Codim< codim >::Geometry | Geometry |
typedef GridImp::PersistentIndexType | PersistentIndexType |
enum | |
know your own codimension More... | |
enum | |
Dimension of the grid. More... | |
enum | |
Know dimension of the entity. More... | |
typedef GridImp::template Codim< cd >::EntitySeed | EntitySeed |
The corresponding entity seed (for storage of entities) More... | |
typedef GridImp::template Codim< cd >::EntityPointer | EntityPointer |
The corresponding entity seed (for storage of entities) More... | |
Public Member Functions | |
SEntity (GridImp *_grid, int _l, int _id) | |
constructor More... | |
SEntity () | |
int | level () const |
level of this element More... | |
bool | equals (const SEntityBase &other) const |
int | globalIndex () const |
global index is calculated from the index and grid size More... | |
SEntitySeed< codim, GridImp > | seed () const |
Return the entity seed which contains sufficient information to generate the entity again and uses as little memory as possible. More... | |
GeometryType | type () const |
return the element type identifier More... | |
Geometry | geometry () const |
geometry of this entity More... | |
PartitionType | partitionType () const |
void | make (GridImp *_grid, int _l, int _id) |
Reinitialization. More... | |
void | make (int _l, int _id) |
Reinitialization. More... | |
void | makegeometry () const |
geometry of this entity More... | |
PersistentIndexType | persistentIndex () const |
globally unique, persistent index More... | |
int | compressedIndex () const |
consecutive, codim-wise, level-wise index More... | |
int | compressedLeafIndex () const |
consecutive, codim-wise, level-wise index More... | |
int | subCompressedIndex (int cd, int i) const |
subentity compressed index (not available here) More... | |
int | subCompressedLeafIndex (int cd, int i) const |
subentity compressed leaf index (not available here) More... | |
Protected Attributes | |
GridImp * | grid |
grid containes mapper, geometry, etc. More... | |
int | l |
level where element is on More... | |
int | index |
my consecutive index More... | |
array< int, dim > | z |
my coordinate, number of even components = codim More... | |
GeometryImpl | geo |
geometry, is only built on demand More... | |
bool | builtgeometry |
true if geometry has been constructed More... | |
A Grid is a container of grid entities. An entity is parametrized by the codimension. An entity of codimension c in dimension d is a d-c dimensional object.
|
inherited |
|
inherited |
The corresponding entity seed (for storage of entities)
|
inherited |
The corresponding entity seed (for storage of entities)
|
inherited |
|
inherited |
|
inherited |
know your own codimension
|
inherited |
Dimension of the grid.
|
inherited |
Know dimension of the entity.
|
inline |
constructor
|
inline |
|
inlineinherited |
consecutive, codim-wise, level-wise index
References Dune::SEntityBase< codim, dim, GridImp, EntityImp >::index.
Referenced by Dune::SEntity< 0, dim, GridImp >::subCompressedIndex().
|
inlineinherited |
consecutive, codim-wise, level-wise index
References Dune::SEntityBase< codim, dim, GridImp, EntityImp >::compressedIndex(), Dune::SEntityBase< codim, dim, GridImp, EntityImp >::grid, Dune::SEntityBase< codim, dim, GridImp, EntityImp >::l, and Dune::SEntityBase< codim, dim, GridImp, EntityImp >::z.
Referenced by Dune::SEntity< 0, dim, GridImp >::subCompressedLeafIndex().
|
inlineinherited |
|
inlineinherited |
|
inherited |
global index is calculated from the index and grid size
|
inlineinherited |
level of this element
References Dune::SEntityBase< codim, dim, GridImp, EntityImp >::l.
Referenced by Dune::SEntity< 0, dim, GridImp >::hasFather(), and Dune::SEntity< 0, dim, GridImp >::isLeaf().
|
inherited |
Reinitialization.
|
inherited |
Reinitialization.
|
inherited |
geometry of this entity
|
inlineinherited |
References Dune::InteriorEntity.
|
inlineinherited |
globally unique, persistent index
References Dune::SEntityBase< codim, dim, GridImp, EntityImp >::grid, Dune::SEntityBase< codim, dim, GridImp, EntityImp >::l, and Dune::SEntityBase< codim, dim, GridImp, EntityImp >::z.
Referenced by Dune::SEntity< 0, dim, GridImp >::subPersistentIndex().
|
inlineinherited |
Return the entity seed which contains sufficient information to generate the entity again and uses as little memory as possible.
References Dune::SEntityBase< codim, dim, GridImp, EntityImp >::index, and Dune::SEntityBase< codim, dim, GridImp, EntityImp >::l.
|
inlineinherited |
subentity compressed index (not available here)
|
inlineinherited |
subentity compressed leaf index (not available here)
|
inlineinherited |
return the element type identifier
References Dune::cube.
|
mutableprotectedinherited |
true if geometry has been constructed
|
mutableprotectedinherited |
geometry, is only built on demand
|
protectedinherited |
grid containes mapper, geometry, etc.
Referenced by Dune::SEntity< 0, dim, GridImp >::isLeaf(), Dune::SEntity< 0, dim, GridImp >::subCompressedIndex(), Dune::SEntity< 0, dim, GridImp >::subCompressedLeafIndex(), and Dune::SEntity< 0, dim, GridImp >::subPersistentIndex().
|
protectedinherited |
my consecutive index
|
protectedinherited |
level where element is on
Referenced by Dune::SEntity< 0, dim, GridImp >::subCompressedIndex(), Dune::SEntity< 0, dim, GridImp >::subCompressedLeafIndex(), and Dune::SEntity< 0, dim, GridImp >::subPersistentIndex().
|
protectedinherited |
my coordinate, number of even components = codim