|
dune-grid
2.2.0
|
#include <dune/grid/alugrid/2d/entity.hh>
Public Types | |
| typedef GridImp::GridObjectFactoryType | FactoryType |
| typedef Dune::ALU2dImplTraits < dimworld, eltype >::template Codim< cd >::InterfaceType | ElementType |
| typedef Dune::ALU2dImplTraits < dimworld, eltype >::template Codim< 2 >::InterfaceType | VertexType |
| typedef GridImp::template Codim< cd >::Entity | Entity |
| type of our interface entity | |
| typedef GridImp::template Codim< cd >::Geometry | Geometry |
| type of corresponding interface geometry | |
| typedef GridImp::template Codim< cd >::EntitySeed | EntitySeed |
| typedef of my type | |
| typedef GridImp::template Codim< 0 >::EntityPointer | EntityPointer |
| tpye of EntityPointer | |
| enum | |
| know your own codimension More... | |
| enum | |
| know your own dimension More... | |
| enum | |
| Know dimension of the entity. More... | |
| enum | |
| know your own dimension of world More... | |
| typedef GridImp::ctype | ctype |
| define type used for coordinates in grid module | |
Public Member Functions | |
| int | level () const |
| level of this element | |
| ALU2dGridEntity (const FactoryType &factory, int level) | |
| Constructor. | |
| ALU2dGridEntity (const ALU2dGridEntity &org) | |
| Copy Constructor. | |
| Geometry | geometry () const |
| geometry of this entity | |
| GeometryType | type () const |
| return type of geometry | |
| void | removeElement () |
| set item pointer to NULL | |
| void | setElement (const ElementType &element, int face=-1, int level=-1) const |
| set element as normal entity | |
| void | setElement (const EntitySeed &seed) const |
| void | setElement (const HElementType &el, const VertexType &vx) |
| void | setElement (const ALU2dGridEntity &org) const |
| bool | equals (const ALU2dGridEntity< cd, dim, GridImp > &org) const |
| compare 2 elements | |
| PartitionType | partitionType () const |
| int | boundaryId () const |
| Id of the boundary which is associated with the entity, returns 0 for inner entities, arbitrary int otherwise. | |
| EntityPointer | ownersFather () const |
| FieldVector< alu2d_ctype, dim > & | positionInOwnersFather () const |
| my position in local coordinates of the owners father | |
| const GridImp & | grid () const |
| return reference to grid | |
| const FactoryType & | factory () const |
| return reference to factory | |
| ElementType & | getItem () const |
| return reference to current item | |
| EntitySeed | seed () const |
| return seed of entity | |
| int | getFace () const |
| int | getIndex () const |
| index is unique within the grid hierachie and per codim | |
Friends | |
| class | ALU2dGrid< dim, dimworld, eltype > |
| class | ALU2dGridIntersectionIterator< GridImp > |
| class | ALU2dGridIntersectionIterator< const GridImp > |
| class | ALU2dGridLevelIntersectionIterator< GridImp > |
| class | ALU2dGridLevelIntersectionIterator< const GridImp > |
| class | ALU2dGridLeafIntersectionIterator< GridImp > |
| class | ALU2dGridLeafIntersectionIterator< const GridImp > |
| class | ALU2dGridHierarchicIterator< const GridImp > |
| class | ALU2dGridHierarchicIterator< GridImp > |
| class | ALU2dGridLevelIterator< 0, All_Partition, GridImp > |
| class | ALU2dGridLevelIterator< 1, All_Partition, GridImp > |
| class | ALU2dGridLevelIterator< 2, All_Partition, GridImp > |
| class | ALU2dGridLeafIterator< 0, All_Partition, GridImp > |
| class | ALU2dGridLeafIterator< 1, All_Partition, GridImp > |
| class | ALU2dGridLeafIterator< 2, All_Partition, GridImp > |
| class | ALU2dGridMakeableEntity< 0, dim, GridImp > |
| class | ALU2dGridHierarchicIndexSet< dim, dimworld, eltype > |
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::ctype Dune::EntityDefaultImplementation< cd, dim, GridImp, ALU2dGridEntity >::ctype [inherited] |
define type used for coordinates in grid module
| typedef Dune::ALU2dImplTraits< dimworld, eltype >::template Codim<cd>::InterfaceType Dune::ALU2dGridEntity< cd, dim, GridImp >::ElementType |
| typedef GridImp::template Codim<cd>::Entity Dune::ALU2dGridEntity< cd, dim, GridImp >::Entity |
type of our interface entity
| typedef GridImp::template Codim<0>::EntityPointer Dune::ALU2dGridEntity< cd, dim, GridImp >::EntityPointer |
tpye of EntityPointer
Reimplemented from Dune::EntityDefaultImplementation< cd, dim, GridImp, ALU2dGridEntity >.
| typedef GridImp::template Codim<cd>::EntitySeed Dune::ALU2dGridEntity< cd, dim, GridImp >::EntitySeed |
typedef of my type
Reimplemented from Dune::EntityDefaultImplementation< cd, dim, GridImp, ALU2dGridEntity >.
| typedef GridImp :: GridObjectFactoryType Dune::ALU2dGridEntity< cd, dim, GridImp >::FactoryType |
| typedef GridImp::template Codim<cd>::Geometry Dune::ALU2dGridEntity< cd, dim, GridImp >::Geometry |
type of corresponding interface geometry
| typedef Dune::ALU2dImplTraits< dimworld, eltype >::template Codim<2>::InterfaceType Dune::ALU2dGridEntity< cd, dim, GridImp >::VertexType |
anonymous enum [inherited] |
know your own codimension
anonymous enum [inherited] |
know your own dimension
anonymous enum [inherited] |
Know dimension of the entity.
anonymous enum [inherited] |
know your own dimension of world
| Dune::ALU2dGridEntity< cd, dim, GridImp >::ALU2dGridEntity | ( | const FactoryType & | factory, |
| int | level | ||
| ) |
Constructor.
| Dune::ALU2dGridEntity< cd, dim, GridImp >::ALU2dGridEntity | ( | const ALU2dGridEntity< cd, dim, GridImp > & | org | ) |
Copy Constructor.
| int Dune::ALU2dGridEntity< cd, dim, GridImp >::boundaryId | ( | ) | const |
Id of the boundary which is associated with the entity, returns 0 for inner entities, arbitrary int otherwise.
| bool Dune::ALU2dGridEntity< cd, dim, GridImp >::equals | ( | const ALU2dGridEntity< cd, dim, GridImp > & | org | ) | const |
compare 2 elements
| const FactoryType& Dune::ALU2dGridEntity< cd, dim, GridImp >::factory | ( | ) | const [inline] |
return reference to factory
Referenced by Dune::ALU2dGridEntity< 0, dim, GridImp >::hbegin(), and Dune::ALU2dGridEntity< 0, dim, GridImp >::hend().
| Geometry Dune::ALU2dGridEntity< cd, dim, GridImp >::geometry | ( | ) | const |
geometry of this entity
| int Dune::ALU2dGridEntity< cd, dim, GridImp >::getFace | ( | ) | const [inline] |
Referenced by Dune::ALU2dGridEntity< cd, dim, GridImp >::seed().
| int Dune::ALU2dGridEntity< cd, dim, GridImp >::getIndex | ( | ) | const |
index is unique within the grid hierachie and per codim
| ElementType& Dune::ALU2dGridEntity< cd, dim, GridImp >::getItem | ( | ) | const [inline] |
return reference to current item
Referenced by Dune::ALU2dGridEntity< cd, dim, GridImp >::seed(), and Dune::ALU2dGridEntity< 0, dim, GridImp >::seed().
| const GridImp& Dune::ALU2dGridEntity< cd, dim, GridImp >::grid | ( | ) | const [inline] |
return reference to grid
Referenced by Dune::ALU2dGridEntity< 0, dim, GridImp >::partitionType().
| int Dune::ALU2dGridEntity< cd, dim, GridImp >::level | ( | ) | const |
level of this element
Referenced by Dune::ALU2dGridEntity< 0, dim, GridImp >::hasFather(), Dune::ALU2dGridEntity< 0, dim, GridImp >::ileafbegin(), Dune::ALU2dGridEntity< 0, dim, GridImp >::ileafend(), Dune::ALU2dGridEntity< 0, dim, GridImp >::ilevelbegin(), Dune::ALU2dGridEntity< 0, dim, GridImp >::ilevelend(), and Dune::ALU2dGridEntity< cd, dim, GridImp >::seed().
| EntityPointer Dune::ALU2dGridEntity< cd, dim, GridImp >::ownersFather | ( | ) | const |
Location of this vertex within a mesh entity of codimension 0 on the coarse grid. This can speed up on-the-fly interpolation for linear conforming elements Possibly this is sufficient for all applications we want on-the-fly.
| PartitionType Dune::ALU2dGridEntity< cd, dim, GridImp >::partitionType | ( | ) | const [inline] |
return partition type of this entity ( see grid.hh ) dummy implementation return InteriorEntity
References Dune::InteriorEntity.
| FieldVector<alu2d_ctype, dim>& Dune::ALU2dGridEntity< cd, dim, GridImp >::positionInOwnersFather | ( | ) | const |
my position in local coordinates of the owners father
| void Dune::ALU2dGridEntity< cd, dim, GridImp >::removeElement | ( | ) |
set item pointer to NULL
| EntitySeed Dune::ALU2dGridEntity< cd, dim, GridImp >::seed | ( | ) | const [inline] |
return seed of entity
References Dune::ALU2dGridEntity< cd, dim, GridImp >::getFace(), Dune::ALU2dGridEntity< cd, dim, GridImp >::getItem(), and Dune::ALU2dGridEntity< cd, dim, GridImp >::level().
| void Dune::ALU2dGridEntity< cd, dim, GridImp >::setElement | ( | const ElementType & | element, |
| int | face = -1, |
||
| int | level = -1 |
||
| ) | const |
set element as normal entity
private methods, but public because of datahandle and template arguments of these methods
Referenced by Dune::ALU2dGridEntity< cd, dim, GridImp >::setElement(), and Dune::ALU2dGridEntity< 0, dim, GridImp >::setElement().
| void Dune::ALU2dGridEntity< cd, dim, GridImp >::setElement | ( | const EntitySeed & | seed | ) | const |
| void Dune::ALU2dGridEntity< cd, dim, GridImp >::setElement | ( | const HElementType & | el, |
| const VertexType & | vx | ||
| ) |
| void Dune::ALU2dGridEntity< cd, dim, GridImp >::setElement | ( | const ALU2dGridEntity< cd, dim, GridImp > & | org | ) | const [inline] |
| GeometryType Dune::ALU2dGridEntity< cd, dim, GridImp >::type | ( | ) | const |
return type of geometry
Reimplemented from Dune::EntityDefaultImplementation< cd, dim, GridImp, ALU2dGridEntity >.
friend class ALU2dGrid< dim, dimworld, eltype > [friend] |
friend class ALU2dGridHierarchicIndexSet< dim, dimworld, eltype > [friend] |
friend class ALU2dGridHierarchicIterator< const GridImp > [friend] |
friend class ALU2dGridHierarchicIterator< GridImp > [friend] |
friend class ALU2dGridIntersectionIterator< const GridImp > [friend] |
friend class ALU2dGridIntersectionIterator< GridImp > [friend] |
friend class ALU2dGridLeafIntersectionIterator< const GridImp > [friend] |
friend class ALU2dGridLeafIntersectionIterator< GridImp > [friend] |
friend class ALU2dGridLeafIterator< 0, All_Partition, GridImp > [friend] |
friend class ALU2dGridLeafIterator< 1, All_Partition, GridImp > [friend] |
friend class ALU2dGridLeafIterator< 2, All_Partition, GridImp > [friend] |
friend class ALU2dGridLevelIntersectionIterator< const GridImp > [friend] |
friend class ALU2dGridLevelIntersectionIterator< GridImp > [friend] |
friend class ALU2dGridLevelIterator< 0, All_Partition, GridImp > [friend] |
friend class ALU2dGridLevelIterator< 1, All_Partition, GridImp > [friend] |
friend class ALU2dGridLevelIterator< 2, All_Partition, GridImp > [friend] |
friend class ALU2dGridMakeableEntity< 0, dim, GridImp > [friend] |
1.7.6.1