Classes |
Public Types |
Public Member Functions |
Protected Attributes |
Friends |
List of all members
Dune::cpgrid::Entity< codim > Class Template Reference
Inheritance diagram for Dune::cpgrid::Entity< codim >:
Detailed Descriptiontemplate<int codim> class Dune::cpgrid::Entity< codim >
Member Typedef Documentation◆ ctype
template<int codim>
◆ EntitySeed
template<int codim>
◆ Geometry
template<int codim>
◆ HierarchicIterator
template<int codim>
◆ LeafIntersectionIterator
template<int codim>
◆ LevelIntersectionIterator
template<int codim>
◆ LocalGeometry
template<int codim>
Member Enumeration Documentation◆ anonymous enum◆ anonymous enum◆ anonymous enum◆ anonymous enum◆ anonymous enum◆ anonymous enumConstructor & Destructor Documentation◆ Entity() [1/4]
template<int codim>
Constructor creating empty entity. Constructor taking a grid and an integer entity representation. This constructor should probably be removed, since it exposes details of the implementation of
◆ Entity() [2/4]
template<int codim>
Constructor taking a grid and an entity representation. ◆ Entity() [3/4]
template<int codim>
Constructor taking a grid, entity index, and orientation. ◆ Entity() [4/4]
template<int codim>
Constructor taking a entity index, and orientation. Member Function Documentation◆ father()
template<int codim>
◆ geometry()
template<int codim>
Return the geometry of the entity (does not depend on its orientation). ◆ geometryInFather()
template<int codim>
Return LocalGeometry representing the embedding of the entity into its father (when hasFather() is true). Map from the entity's reference element into the reference element of its father. Currently, LGR is built via refinement of a block-shaped patch from the coarse grid. So the LocalGeometry of an entity coming from the LGR is one of the refined cells of the unit cube, with suitable amount of cells in each direction. ◆ getLevelCartesianIdx()
template<int codim>
Get Cartesian Index in the level grid view where the Entity was born. ◆ getLevelElem()
template<int codim>
Get equivalent element on the level grid view for an element on the leaf grid view. ◆ getOrigin()
template<int codim>
getOrigin() Returns parent entity in level 0, if the entity was born in any LGR. Otherwise, returns itself. ◆ hasBoundaryIntersections()
template<int codim>
Returns true if any of my intersections are on the boundary. Implementation note: This is a slow, computed, function. Could be speeded up by putting boundary info in the CpGrid class. ◆ hasFather()
template<int codim>
ONLY FOR CELLS (Entity<0>) Check if the entity comes from an LGR, i.e., it has been created via refinement from coarser level. @TODO: When distributed_data_ is not empty, check whether the father element exists on the local process, which can be used to test whether it is safe to call father. ◆ hbegin()
template<int codim>
Iterator begin over the children. [If requested, also over descendants more than one generation away.]. ◆ hend()
template<int codim>
Iterator end over the children/beyond last child iterator. Dummy beyond last child iterator. ◆ ileafbegin()
template<int codim>
Start leaf-iterator for the cell-cell intersections of this entity. ◆ ileafend()
template<int codim>
End leaf-iterator for the cell-cell intersections of this entity. ◆ ilevelbegin()
template<int codim>
Start level-iterator for the cell-cell intersections of this entity. ◆ ilevelend()
template<int codim>
End level-iterator for the cell-cell intersections of this entity. ◆ impl() [1/2]
template<int codim>
◆ impl() [2/2]
template<int codim>
Access the actual implementation class behind Entity interface class. Referenced by Dune::cpgrid::Entity< codim >::seed(). ◆ increment()
template<int codim>
Increments the entityrep's index() by one. Referenced by Dune::cpgrid::Iterator< cd, pitype >::Iterator(), and Dune::cpgrid::Iterator< cd, pitype >::operator++(). ◆ index()
template<int codim>
The (positive) index of an entity. Not a Dune interface method.
Referenced by Dune::cpgrid::PointViaCellHandleWrapper< Handle >::gather(), Dune::cpgrid::Intersection::id(), Dune::cpgrid::LevelGlobalIdSet::id(), Dune::cpgrid::IndexSet::index(), Dune::cpgrid::Entity< codim >::isValid(), Dune::cpgrid::Iterator< cd, pitype >::Iterator(), Dune::cpgrid::OrientedEntityTable< codim_from, codim_to >::makeInverseRelation(), Dune::cpgrid::Iterator< cd, pitype >::operator++(), Dune::cpgrid::EntityRep< codim >::operator<(), Dune::cpgrid::EntityVariable< T, codim >::operator[](), Dune::cpgrid::SignedEntityVariable< T, codim >::operator[](), Dune::cpgrid::OrientedEntityTable< codim_from, codim_to >::operator[](), Dune::cpgrid::OrientedEntityTable< codim_from, codim_to >::printRelationMatrix(), Dune::cpgrid::OrientedEntityTable< codim_from, codim_to >::row(), Dune::cpgrid::OrientedEntityTable< codim_from, codim_to >::rowSize(), Dune::cpgrid::PointViaCellHandleWrapper< Handle >::scatter(), and Dune::cpgrid::PointViaCellHandleWrapper< Handle >::size(). ◆ isLeaf()
template<int codim>
Check if the entity is in the leafview. @TODO: Modify the definition to cover serial and parallel cases. Serial: an element is a leaf <-> hbegin and hend return the same iterator Parallel: true <-> the element is a leaf entity of the global refinement hierarchy. ◆ isNew()
template<int codim>
Returns true, if the entity has been created during the last call to adapt(). Dummy. ◆ isRegular()
template<int codim>
Refinement is not defined for CpGrid. ◆ isValid()
template<int codim>
isValid method for EntitySeed
References Dune::cpgrid::EntityRep< codim >::index(). Referenced by Dune::cpgrid::HierarchicIterator::operator*(), and Dune::cpgrid::HierarchicIterator::operator->(). ◆ level()
template<int codim>
Return the level of the entity in the grid hierarchy. Level = 0 represents the coarsest grid. ◆ mightVanish()
template<int codim>
Returns true, if entity might disappear during the next call to adapt(). Dummy. ◆ operator!=() [1/2]
template<int codim>
Inequality. References Dune::cpgrid::Entity< codim >::operator==(). ◆ operator!=() [2/2]
template<int codim>
Inequality operator.
References Dune::cpgrid::EntityRep< codim >::operator==(). ◆ operator<()
template<int codim>
Ordering relation used for maps etc. Sorting on index and then orientation, with positive orientations first.
References Dune::cpgrid::EntityRep< codim >::index(), and Dune::cpgrid::EntityRep< codim >::orientation(). ◆ operator==() [1/2]
template<int codim>
Equality. References Dune::cpgrid::EntityRep< codim >::operator==(), and Dune::cpgrid::Entity< codim >::pgrid_. Referenced by Dune::cpgrid::Entity< codim >::operator!=(). ◆ operator==() [2/2]
template<int codim>
Equality operator.
Referenced by Dune::cpgrid::EntityRep< codim >::operator!=(), and Dune::cpgrid::Entity< codim >::operator==(). ◆ opposite()
template<int codim>
Returns an EntityRep with opposite orientation.
References Dune::cpgrid::EntityRep< codim >::EntityRep(). Referenced by Dune::cpgrid::OrientedEntityTable< codim_from, codim_to >::makeInverseRelation(), Dune::cpgrid::OrientedEntityRange< codim_to >::operator[](), and Dune::cpgrid::MutableOrientedEntityRange< codim_to >::operator[](). ◆ orientation()
template<int codim>
Returns true if the entity has positive orientation. Not a Dune interface method.
Referenced by Dune::cpgrid::OrientedEntityTable< codim_from, codim_to >::makeInverseRelation(), Dune::cpgrid::EntityRep< codim >::operator<(), Dune::cpgrid::SignedEntityVariable< T, codim >::operator[](), Dune::cpgrid::OrientedEntityTable< codim_from, codim_to >::operator[](), and Dune::cpgrid::OrientedEntityTable< codim_from, codim_to >::printRelationMatrix(). ◆ partitionType()
template<int codim>
For now, the grid is serial and the only partitionType() is InteriorEntity. Only needed when distributed_data_ is not empty. Referenced by Dune::cpgrid::PartitionIteratorRule< Interior_Partition >::isInvalid(), Dune::cpgrid::PartitionIteratorRule< InteriorBorder_Partition >::isInvalid(), and Dune::cpgrid::PartitionIteratorRule< Overlap_Partition >::isInvalid(). ◆ seed()
template<int codim>
Return an entity seed (light-weight entity). EntitySeed objects are used to obtain an Entity back when combined with the corresponding grid. For CpGrid, EntitySeed and EntityPtr are the same class. References Dune::cpgrid::Entity< codim >::impl(). ◆ setValue()
template<int codim>
Set entity value.
◆ signedIndex()
template<int codim>
The signed index that also tells us the orientation. ◆ subEntities()
template<int codim>
Return the number of all subentities of the entity of a given codimension cc. ◆ subEntity() [1/2]
template<int codim>
template<int cc>
Obtain subentity. Example: If cc = 3 and i = 5, it returns the 5th corner/vertex of the entity. ◆ subEntity() [2/2]
template<int codim>
template<int cc>
◆ type()
template<int codim>
Return marker object (GeometryType object) representing the reference element of the entity. Currently, cube type for all entities (cells and vertices). Friends And Related Function Documentation◆ CpGridData
template<int codim>
◆ GlobalIdSet
template<int codim>
◆ HierarchicIterator
template<int codim>
◆ LevelGlobalIdSet
template<int codim>
Member Data Documentation◆ pgrid_
template<int codim>
The documentation for this class was generated from the following files: |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||