Dune Core Modules (2.8.0)
Dune::AlbertaGridEntity< codim, dim, Grid > Class Template Reference
#include <dune/grid/albertagrid/entity.hh>
Public Types | |
enum | |
know your own codimension | |
enum | |
Dimension of the grid. | |
enum | |
Know dimension of the entity. | |
Public Member Functions | |
AlbertaGridEntity (const Grid &grid) | |
constructor | |
AlbertaGridEntity (const Grid &grid, const ElementInfo &elementInfo, int subEntity) | |
contructor | |
int | level () const |
level of this element | |
PartitionType | partitionType () const |
return partition type of this entity | |
Geometry | geometry () const |
geometry of this entity | |
GeometryType | type () const |
type of geometry of this entity | |
EntitySeed | seed () const |
obtain entity seed | |
unsigned int | subEntities (unsigned int cd) const |
Obtain the number of subentities of a given codimension. More... | |
ALBERTA EL_INFO * | getElInfo () const |
needed for the LevelIterator and LeafIterator | |
bool | equals (const This &other) const |
equality of entities | |
const Grid & | grid () const |
obtain a reference to the grid | |
int | subEntity () const |
obtain number of the subentity within the element (in ALBERTA numbering) | |
int | twist () const |
obtain twist | |
Detailed Description
template<int codim, int dim, class Grid>
class Dune::AlbertaGridEntity< codim, dim, Grid >
class Dune::AlbertaGridEntity< codim, dim, Grid >
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.
Member Function Documentation
◆ subEntities()
template<int codim, int dim, class Grid >
|
inline |
Obtain the number of subentities of a given codimension.
That number is ((mydimension+1) over (dim-cd+1))
- Parameters
-
cd codimension
- Returns
- the number of subentities of the given codimension
References Dune::binomial().
The documentation for this class was generated from the following files:
- dune/grid/albertagrid/entity.hh
- dune/grid/albertagrid/entity.cc
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 13, 23:29, 2024)