dune-grid 2.9.0
|
Specialization for codim-0-entities. More...
#include <dune/grid/identitygrid/identitygridentity.hh>
Public Types | |
typedef GridImp::HostGridType::Traits::template Codim< CodimInHostGrid >::Entity | HostGridEntity |
typedef GridImp::template Codim< 0 >::Geometry | Geometry |
typedef GridImp::template Codim< 0 >::LocalGeometry | LocalGeometry |
typedef IdentityGridLevelIntersectionIterator< GridImp > | LevelIntersectionIterator |
The Iterator over intersections on this level. More... | |
typedef IdentityGridLeafIntersectionIterator< GridImp > | LeafIntersectionIterator |
The Iterator over intersections on the leaf level. More... | |
typedef IdentityGridHierarchicIterator< GridImp > | HierarchicIterator |
Iterator over descendants of the entity. More... | |
typedef GridImp::template Codim< 0 >::EntitySeed | EntitySeed |
The type of the EntitySeed interface class. More... | |
Public Member Functions | |
IdentityGridEntity () | |
IdentityGridEntity (const GridImp *identityGrid, const HostGridEntity &hostEntity) | |
IdentityGridEntity (const GridImp *identityGrid, HostGridEntity &&hostEntity) | |
IdentityGridEntity (const IdentityGridEntity &original) | |
IdentityGridEntity (IdentityGridEntity &&original) | |
IdentityGridEntity & | operator= (const IdentityGridEntity &original) |
IdentityGridEntity & | operator= (IdentityGridEntity &&original) |
bool | equals (const IdentityGridEntity &other) const |
bool | hasFather () const |
returns true if father entity exists More... | |
EntitySeed | seed () const |
Create EntitySeed. More... | |
int | level () const |
Level of this element. More... | |
PartitionType | partitionType () const |
The partition type for parallel computing. More... | |
Geometry | geometry () const |
Geometry of this entity. More... | |
unsigned int | subEntities (unsigned int codim) const |
Return the number of subEntities of codimension codim. More... | |
template<int cc> | |
GridImp::template Codim< cc >::Entity | subEntity (int i) const |
Provide access to sub entity i of given codimension. Entities are numbered 0 ... subEntities(cc)-1. More... | |
IdentityGridLevelIntersectionIterator< GridImp > | ilevelbegin () const |
First level intersection. More... | |
IdentityGridLevelIntersectionIterator< GridImp > | ilevelend () const |
Reference to one past the last neighbor. More... | |
IdentityGridLeafIntersectionIterator< GridImp > | ileafbegin () const |
First leaf intersection. More... | |
IdentityGridLeafIntersectionIterator< GridImp > | ileafend () const |
Reference to one past the last leaf intersection. More... | |
bool | isLeaf () const |
returns true if Entity has NO children More... | |
GridImp::template Codim< 0 >::Entity | father () 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. More... | |
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. More... | |
IdentityGridHierarchicIterator< GridImp > | hend (int maxLevel) const |
Returns iterator to one past the last son. More... | |
bool | wasRefined () const |
bool | mightBeCoarsened () const |
GeometryType | type () const |
Return the name of the reference element. The type can be used to access the Dune::ReferenceElement. More... | |
Public Attributes | |
HostGridEntity | hostEntity_ |
const GridImp * | identityGrid_ |
Static Public Attributes | |
static constexpr int | CodimInHostGrid = GridImp::HostGridType::dimension - GridImp::dimension |
static constexpr int | codimension |
know your own codimension More... | |
static constexpr int | dimension |
Dimension of the grid. More... | |
static constexpr int | mydimension |
Know dimension of the entity. More... | |
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.
typedef GridImp::template Codim<0>::EntitySeed Dune::IdentityGridEntity< 0, dim, GridImp >::EntitySeed |
The type of the EntitySeed interface class.
typedef GridImp::template Codim<0>::Geometry Dune::IdentityGridEntity< 0, dim, GridImp >::Geometry |
typedef IdentityGridHierarchicIterator<GridImp> Dune::IdentityGridEntity< 0, dim, GridImp >::HierarchicIterator |
Iterator over descendants of the entity.
typedef GridImp::HostGridType::Traits::template Codim<CodimInHostGrid>::Entity Dune::IdentityGridEntity< 0, dim, GridImp >::HostGridEntity |
typedef IdentityGridLeafIntersectionIterator<GridImp> Dune::IdentityGridEntity< 0, dim, GridImp >::LeafIntersectionIterator |
The Iterator over intersections on the leaf level.
typedef IdentityGridLevelIntersectionIterator<GridImp> Dune::IdentityGridEntity< 0, dim, GridImp >::LevelIntersectionIterator |
The Iterator over intersections on this level.
typedef GridImp::template Codim<0>::LocalGeometry Dune::IdentityGridEntity< 0, dim, GridImp >::LocalGeometry |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Inter-level access to father element on coarser grid. Assumes that meshes are nested.
|
inline |
Geometry of this entity.
|
inline |
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.
|
inline |
returns true if father entity exists
|
inline |
Inter-level access to son elements on higher levels<=maxlevel. This is provided for sparsely stored nested unstructured meshes. Returns iterator to first son.
|
inline |
Returns iterator to one past the last son.
|
inline |
First leaf intersection.
|
inline |
Reference to one past the last leaf intersection.
|
inline |
First level intersection.
|
inline |
Reference to one past the last neighbor.
|
inline |
returns true if Entity has NO children
|
inline |
Level of this element.
|
inline |
|
inline |
|
inline |
|
inline |
The partition type for parallel computing.
|
inline |
Create EntitySeed.
|
inline |
Return the number of subEntities of codimension codim.
|
inline |
Provide access to sub entity i of given codimension. Entities are numbered 0 ... subEntities(cc)-1.
|
inlineinherited |
Return the name of the reference element. The type can be used to access the Dune::ReferenceElement.
|
inline |
|
staticconstexprinherited |
know your own codimension
|
staticconstexpr |
|
staticconstexprinherited |
Dimension of the grid.
HostGridEntity Dune::IdentityGridEntity< 0, dim, GridImp >::hostEntity_ |
const GridImp* Dune::IdentityGridEntity< 0, dim, GridImp >::identityGrid_ |
|
staticconstexprinherited |
Know dimension of the entity.