Dune Core Modules (2.9.1)

Dune::AlbertaGridEntity< codim, dim, Grid > Class Template Reference

#include <dune/grid/albertagrid/entity.hh>

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 Gridgrid () 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 >

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 >
unsigned int Dune::AlbertaGridEntity< codim, dim, Grid >::subEntities ( unsigned int  cd) const
inline

Obtain the number of subentities of a given codimension.

That number is ((mydimension+1) over (dim-cd+1))

Parameters
cdcodimension
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
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 21, 23:30, 2024)