Dune Core Modules (2.4.2)

Dune::SEntityBase< codim, dim, GridImp, EntityImp > 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

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
 
 SEntityBase (GridImp *_grid, int _l, int _index)
 constructor
 
 SEntityBase ()
 empty constructor
 
 SEntityBase (const SEntityBase &other)
 copy constructor
 
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, template< int, int, class > class EntityImp>
class Dune::SEntityBase< codim, dim, GridImp, EntityImp >

SEntityBase contains the part of SEntity that can be defined without specialization. This is the base for all SEntity classes with dim>0.


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.80.0 (May 1, 22:29, 2024)