Dune Core Modules (2.4.1)

Dune::SEntity< codim, dim, GridImp > Class Template Reference

#include <dune/grid/sgrid.hh>

Public Types

enum  
 know your own codimension
 
enum  
 Dimension of the grid.
 
enum  
 Know dimension of the entity.
 
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 little memory as possible.
 
GeometryType type () const
 return the element type identifier
 
Geometry geometry () const
 geometry of this entity
 
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
 
int subCompressedIndex (int cd, int i) const
 subentity compressed index (not available here)
 
int subCompressedLeafIndex (int cd, int i) const
 subentity compressed leaf index (not available here)
 

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
 

Detailed Description

template<int codim, int dim, class GridImp>
class Dune::SEntity< codim, 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.


The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 21, 23:30, 2024)