|
dune-alugrid
2.8-git
|
#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 More... | |
Public Member Functions | |
| ALU3dGridEntity () | |
| Constructor. More... | |
| ALU3dGridEntity (const EntitySeed &seed) | |
| construct entity from seed More... | |
| Geometry | geometry () const |
| geometry of this entity More... | |
| GeometryType | type () const |
| type of geometry of this entity More... | |
| 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 More... | |
| void | removeElement () |
| reset item pointer to NULL More... | |
| bool | equals (const ALU3dGridEntity< cd, dim, GridImp > &org) const |
| compare 2 elements by comparing the item pointers More... | |
| void | setEntity (const ALU3dGridEntity< cd, dim, GridImp > &org) |
| set item from other entity, mainly for copy constructor of entity pointer More... | |
| int | subIndex (int i, unsigned int codim) const |
| const ItemType & | getItem () const |
| EntitySeed | seed () const |
| return seed of entity More... | |
| int | level () const |
| level of this element More... | |
| PartitionType | partitionType () const |
| return partition type of this entity ( see grid.hh ) More... | |
Protected Member Functions | |
| int | getIndex () const |
| index is unique within the grid hierarchy and per codim More... | |
| PartitionType | convertBndId (const HItemType &item) const |
| convert ALUGrid partition type to dune partition type More... | |
Protected Attributes | |
| GeometryImpl | geo_ |
| the current geometry More... | |
| EntitySeed | seed_ |
| the information necessary to make sense of this entity More... | |
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