dune-alugrid 2.8.0
|
#include <dune/alugrid/3d/entity.hh>
Public Types | |
typedef ALU3dImplTraits< GridImp::elementType, Comm > | ImplTraits |
typedef ImplTraits::template Codim< dim, cd >::InterfaceType | HItemType |
typedef ImplTraits::template Codim< dim, cd >::ImplementationType | ItemType |
typedef ImplTraits::VertexType | VertexType |
typedef ImplTraits::HBndSegType | HBndSegType |
typedef GridImp::template Codim< cd >::Entity | Entity |
typedef GridImp::template Codim< cd >::Geometry | Geometry |
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 | setElement (const HItemType &item) |
void | setElement (const HItemType &item, const GridImp &grid) |
void | setElement (const HItemType &item, const int level, int twist=0) |
void | setElement (const EntitySeed &seed) |
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 | |
int | subIndex (int i, unsigned int codim) const |
const ItemType & | getItem () const |
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 ) | |
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 | |
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
typedef GridImp::template Codim<cd>::Entity Dune::ALU3dGridEntity< cd, dim, GridImp >::Entity |
typedef GridImp::template Codim<cd>::EntitySeed Dune::ALU3dGridEntity< cd, dim, GridImp >::EntitySeed |
typedef of my type
typedef GridImp::template Codim<cd>::Geometry Dune::ALU3dGridEntity< cd, dim, GridImp >::Geometry |
typedef ImplTraits::HBndSegType Dune::ALU3dGridEntity< cd, dim, GridImp >::HBndSegType |
typedef ImplTraits::template Codim<dim,cd>::InterfaceType Dune::ALU3dGridEntity< cd, dim, GridImp >::HItemType |
typedef ALU3dImplTraits< GridImp::elementType, Comm > Dune::ALU3dGridEntity< cd, dim, GridImp >::ImplTraits |
typedef ImplTraits::template Codim<dim,cd>::ImplementationType Dune::ALU3dGridEntity< cd, dim, GridImp >::ItemType |
typedef ImplTraits::VertexType Dune::ALU3dGridEntity< cd, dim, GridImp >::VertexType |
Dune::ALU3dGridEntity< cd, dim, GridImp >::ALU3dGridEntity |
Constructor.
Dune::ALU3dGridEntity< cd, dim, GridImp >::ALU3dGridEntity | ( | const EntitySeed & | seed | ) |
construct entity from seed
|
protected |
convert ALUGrid partition type to dune partition type
|
inline |
compare 2 elements by comparing the item pointers
alu_inline ALU3dGridEntity< cd, dim, GridImp >::Geometry Dune::ALU3dGridEntity< cd, dim, GridImp >::geometry |
geometry of this entity
|
inlineprotected |
index is unique within the grid hierarchy and per codim
|
inline |
|
inline |
level of this element
|
inline |
return partition type of this entity ( see grid.hh )
|
inline |
reset item pointer to NULL
|
inline |
return seed of entity
alu_inline void Dune::ALU3dGridEntity< cd, dim, GridImp >::setElement | ( | const EntitySeed & | seed | ) |
alu_inline void Dune::ALU3dGridEntity< cd, dim, GridImp >::setElement | ( | const HItemType & | item | ) |
alu_inline void Dune::ALU3dGridEntity< cd, dim, GridImp >::setElement | ( | const HItemType & | item, |
const GridImp & | grid | ||
) |
alu_inline void Dune::ALU3dGridEntity< cd, dim, GridImp >::setElement | ( | const HItemType & | item, |
const int | level, | ||
int | twist = 0 |
||
) |
alu_inline void Dune::ALU3dGridEntity< cd, dim, GridImp >::setEntity | ( | const ALU3dGridEntity< cd, dim, GridImp > & | org | ) |
set item from other entity, mainly for copy constructor of entity pointer
alu_inline void Dune::ALU3dGridEntity< cd, dim, GridImp >::setGhost | ( | const HBndSegType & | ghost | ) |
setGhost is not valid for this codim
|
inline |
|
inline |
type of geometry of this entity
|
mutableprotected |
the current geometry
|
protected |
the information necessary to make sense of this entity