dune-grid
2.4.1
|
#include <dune/grid/alugrid/3d/entity.hh>
Public Types | |
typedef GridImp::GridObjectFactoryType | FactoryType |
typedef ALU3dImplTraits< GridImp::elementType, Comm > | ImplTraits |
typedef ImplTraits::template Codim< cd >::InterfaceType | HItemType |
typedef ImplTraits::template Codim< 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< 0 >::EntityPointer | EntityPointer |
typedef GridImp::template Codim< cd >::EntitySeed | EntitySeed |
typedef of my type More... | |
enum | |
know your own codimension More... | |
enum | |
Dimension of the grid. More... | |
enum | |
Know dimension of the entity. More... | |
Public Member Functions | |
int | level () const |
level of this element More... | |
PartitionType | partitionType () const |
return partition type of this entity ( see grid.hh ) More... | |
ALU3dGridEntity (const FactoryType &factory, int level) | |
Constructor. More... | |
ALU3dGridEntity (const ALU3dGridEntity &org) | |
copy Constructor 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 int level, int twist=0, int face=-1) |
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... | |
void | reset (int l) |
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... | |
const ItemType & | getItem () const |
const GridImp & | grid () const |
return reference to grid More... | |
const FactoryType & | factory () const |
return reference to factory More... | |
EntitySeed | seed () const |
return seed of 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<0>::EntityPointer Dune::ALU3dGridEntity< cd, dim, GridImp >::EntityPointer |
typedef GridImp::template Codim<cd>::EntitySeed Dune::ALU3dGridEntity< cd, dim, GridImp >::EntitySeed |
typedef of my type
typedef GridImp::GridObjectFactoryType Dune::ALU3dGridEntity< cd, dim, GridImp >::FactoryType |
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<cd>::InterfaceType Dune::ALU3dGridEntity< cd, dim, GridImp >::HItemType |
typedef ALU3dImplTraits< GridImp::elementType, Comm > Dune::ALU3dGridEntity< cd, dim, GridImp >::ImplTraits |
typedef ImplTraits::template Codim<cd>::ImplementationType Dune::ALU3dGridEntity< cd, dim, GridImp >::ItemType |
typedef ImplTraits::VertexType Dune::ALU3dGridEntity< cd, dim, GridImp >::VertexType |
|
inherited |
know your own codimension
|
inherited |
Dimension of the grid.
|
inherited |
Know dimension of the entity.
Dune::ALU3dGridEntity< cd, dim, GridImp >::ALU3dGridEntity | ( | const FactoryType & | factory, |
int | level | ||
) |
Constructor.
Dune::ALU3dGridEntity< cd, dim, GridImp >::ALU3dGridEntity | ( | const ALU3dGridEntity< cd, dim, GridImp > & | org | ) |
copy Constructor
|
inline |
compare 2 elements by comparing the item pointers
Referenced by Dune::ALU3dGridEntity< 0, dim, GridImp >::hasFather(), Dune::ALU3dGridEntity< 0, dim, GridImp >::level(), and Dune::ALU3dGridEntity< cd, dim, GridImp >::removeElement().
|
inline |
return reference to factory
Referenced by Dune::ALU3dGridEntityPointerBase< 0, GridImp >::grid().
Geometry Dune::ALU3dGridEntity< cd, dim, GridImp >::geometry | ( | ) | const |
geometry of this entity
|
inline |
|
inline |
return reference to grid
Referenced by Dune::ALU3dGridEntity< 0, dim, GridImp >::count(), Dune::ALU3dGridEntity< 0, dim, GridImp >::ilevelbegin(), and Dune::ALU3dGridEntity< 0, dim, GridImp >::subEntities().
|
inline |
level of this element
References Dune::ALU3dGridEntity< cd, dim, GridImp >::partitionType().
Referenced by Dune::ALU3dGridEntityPointer< cdim, GridImp >::ALU3dGridEntityPointer(), Dune::ALU3dGridEntityPointerBase< 0, GridImp >::grid(), Dune::ALU3dGridEntity< 0, dim, GridImp >::hasFather(), Dune::ALU3dGridEntity< 0, dim, GridImp >::ileafbegin(), Dune::ALU3dGridEntity< 0, dim, GridImp >::ileafend(), Dune::ALU3dGridEntity< 0, dim, GridImp >::ilevelbegin(), Dune::ALU3dGridEntity< 0, dim, GridImp >::ilevelend(), and Dune::ALU3dGridEntity< cd, dim, GridImp >::seed().
|
inline |
return partition type of this entity ( see grid.hh )
Referenced by Dune::ALU3dGridEntity< cd, dim, GridImp >::level(), and Dune::ALU3dGridEntity< 0, dim, GridImp >::subEntities().
|
inline |
reset item pointer to NULL
References Dune::ALU3dGridEntity< cd, dim, GridImp >::equals().
Referenced by Dune::ALU3dGridEntity< 0, dim, GridImp >::hasFather(), Dune::ALU3dGridEntity< cd, dim, GridImp >::reset(), and Dune::ALU3dGridEntity< cd, dim, GridImp >::type().
|
inline |
reset item pointer to NULL
References Dune::ALU3dGridEntity< cd, dim, GridImp >::removeElement().
Referenced by Dune::ALU3dGridEntity< 0, dim, GridImp >::hasFather(), and Dune::ALU3dGridEntity< 0, dim, GridImp >::removeElement().
|
inline |
return seed of entity
References Dune::ALU3dGridEntity< cd, dim, GridImp >::getItem(), and Dune::ALU3dGridEntity< cd, dim, GridImp >::level().
Referenced by Dune::ALU3dGridEntity< 0, dim, GridImp >::hasFather().
void Dune::ALU3dGridEntity< cd, dim, GridImp >::setElement | ( | const HItemType & | item | ) |
void Dune::ALU3dGridEntity< cd, dim, GridImp >::setElement | ( | const HItemType & | item, |
const int | level, | ||
int | twist = 0 , |
||
int | face = -1 |
||
) |
void Dune::ALU3dGridEntity< cd, dim, GridImp >::setElement | ( | const EntitySeed & | seed | ) |
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
Referenced by Dune::ALU3dGridEntity< 0, dim, GridImp >::hasFather().
void Dune::ALU3dGridEntity< cd, dim, GridImp >::setGhost | ( | const HBndSegType & | ghost | ) |
setGhost is not valid for this codim
Referenced by Dune::ALU3dGridEntity< 0, dim, GridImp >::hasFather(), and Dune::ALU3dGridEntity< 0, dim, GridImp >::setElement().
|
inline |
type of geometry of this entity
References Dune::ALU3dGridEntity< cd, dim, GridImp >::removeElement().