Dune Core Modules (2.9.0)

Dune::ALU3dGridEntity< cd, dim, GridImp > Class Template Reference

#include <dune/alugrid/3d/entity.hh>

Public Types

typedef GridImp::template Codim< cd >::EntitySeed EntitySeed
 typedef of my type
 

Public Member Functions

 ALU3dGridEntity ()
 Constructor.
 
 ALU3dGridEntity (const EntitySeed &seed)
 construct entity from seed
 
Geometry geometry () const
 geometry of this entity
 
GeometryType type () const
 type of geometry of this entity
 
void setGhost (const HBndSegType &ghost)
 setGhost is not valid for this codim
 
void removeElement ()
 reset item pointer to NULL
 
bool equals (const ALU3dGridEntity< cd, dim, GridImp > &org) const
 compare 2 elements by comparing the item pointers
 
void setEntity (const ALU3dGridEntity< cd, dim, GridImp > &org)
 set item from other entity, mainly for copy constructor of entity pointer
 
EntitySeed seed () const
 return seed of entity
 
int level () const
 level of this element
 
PartitionType partitionType () const
 return partition type of this entity ( see grid.hh )
 
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.
 

Protected Member Functions

int getIndex () const
 index is unique within the grid hierarchy and per codim
 
PartitionType convertBndId (const HItemType &item) const
 convert ALUGrid partition type to dune partition type
 

Protected Attributes

GeometryImpl geo_
 the current geometry
 
EntitySeed seed_
 the information necessary to make sense of this entity
 

Detailed Description

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

Here: the general template

Member Function Documentation

◆ subEntities()

unsigned int Dune::EntityDefaultImplementation< cd, dim, GridImp, ALU3dGridEntity >::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 files:
  • dune/alugrid/3d/entity.hh
  • dune/alugrid/3d/entity_imp.cc
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Dec 20, 23:31, 2024)