dune-grid
2.3.1
|
#include <dune/grid/alugrid/3d/entity.hh>
Classes | |
struct | GetLevel |
struct | GetLevel< GridType, 3 > |
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 | |
enum | |
know your own codimension More... | |
enum | |
Dimension of the grid. More... | |
enum | |
Know dimension of the entity. More... | |
typedef GridImp::ctype | ctype |
define type used for coordinates in grid module |
Public Member Functions | |
int | level () const |
level of this element | |
PartitionType | partitionType () const |
return partition type of this entity ( see grid.hh ) | |
ALU3dGridEntity (const FactoryType &factory, int level) | |
Constructor. | |
ALU3dGridEntity (const ALU3dGridEntity &org) | |
copy Constructor | |
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 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 | |
void | removeElement () |
reset item pointer to NULL | |
void | reset (int l) |
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 | |
const ItemType & | getItem () const |
const GridImp & | grid () const |
return reference to grid | |
const FactoryType & | factory () const |
return reference to factory | |
EntitySeed | seed () const |
return seed of entity |
Static Public Attributes | |
static const int | dimensionworld |
know your own dimension of world |
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
|
inherited |
define type used for coordinates in grid module
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
|
inline |
return reference to factory
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(), and Dune::ALU3dGridEntity< 0, dim, GridImp >::ilevelbegin().
|
inline |
level of this element
Referenced by 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 )
|
inline |
reset item pointer to NULL
|
inline |
reset item pointer to NULL
|
inline |
return seed of entity
References Dune::ALU3dGridEntity< cd, dim, GridImp >::getItem(), and Dune::ALU3dGridEntity< cd, dim, GridImp >::level().
void Dune::ALU3dGridEntity< cd, dim, GridImp >::setElement | ( | const HItemType & | item | ) |
Referenced by Dune::ALU3dGridEntity< 0, dim, GridImp >::setElement().
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
void Dune::ALU3dGridEntity< cd, dim, GridImp >::setGhost | ( | const HBndSegType & | ghost | ) |
setGhost is not valid for this codim
Referenced by Dune::ALU3dGridEntity< 0, dim, GridImp >::setElement().
|
inline |
type of geometry of this entity
Reimplemented from Dune::EntityDefaultImplementation< cd, dim, GridImp, ALU3dGridEntity >.
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
staticinherited |
know your own dimension of world