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

More...

#include </local/tomalk/somewhere/tmp/dune-fem/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_
 

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...
 

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...
 

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
 

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...
 

Construction, Initialization and Destruction

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

Detailed Description

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

Member Typedef Documentation

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

coordinate type of the grid

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

type of corresponding entity seed

template<int dim, class GridFamily >
typedef BaseType::ExtraData Dune::Fem::IdEntity< 0, dim, GridFamily >::ExtraData
protected
typedef Traits::template Codim< codimension >::Geometry Dune::Fem::IdEntityBasic< codim, dim, GridFamily >::Geometry
inherited

type of corresponding geometry

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

type of corresponding host entity

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

type of corresponding local geometry

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

Constructor & Destructor Documentation

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

construct a null entity

Parameters
[in]datadata pointer (here empty)
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

template<int dim, class GridFamily >
template<int codim>
int Dune::Fem::IdEntity< 0, dim, GridFamily >::count ( ) const
inline
const ExtraData& Dune::Fem::IdEntityBasic< codim, dim, GridFamily >::data ( ) const
inlineinherited
bool Dune::Fem::IdEntityBasic< codim, dim, GridFamily >::equals ( const IdEntityBasic< 0, dim, GridFamily > &  rhs) const
inlineinherited
Geometry Dune::Fem::IdEntityBasic< codim, dim, GridFamily >::geometry ( ) const
inlineinherited
template<int dim, class GridFamily >
bool Dune::Fem::IdEntity< 0, dim, GridFamily >::hasBoundaryIntersections ( ) const
inline
const HostEntityType& Dune::Fem::IdEntityBasic< codim, dim, GridFamily >::hostEntity ( ) const
inlineinherited
int Dune::Fem::IdEntityBasic< codim, dim, GridFamily >::level ( ) const
inlineinherited

obtain the level of this entity

References Dune::Fem::IdEntityBasic< codim, dim, GridFamily >::hostEntity().

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

obtain the partition type of this entity

References Dune::Fem::IdEntityBasic< codim, dim, GridFamily >::hostEntity().

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

return EntitySeed of host grid entity

References Dune::Fem::IdEntityBasic< codim, dim, GridFamily >::hostEntity().

template<int dim, class GridFamily >
unsigned int Dune::Fem::IdEntity< 0, dim, GridFamily >::subEntities ( const unsigned int  codim) const
inline
template<int dim, class GridFamily >
template<int codim>
Traits::template Codim< codim >::Entity Dune::Fem::IdEntity< 0, dim, GridFamily >::subEntity ( int  i) const
inline
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.

References Dune::Fem::IdEntityBasic< codim, dim, GridFamily >::hostEntity().

Member Data Documentation

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

codimensioon of the entity

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

dimension of the grid

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

dimension of the world

HostEntityType Dune::Fem::IdEntityBasic< codim, dim, GridFamily >::hostEntity_
protectedinherited
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: