Dune Core Modules (2.11.0)

Dune::FoamGridEntity< codim, dimgrid, GridImp > Class Template Reference

The implementation of entities in a FoamGrid. More...

#include <dune/foamgrid/foamgrid/foamgridentity.hh>

Public Types

typedef GridImp::template Codim< codim >::EntitySeed EntitySeed
 The type of the EntitySeed interface class.
 

Public Member Functions

 FoamGridEntity (const FoamGridEntityImp< dimgrid-codim, dimgrid, dimworld, ctype > *target)
 Constructor for an entity in a given grid level.
 
 FoamGridEntity (const FoamGridEntity &original)
 Copy constructor.
 
 FoamGridEntity ()
 Default constructor.
 
FoamGridEntityoperator= (const FoamGridEntity &original)
 
int level () const
 level of this element
 
PartitionType partitionType () const
 The partition type for parallel computing.
 
template<int cc>
int count () const
 
Geometry geometry () const
 geometry of this entity
 
EntitySeed seed () const
 Create EntitySeed.
 
void setToTarget (const FoamGridEntityImp< dimgrid-codim, dimgrid, dimworld, ctype > *target)
 
bool equals (const Dune::FoamGridEntity< codim, dimgrid, GridImp > &other) const
 equality
 
GeometryType type () const
 return the entity's type
 
unsigned int subEntities (unsigned int codim) const
 Number of subentities for a given codimension. More...
 

Static Public Attributes

static constexpr int codimension
 know your own codimension
 
static constexpr int dimension
 Dimension of the grid.
 
static constexpr int mydimension
 Know dimension of the entity.
 

Detailed Description

template<int codim, int dimgrid, class GridImp>
class Dune::FoamGridEntity< codim, dimgrid, GridImp >

The implementation of entities in a FoamGrid.

Member Function Documentation

◆ count()

template<int codim, int dimgrid, class GridImp >
template<int cc>
int Dune::FoamGridEntity< codim, dimgrid, GridImp >::count ( ) const
inline

Intra-element access to entities of codimension cc > codim. Return number of entities with codimension cc.

◆ operator=()

template<int codim, int dimgrid, class GridImp >
FoamGridEntity & Dune::FoamGridEntity< codim, dimgrid, GridImp >::operator= ( const FoamGridEntity< codim, dimgrid, GridImp > &  original)
inline

◆ setToTarget()

template<int codim, int dimgrid, class GridImp >
void Dune::FoamGridEntity< codim, dimgrid, GridImp >::setToTarget ( const FoamGridEntityImp< dimgrid-codim, dimgrid, dimworld, ctype > *  target)
inline

◆ subEntities()

unsigned int Dune::EntityDefaultImplementation< cd, dim, GridImp, FoamGridEntity >::subEntities ( unsigned int  codim) const
inlineinherited

Number of subentities for a given codimension.

Parameters
codimcodimension to obtain number of subentities for
Note
The codimension is specified with respect to the grid dimension.
Unless the geometry type is None, this method is redundant and the same information can be obtained from the corresponding reference element.

The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden & Uni Heidelberg  |  generated with Hugo v0.111.3 (Feb 14, 23:39, 2026)