dune-grid
2.2.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 | |
know your own dimension More... | |
enum | |
Know dimension of the entity. More... | |
enum | |
know your own dimension of world More... | |
typedef GridImp::template Codim< cd >::EntitySeed | EntitySeed |
The corresponding entity seed (for storage of entities) | |
typedef GridImp::template Codim< cd >::EntityPointer | EntityPointer |
The corresponding entity seed (for storage of entities) |
Public Member Functions | |
int | level () const |
level of this element | |
int | globalIndex () const |
global index is calculated from the index and grid size | |
SEntitySeed< codim, GridImp > | seed () const |
Return the entity seed which contains sufficient information to generate the entity again and uses as less memory as possible. | |
GeometryType | type () const |
return the element type identifier | |
Geometry | geometry () const |
geometry of this entity | |
PartitionType | partitionType () const |
SEntityBase (GridImp *_grid, int _l, int _index) | |
constructor | |
SEntityBase () | |
empty constructor | |
SEntityBase (const SEntityBase &other) | |
copy constructor | |
void | make (GridImp *_grid, int _l, int _id) |
Reinitialization. | |
void | make (int _l, int _id) |
Reinitialization. | |
void | makegeometry () const |
geometry of this entity | |
PersistentIndexType | persistentIndex () const |
globally unique, persistent index | |
int | compressedIndex () const |
consecutive, codim-wise, level-wise index | |
int | compressedLeafIndex () const |
consecutive, codim-wise, level-wise index |
Protected Attributes | |
GridImp * | grid |
grid containes mapper, geometry, etc. | |
int | l |
level where element is on | |
int | index |
my consecutive index | |
array< int, dim > | z |
my coordinate, number of even components = codim | |
GeometryImpl | geo |
geometry, is only built on demand | |
bool | builtgeometry |
true if geometry has been constructed |
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 |
know your own dimension
|
inherited |
Know dimension of the entity.
|
inherited |
know your own dimension of world
|
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.
Reimplemented in Dune::SEntity< 0, dim, GridImp >.
Referenced by Dune::SEntity< 0, dim, GridImp >::make().
void Dune::SEntityBase< codim, dim, GridImp, EntityImp >::make | ( | int | _l, |
int | _id | ||
) |
Reinitialization.
Reimplemented in Dune::SEntity< 0, dim, GridImp >.
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 less memory as possible.
|
inline |
return the element type identifier
Reimplemented from Dune::EntityDefaultImplementation< codim, dim, GridImp, EntityImp >.
|
friend |
|
friend |
|
mutableprotected |
true if geometry has been constructed
Referenced by Dune::SEntityBase< codim, dim, GridImp, SEntity >::geometry().
|
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().