DUNE-FEM (unstable)

Dune::Fem::IdEntity< 0, dim, GridFamily > Class Template Reference

More...

#include <dune/fem/gridpart/idgridpart/entity.hh>

Host Types

typedef HostGridPartType::template Codim< codimension >::EntityType HostEntityType
 type of corresponding host entity
 

Types Required by DUNE

typedef Traits::template Codim< codimension >::LocalGeometry LocalGeometry
 type of corresponding local geometry
 

Types Required by DUNE

typedef std::remove_const< GridFamily >::type::ctype ctype
 coordinate type of the grid
 
typedef GridFamily::template Codim< codimension >::EntitySeed EntitySeedType
 type of corresponding entity seed
 
typedef Traits::template Codim< codimension >::Geometry Geometry
 type of corresponding geometry
 

Construction, Initialization and Destruction

 IdEntity ()=default
 construct a null entity More...
 
 IdEntity (ExtraData data, HostEntityType hostEntity)
 construct an initialized entity More...
 

Methods Shared by Entities of All Codimensions

GeometryType type () const
 obtain the name of the corresponding reference element More...
 
int level () const
 obtain the level of this entity
 
PartitionType partitionType () const
 obtain the partition type of this entity
 
Geometry geometry () const
 
EntitySeedType seed () const
 return EntitySeed of host grid entity
 
bool equals (const IdEntityBasic &rhs) const
 check for equality
 

Methods Supporting the GridPart Implementation

const HostEntityTypehostEntity () const
 
const ExtraData & data () const
 

Attributes

static const int codimension = codim
 codimensioon of the entity
 
static const int dimension = std::remove_const< GridFamily >::type::dimension
 dimension of the grid
 
static const int mydimension = dimension - codimension
 dimension of the entity
 
static const int dimensionworld = std::remove_const< GridFamily >::type::dimensionworld
 dimension of the world
 

Detailed Description

template<int dim, class GridFamily>
class Dune::Fem::IdEntity< 0, dim, GridFamily >

Constructor & Destructor Documentation

◆ IdEntity() [1/2]

template<int dim, class GridFamily >
Dune::Fem::IdEntity< 0, dim, GridFamily >::IdEntity ( )
default

construct a null entity

Parameters
[in]datadata pointer (here empty)

◆ IdEntity() [2/2]

template<int dim, class GridFamily >
Dune::Fem::IdEntity< 0, dim, GridFamily >::IdEntity ( ExtraData  data,
HostEntityType  hostEntity 
)
inline

construct an initialized entity

Parameters
[in]datadata pointer (here empty)
[in]hostEntitycorresponding entity in the host grid

Member Function Documentation

◆ geometry()

template<int codim, int dim, class GridFamily >
Geometry Dune::Fem::IdEntityBasic< codim, dim, GridFamily >::geometry ( ) const
inlineinherited

obtain the geometry of this entity

◆ type()

template<int codim, int dim, class GridFamily >
GeometryType Dune::Fem::IdEntityBasic< codim, dim, GridFamily >::type ( ) const
inlineinherited

obtain the name of the corresponding reference element

This type can be used to access the DUNE reference element.


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.111.3 (Jul 27, 22:29, 2024)