#include <sgrid.hh>
Here: the general template
Public Types | |
enum | |
know your own codimension | |
enum | |
know your own dimension | |
enum | |
Know dimension of the entity. | |
enum | |
know your own dimension of world | |
typedef ct | ctype |
define type used for coordinates in grid module | |
Public Member Functions | |
int | level () const |
level of this element | |
int | index () const |
index is unique and consecutive per level and codim used for access to degrees of freedom | |
const Geometry & | geometry () const |
geometry of this entity | |
PartitionType | partitionType () const |
only interior entities | |
SEntity (GridImp *_grid, int _l, int _id) | |
constructor | |
int | globalIndex () const |
global index is calculated from the index and grid size | |
void | make (GridImp *_grid, int _l, int _id) |
Reinitialization. | |
void | make (int _l, int _id) |
Reinitialization. | |
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 | |
GeometryType | type () const |
Return the name of the reference element. The type can be used to access the Dune::ReferenceElement. | |
Protected Attributes | |
GridImp * | grid |
grid containes mapper, geometry, etc. | |
int | l |
level where element is on | |
int | id |
my consecutive id | |
array< int, dim > | z |
my coordinate, number of even components = codim | |
MakeableGeometry | geo |
geometry, is only built on demand | |
bool | builtgeometry |
true if geometry has been constructed |