dune-grid
2.3.1
|
#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 | |
int | level () const |
level of this element More... | |
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 |
SEntityBase (GridImp *_grid, int _l, int _index) | |
constructor More... | |
SEntityBase () | |
empty constructor More... | |
SEntityBase (const SEntityBase &other) | |
copy constructor More... | |
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... | |
Static Public Attributes | |
static const int | dimensionworld |
know your own dimension of world 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... | |
Friends | |
class | SEntityPointer< codim, GridImp > |
class | SIntersectionIterator< GridImp > |
SEntityBase contains the part of SEntity that can be defined without specialization. This is the base for all SEntity classes with dim>0.
typedef GridImp::ctype Dune::SEntityBase< codim, dim, GridImp, EntityImp >::ctype |
|
inherited |
The corresponding entity seed (for storage of entities)
|
inherited |
The corresponding entity seed (for storage of entities)
typedef GridImp::template Codim<codim>::Geometry Dune::SEntityBase< codim, dim, GridImp, EntityImp >::Geometry |
typedef GridImp::PersistentIndexType Dune::SEntityBase< codim, dim, GridImp, EntityImp >::PersistentIndexType |
|
inherited |
know your own codimension
|
inherited |
Dimension of the grid.
|
inherited |
Know dimension of the entity.
|
inline |
constructor
|
inline |
empty constructor
|
inline |
copy constructor
|
inline |
consecutive, codim-wise, level-wise index
Referenced by Dune::SEntityBase< codim, dim, GridImp, SEntity >::compressedLeafIndex().
|
inline |
consecutive, codim-wise, level-wise index
|
inline |
geometry of this entity
int Dune::SEntityBase< codim, dim, GridImp, EntityImp >::globalIndex | ( | ) | const |
global index is calculated from the index and grid size
|
inline |
level of this element
void Dune::SEntityBase< codim, dim, GridImp, EntityImp >::make | ( | GridImp * | _grid, |
int | _l, | ||
int | _id | ||
) |
Reinitialization.
Referenced by Dune::SEntity< 0, dim, GridImp >::make().
void Dune::SEntityBase< codim, dim, GridImp, EntityImp >::make | ( | int | _l, |
int | _id | ||
) |
Reinitialization.
void Dune::SEntityBase< codim, dim, GridImp, EntityImp >::makegeometry | ( | ) | const |
geometry of this entity
Referenced by Dune::SEntityBase< codim, dim, GridImp, SEntity >::geometry().
|
inline |
|
inline |
globally unique, persistent index
|
inline |
Return the entity seed which contains sufficient information to generate the entity again and uses as little memory as possible.
|
inline |
subentity compressed index (not available here)
|
inline |
subentity compressed leaf index (not available here)
|
inline |
return the element type identifier
|
friend |
|
friend |
|
mutableprotected |
true if geometry has been constructed
Referenced by Dune::SEntityBase< codim, dim, GridImp, SEntity >::geometry().
|
staticinherited |
know your own dimension of world
|
mutableprotected |
geometry, is only built on demand
Referenced by Dune::SEntityBase< codim, dim, GridImp, SEntity >::geometry().
|
protected |
grid containes mapper, geometry, etc.
Referenced by Dune::SEntityBase< codim, dim, GridImp, SEntity >::compressedLeafIndex(), and Dune::SEntityBase< codim, dim, GridImp, SEntity >::persistentIndex().
|
protected |
my consecutive index
Referenced by Dune::SEntityBase< codim, dim, GridImp, SEntity >::compressedIndex(), and Dune::SEntityBase< codim, dim, GridImp, SEntity >::seed().
|
protected |
level where element is on
Referenced by Dune::SEntityBase< codim, dim, GridImp, SEntity >::compressedLeafIndex(), Dune::SEntityBase< codim, dim, GridImp, SEntity >::level(), Dune::SEntityBase< codim, dim, GridImp, SEntity >::persistentIndex(), and Dune::SEntityBase< codim, dim, GridImp, SEntity >::seed().
|
protected |
my coordinate, number of even components = codim
Referenced by Dune::SEntityBase< codim, dim, GridImp, SEntity >::compressedLeafIndex(), and Dune::SEntityBase< codim, dim, GridImp, SEntity >::persistentIndex().