Dune::SEntity< dim, dim, GridImp > Class Template Reference
#include <sgrid.hh>
Inheritance diagram for Dune::SEntity< dim, dim, GridImp >:

Detailed Description
template<int dim, class GridImp>
class Dune::SEntity< dim, dim, 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.Entities of codimension=dimension ("vertices") are defined through template specialization. Note that this specialization has an extended interface compared to the general case
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 | |
PartitionType | partitionType () const |
only interior entities | |
const Geometry & | geometry () const |
geometry of this entity | |
SEntity (GridImp *_grid, int _l, int _id) | |
constructor | |
void | make (int _l, int _id) |
Reinitialization. | |
int | globalIndex () const |
global index is calculated from the index and grid size | |
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 | |
FixedArray< 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 |
The documentation for this class was generated from the following files:
- sgrid.hh
- sgrid.cc