dune-fem  2.8-git
Public Member Functions | Protected Types | Protected Attributes | List of all members
Dune::Fem::IdEntity< 0, dim, GridFamily > Class Template Reference

More...

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

Inheritance diagram for Dune::Fem::IdEntity< 0, dim, GridFamily >:
Inheritance graph

Public Member Functions

unsigned int subEntities (const unsigned int codim) const
 
template<int codim>
int count () const
 
template<int codim>
Traits::template Codim< codim >::Entity subEntity (int i) const
 
bool hasBoundaryIntersections () const
 

Protected Types

typedef BaseType::Traits Traits
 
typedef BaseType::HostGridPartType HostGridPartType
 
typedef BaseType::ExtraData ExtraData
 

Protected Attributes

ExtraData data_
 
HostEntityType hostEntity_
 

Host Types

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

Types Required by DUNE

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

Types Required by DUNE

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

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 More...
 
PartitionType partitionType () const
 obtain the partition type of this entity More...
 
Geometry geometry () const
 
EntitySeedType seed () const
 return EntitySeed of host grid entity More...
 
bool equals (const IdEntityBasic &rhs) const
 check for equality More...
 

Methods Supporting the GridPart Implementation

const HostEntityTypehostEntity () const
 
const ExtraDatadata () const
 

Attributes

static const int codimension
 codimensioon of the entity More...
 
static const int dimension
 dimension of the grid More...
 
static const int mydimension
 dimension of the entity More...
 
static const int dimensionworld
 dimension of the world More...
 

Detailed Description

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

Member Typedef Documentation

◆ ctype

typedef std::remove_const< GridFamily >::type::ctype Dune::Fem::IdEntityBasic< codim, dim, GridFamily >::ctype
inherited

coordinate type of the grid

◆ EntitySeedType

typedef GridFamily::template Codim< codimension >::EntitySeed Dune::Fem::IdEntityBasic< codim, dim, GridFamily >::EntitySeedType
inherited

type of corresponding entity seed

◆ ExtraData

template<int dim, class GridFamily >
typedef BaseType::ExtraData Dune::Fem::IdEntity< 0, dim, GridFamily >::ExtraData
protected

◆ Geometry

typedef Traits::template Codim< codimension >::Geometry Dune::Fem::IdEntityBasic< codim, dim, GridFamily >::Geometry
inherited

type of corresponding geometry

◆ HostEntityType

template<int dim, class GridFamily >
typedef HostGridPartType::template Codim< codimension >::EntityType Dune::Fem::IdEntity< 0, dim, GridFamily >::HostEntityType

type of corresponding host entity

◆ HostGridPartType

template<int dim, class GridFamily >
typedef BaseType::HostGridPartType Dune::Fem::IdEntity< 0, dim, GridFamily >::HostGridPartType
protected

◆ LocalGeometry

template<int dim, class GridFamily >
typedef Traits::template Codim< codimension >::LocalGeometry Dune::Fem::IdEntity< 0, dim, GridFamily >::LocalGeometry

type of corresponding local geometry

◆ Traits

template<int dim, class GridFamily >
typedef BaseType::Traits Dune::Fem::IdEntity< 0, dim, GridFamily >::Traits
protected

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

◆ count()

template<int dim, class GridFamily >
template<int codim>
int Dune::Fem::IdEntity< 0, dim, GridFamily >::count ( ) const
inline

◆ data()

const ExtraData& Dune::Fem::IdEntityBasic< codim, dim, GridFamily >::data ( ) const
inlineinherited

◆ equals()

bool Dune::Fem::IdEntityBasic< codim, dim, GridFamily >::equals ( const IdEntityBasic< 0, dim, GridFamily > &  rhs) const
inlineinherited

check for equality

◆ geometry()

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

obtain the geometry of this entity

◆ hasBoundaryIntersections()

template<int dim, class GridFamily >
bool Dune::Fem::IdEntity< 0, dim, GridFamily >::hasBoundaryIntersections ( ) const
inline

◆ hostEntity()

const HostEntityType& Dune::Fem::IdEntityBasic< codim, dim, GridFamily >::hostEntity ( ) const
inlineinherited

◆ level()

int Dune::Fem::IdEntityBasic< codim, dim, GridFamily >::level ( ) const
inlineinherited

obtain the level of this entity

◆ partitionType()

PartitionType Dune::Fem::IdEntityBasic< codim, dim, GridFamily >::partitionType ( ) const
inlineinherited

obtain the partition type of this entity

◆ seed()

EntitySeedType Dune::Fem::IdEntityBasic< codim, dim, GridFamily >::seed ( ) const
inlineinherited

return EntitySeed of host grid entity

◆ subEntities()

template<int dim, class GridFamily >
unsigned int Dune::Fem::IdEntity< 0, dim, GridFamily >::subEntities ( const unsigned int  codim) const
inline

◆ subEntity()

template<int dim, class GridFamily >
template<int codim>
Traits::template Codim< codim >::Entity Dune::Fem::IdEntity< 0, dim, GridFamily >::subEntity ( int  i) const
inline

◆ type()

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.

Member Data Documentation

◆ codimension

const int Dune::Fem::IdEntityBasic< codim, dim, GridFamily >::codimension
staticinherited

codimensioon of the entity

◆ data_

ExtraData Dune::Fem::IdEntityBasic< codim, dim, GridFamily >::data_
protectedinherited

◆ dimension

const int Dune::Fem::IdEntityBasic< codim, dim, GridFamily >::dimension
staticinherited

dimension of the grid

◆ dimensionworld

const int Dune::Fem::IdEntityBasic< codim, dim, GridFamily >::dimensionworld
staticinherited

dimension of the world

◆ hostEntity_

HostEntityType Dune::Fem::IdEntityBasic< codim, dim, GridFamily >::hostEntity_
protectedinherited

◆ mydimension

const int Dune::Fem::IdEntityBasic< codim, dim, GridFamily >::mydimension
staticinherited

dimension of the entity


The documentation for this class was generated from the following file: