dune-grid
2.2.0
|
#include <dune/grid/sgrid.hh>
Public Types | |
typedef GridImp::ctype | ctype |
define type used for coordinates in grid module | |
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 | |
SEntity (GridImp *_grid, int _l, int _id) | |
constructor | |
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 |
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 > |
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 |
define type used for coordinates in grid module
Reimplemented from Dune::EntityDefaultImplementation< codim, dim, GridImp, SEntity >.
|
inherited |
The corresponding entity seed (for storage of entities)
Reimplemented in Dune::SEntity< 0, dim, GridImp >.
|
inherited |
The corresponding entity seed (for storage of entities)
|
inherited |
|
inherited |
|
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
|
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 |
|
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 less memory as possible.
References Dune::SEntityBase< codim, dim, GridImp, EntityImp >::index, and Dune::SEntityBase< codim, dim, GridImp, EntityImp >::l.
|
inlineinherited |
return the element type identifier
Reimplemented from Dune::EntityDefaultImplementation< codim, dim, GridImp, SEntity >.
References Dune::cube.
|
friend |
Reimplemented from Dune::SEntityBase< codim, dim, GridImp, SEntity >.
|
friend |
Reimplemented from Dune::SEntityBase< codim, dim, GridImp, SEntity >.
|
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