Dune::IdentityGridEntity< 0, dim, GridImp > Class Template Reference
#include <identitygridentity.hh>
Detailed Description
template<int dim, class GridImp>
class Dune::IdentityGridEntity< 0, dim, GridImp >
Specialization for codim-0-entities.This class embodies the topological parts of elements of the grid. It has an extended interface compared to the general entity class. For example, Entities of codimension 0 allow to visit all neighbors.
Public Types | |
typedef IdentityGridLevelIntersectionIterator < GridImp > | LevelIntersectionIterator |
The Iterator over intersections on this level. | |
typedef IdentityGridLeafIntersectionIterator < GridImp > | LeafIntersectionIterator |
The Iterator over intersections on the leaf level. | |
typedef IdentityGridHierarchicIterator < GridImp > | HierarchicIterator |
Iterator over descendants of the entity. | |
Public Member Functions | |
IdentityGridEntity (const GridImp *identityGrid, const HostGridEntityPointer &hostEntity) | |
Constructor for an entity in a given grid level. | |
IdentityGridEntity (const IdentityGridEntity &original) | |
~IdentityGridEntity () | |
Destructor. | |
IdentityGridEntity & | operator= (const IdentityGridEntity &original) |
int | level () const |
Level of this element. | |
PartitionType | partitionType () const |
The partition type for parallel computing. | |
const Geometry & | geometry () const |
Geometry of this entity. | |
template<int cc> | |
int | count () const |
Return the number of subEntities of codimension cc. | |
template<int cc> | |
GridImp::template Codim< cc > ::EntityPointer | entity (int i) const |
Provide access to sub entity i of given codimension. Entities are numbered 0 ... count<cc>()-1. | |
IdentityGridLevelIntersectionIterator < GridImp > | ilevelbegin () const |
First level intersection. | |
IdentityGridLevelIntersectionIterator < GridImp > | ilevelend () const |
Reference to one past the last neighbor. | |
IdentityGridLeafIntersectionIterator < GridImp > | ileafbegin () const |
First leaf intersection. | |
IdentityGridLeafIntersectionIterator < GridImp > | ileafend () const |
Reference to one past the last leaf intersection. | |
bool | isLeaf () const |
returns true if Entity has NO children | |
IdentityGridEntityPointer < 0, GridImp > | father () const |
const LocalGeometry & | geometryInFather () const |
Location of this element relative to the reference element element of the father. This is sufficient to interpolate all dofs in conforming case. Nonconforming may require access to neighbors of father and computations with local coordinates. On the fly case is somewhat inefficient since dofs are visited several times. If we store interpolation matrices, this is tolerable. We assume that on-the-fly implementation of numerical algorithms is only done for simple discretizations. Assumes that meshes are nested. | |
IdentityGridHierarchicIterator < GridImp > | hbegin (int maxLevel) const |
Inter-level access to son elements on higher levels<=maxlevel. This is provided for sparsely stored nested unstructured meshes. Returns iterator to first son. | |
IdentityGridHierarchicIterator < GridImp > | hend (int maxLevel) const |
Returns iterator to one past the last son. | |
bool | wasRefined () const |
bool | mightBeCoarsened () const |
void | setToTarget (const HostGridEntityPointer &target) |
Public Attributes | |
MakeableInterfaceObject < Geometry > * | geo_ |
the current geometry | |
MakeableInterfaceObject < LocalGeometry > * | geoInFather_ |
HostGridEntityPointer | hostEntity_ |
Constructor & Destructor Documentation
template<int dim, class GridImp>
Dune::IdentityGridEntity< 0, dim, GridImp >::IdentityGridEntity | ( | const IdentityGridEntity< 0, dim, GridImp > & | original | ) | [inline] |
- Todo:
- Please doc me !
Member Function Documentation
template<int dim, class GridImp>
IdentityGridEntity& Dune::IdentityGridEntity< 0, dim, GridImp >::operator= | ( | const IdentityGridEntity< 0, dim, GridImp > & | original | ) | [inline] |
- Todo:
- Please doc me !
References Dune::IdentityGridEntity< codim, dim, GridImp >::hostEntity_, and Dune::IdentityGridEntity< codim, dim, GridImp >::identityGrid_.
template<int dim, class GridImp>
IdentityGridEntityPointer<0,GridImp> Dune::IdentityGridEntity< 0, dim, GridImp >::father | ( | ) | const [inline] |
Inter-level access to father element on coarser grid. Assumes that meshes are nested.
template<int dim, class GridImp>
bool Dune::IdentityGridEntity< 0, dim, GridImp >::wasRefined | ( | ) | const [inline] |
template<int dim, class GridImp>
bool Dune::IdentityGridEntity< 0, dim, GridImp >::mightBeCoarsened | ( | ) | const [inline] |
- Todo:
- Please doc me !
template<int dim, class GridImp>
void Dune::IdentityGridEntity< 0, dim, GridImp >::setToTarget | ( | const HostGridEntityPointer & | target | ) | [inline] |
- Todo:
- Please doc me !
Member Data Documentation
template<int dim, class GridImp>
MakeableInterfaceObject<LocalGeometry>* Dune::IdentityGridEntity< 0, dim, GridImp >::geoInFather_ [mutable] |
- Todo:
- Please doc me !
template<int dim, class GridImp>
HostGridEntityPointer Dune::IdentityGridEntity< 0, dim, GridImp >::hostEntity_ |
- Todo:
- Please doc me !
The documentation for this class was generated from the following file: