|
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.
typedef GridImp::ctype Dune::SEntityBase< codim, dim, GridImp, SEntity >::ctype [inherited] |
define type used for coordinates in grid module
Reimplemented from Dune::EntityDefaultImplementation< codim, dim, GridImp, SEntity >.
typedef GridImp::template Codim<cd>::EntityPointer Dune::EntityDefaultImplementation< cd, dim, GridImp, SEntity >::EntityPointer [inherited] |
The corresponding entity seed (for storage of entities)
Reimplemented in Dune::SEntity< 0, dim, GridImp >.
typedef GridImp::template Codim<cd>::EntitySeed Dune::EntityDefaultImplementation< cd, dim, GridImp, SEntity >::EntitySeed [inherited] |
The corresponding entity seed (for storage of entities)
typedef GridImp::template Codim<codim>::Geometry Dune::SEntityBase< codim, dim, GridImp, SEntity >::Geometry [inherited] |
typedef GridImp::PersistentIndexType Dune::SEntityBase< codim, dim, GridImp, SEntity >::PersistentIndexType [inherited] |
anonymous enum [inherited] |
know your own codimension
anonymous enum [inherited] |
know your own dimension
anonymous enum [inherited] |
Know dimension of the entity.
anonymous enum [inherited] |
know your own dimension of world
| Dune::SEntity< codim, dim, GridImp >::SEntity | ( | GridImp * | _grid, |
| int | _l, | ||
| int | _id | ||
| ) | [inline] |
constructor
| int Dune::SEntityBase< codim, dim, GridImp, SEntity >::compressedIndex | ( | ) | const [inline, inherited] |
consecutive, codim-wise, level-wise index
References Dune::SEntityBase< codim, dim, GridImp, EntityImp >::index.
Referenced by Dune::SEntity< 0, dim, GridImp >::subCompressedIndex().
| int Dune::SEntityBase< codim, dim, GridImp, SEntity >::compressedLeafIndex | ( | ) | const [inline, inherited] |
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().
| Geometry Dune::SEntityBase< codim, dim, GridImp, SEntity >::geometry | ( | ) | const [inline, inherited] |
| int Dune::SEntityBase< codim, dim, GridImp, SEntity >::globalIndex | ( | ) | const [inherited] |
global index is calculated from the index and grid size
| int Dune::SEntityBase< codim, dim, GridImp, SEntity >::level | ( | ) | const [inline, inherited] |
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().
| void Dune::SEntityBase< codim, dim, GridImp, SEntity >::make | ( | GridImp * | _grid, |
| int | _l, | ||
| int | _id | ||
| ) | [inherited] |
Reinitialization.
| void Dune::SEntityBase< codim, dim, GridImp, SEntity >::make | ( | int | _l, |
| int | _id | ||
| ) | [inherited] |
Reinitialization.
| void Dune::SEntityBase< codim, dim, GridImp, SEntity >::makegeometry | ( | ) | const [inherited] |
geometry of this entity
| PartitionType Dune::SEntityBase< codim, dim, GridImp, SEntity >::partitionType | ( | ) | const [inline, inherited] |
References Dune::InteriorEntity.
| PersistentIndexType Dune::SEntityBase< codim, dim, GridImp, SEntity >::persistentIndex | ( | ) | const [inline, inherited] |
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().
| SEntitySeed<codim, GridImp> Dune::SEntityBase< codim, dim, GridImp, SEntity >::seed | ( | ) | const [inline, inherited] |
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.
| GeometryType Dune::SEntityBase< codim, dim, GridImp, SEntity >::type | ( | ) | const [inline, inherited] |
return the element type identifier
Reimplemented from Dune::EntityDefaultImplementation< codim, dim, GridImp, SEntity >.
References Dune::cube.
friend class SEntityPointer< codim, GridImp > [friend] |
Reimplemented from Dune::SEntityBase< codim, dim, GridImp, SEntity >.
friend class SIntersectionIterator< GridImp > [friend] |
Reimplemented from Dune::SEntityBase< codim, dim, GridImp, SEntity >.
bool Dune::SEntityBase< codim, dim, GridImp, SEntity >::builtgeometry [mutable, protected, inherited] |
true if geometry has been constructed
GeometryImpl Dune::SEntityBase< codim, dim, GridImp, SEntity >::geo [mutable, protected, inherited] |
geometry, is only built on demand
GridImp* Dune::SEntityBase< codim, dim, GridImp, SEntity >::grid [protected, inherited] |
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().
int Dune::SEntityBase< codim, dim, GridImp, SEntity >::index [protected, inherited] |
my consecutive index
int Dune::SEntityBase< codim, dim, GridImp, SEntity >::l [protected, inherited] |
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().
array<int,dim> Dune::SEntityBase< codim, dim, GridImp, SEntity >::z [protected, inherited] |
my coordinate, number of even components = codim
1.7.6.1