dune-grid
2.2.1
|
construct an uninitialized entity More...
#include <dune/grid/geometrygrid/entity.hh>
Public Types | |
typedef Traits::template Codim < codimension >::GeometryImpl | GeometryImpl |
Public Member Functions | |
const EntityBase & | operator= (const EntityBase &other) |
operator bool () const | |
Attributes | |
static const int | codimension = codim |
codimensioon of the entity More... | |
static const int | dimension = Traits::dimension |
dimension of the grid More... | |
static const int | mydimension = dimension - codimension |
dimension of the entity More... | |
static const int | dimensionworld = Traits::dimensionworld |
dimension of the world More... | |
static const bool | fake = true |
true, if the entity is faked, i.e., if there is no corresponding host entity More... | |
Types Required by DUNE | |
typedef Traits::ctype | ctype |
coordinate type of the grid More... | |
typedef Traits::template Codim < codimension >::Geometry | Geometry |
type of corresponding geometry More... | |
Host Types | |
typedef HostGrid::template Codim< codimension >::Entity | HostEntity |
type of corresponding host entity More... | |
typedef HostGrid::template Codim< codimension > ::EntityPointer | HostEntityPointer |
type of corresponding host entity pointer More... | |
typedef Traits::template Codim < codimension >::EntitySeed | EntitySeed |
type of corresponding entity seed More... | |
typedef HostGrid::template Codim< 0 >::Entity | HostElement |
type of host elements, i.e., of host entities of codimension 0 More... | |
Construction, Initialization and Destruction | |
EntityBase (const Grid &grid, int subEntity) | |
construct an uninitialized entity More... | |
EntityBase (const GeometryImpl &geo, int subEntity) | |
construct an uninitialized entity More... | |
EntityBase (const EntityBase &other) | |
Methods Shared by Entities of All Codimensions | |
GeometryType | type () const |
obtain the name of the corresponding reference element More... | |
unsigned int | topologyId () const |
int | level () const |
obtain the level of this entity More... | |
PartitionType | partitionType () const |
obtain the partition type of this entity More... | |
Geometry | geometry () const |
EntitySeed | seed () const |
return EntitySeed of host grid entity More... | |
Methods Supporting the Grid Implementation | |
const Grid & | grid () const |
const HostEntity & | hostEntity () const |
const HostElement & | hostElement () const |
int | subEntity () const |
void | initialize (const HostElement &hostElement) |
initiliaze an entity More... | |
template<class HostIndexSet > | |
HostIndexSet::IndexType | index (const HostIndexSet &indexSet) const |
obtain the entity's index from a host IndexSet More... | |
template<class HostIndexSet > | |
HostIndexSet::IndexType | subIndex (const HostIndexSet &indexSet, int i, unsigned int cd) const |
obtain the index of a subentity from a host IndexSet More... | |
template<class HostIndexSet > | |
bool | isContained (const HostIndexSet &indexSet) const |
check whether the entity is contained in a host index set More... | |
template<class HostIdSet > | |
HostIdSet::IdType | id (const HostIdSet &idSet) const |
obtain the entity's id from a host IdSet More... | |
construct an uninitialized entity
[in] | grid | GeometryGrid this entity belongs to |
[in] | subEntity | number of this entity within the host element |
typedef Traits::ctype Dune::GeoGrid::EntityBase< codim, Grid, true >::ctype |
coordinate type of the grid
typedef Traits::template Codim< codimension >::EntitySeed Dune::GeoGrid::EntityBase< codim, Grid, true >::EntitySeed |
type of corresponding entity seed
typedef Traits::template Codim< codimension >::Geometry Dune::GeoGrid::EntityBase< codim, Grid, true >::Geometry |
type of corresponding geometry
typedef Traits::template Codim< codimension >::GeometryImpl Dune::GeoGrid::EntityBase< codim, Grid, true >::GeometryImpl |
typedef HostGrid::template Codim< 0 >::Entity Dune::GeoGrid::EntityBase< codim, Grid, true >::HostElement |
type of host elements, i.e., of host entities of codimension 0
typedef HostGrid::template Codim< codimension >::Entity Dune::GeoGrid::EntityBase< codim, Grid, true >::HostEntity |
type of corresponding host entity
typedef HostGrid::template Codim< codimension >::EntityPointer Dune::GeoGrid::EntityBase< codim, Grid, true >::HostEntityPointer |
type of corresponding host entity pointer
|
inline |
construct an uninitialized entity
[in] | grid | GeometryGrid this entity belongs to |
[in] | subEntity | number of this entity within the host element |
|
inline |
construct an uninitialized entity
[in] | geo | already known geometry this entity will have |
[in] | subEntity | number of this entity within the host element |
|
inline |
|
inline |
obtain the geometry of this entity
Each DUNE entity encapsulates a geometry object, representing the map from the reference element to world coordinates. Wrapping the geometry is the main objective of the GeometryGrid.
The GeometryGrid provides geometries of order 1, obtained by interpolation of its corners . There corners are calculated from the corners
of the host geometry through the GeometryGrid's coordinate function
, i.e.,
.
|
inline |
|
inline |
|
inline |
|
inline |
obtain the entity's id from a host IdSet
|
inline |
obtain the entity's index from a host IndexSet
|
inline |
initiliaze an entity
[in] | hostElement | reference to the host element |
|
inline |
check whether the entity is contained in a host index set
|
inline |
obtain the level of this entity
|
inline |
|
inline |
|
inline |
obtain the partition type of this entity
References Dune::BorderEntity, Dune::FrontEntity, Dune::InteriorEntity, and Dune::OverlapEntity.
|
inline |
|
inline |
|
inline |
obtain the index of a subentity from a host IndexSet
|
inline |
|
inline |
obtain the name of the corresponding reference element
This type can be used to access the DUNE reference element.
|
static |
codimensioon of the entity
|
static |
dimension of the grid
|
static |
dimension of the world
|
static |
true, if the entity is faked, i.e., if there is no corresponding host entity
|
static |
dimension of the entity