DUNE-FEM (unstable)
entity.hh
1// SPDX-FileCopyrightText: Copyright © DUNE Project contributors, see file LICENSE.md in module root
570 return ReferenceElements< ctype, mydimension >::general( asImp().type() ).size( codim - codimension );
636 return ReferenceElements< ctype, mydimension >::general( asImp().type() ).size( codim - codimension );
670 const EntityImp<0,dim,GridImp>& asImp () const { return static_cast<const EntityImp<0,dim,GridImp>&>(*this); }
688 -> decltype(referenceElement<typename GridImp::ctype,GridImp::template Codim<cd>::Geometry::mydimension>(entity.type()))
bool isNew() const
Returns true, if the entity has been created during the last call to adapt()
Definition: entity.hh:646
bool isRegular() const
Returns true if element is of regular type in red/green type refinement. In bisection or hanging node...
Definition: entity.hh:620
bool hasBoundaryIntersections() const
Returns true, if entity has intersections with boundary, this implementation uses the Level- and Leaf...
Definition: entity.hh:656
GridImp::template Codim< 0 >::EntitySeed EntitySeed
The corresponding entity seed (for storage of entities)
Definition: entity.hh:615
GeometryType type() const
Return the name of the reference element. The type can be used to access the Dune::ReferenceElement.
Definition: entity.hh:642
unsigned int subEntities(unsigned int codim) const
Number of subentities for a given codimension.
Definition: entity.hh:633
bool mightVanish() const
Returns true, if entity might disappear during the next call to adapt()
Definition: entity.hh:650
static constexpr int dimension
Dimension of the grid.
Definition: entity.hh:548
static constexpr int codimension
know your own codimension
Definition: entity.hh:545
GridImp::template Codim< cd >::EntitySeed EntitySeed
The corresponding entity seed (for storage of entities)
Definition: entity.hh:554
static constexpr int mydimension
Know dimension of the entity.
Definition: entity.hh:551
GeometryType type() const
Return the name of the reference element. The type can be used to access the Dune::ReferenceElement.
Definition: entity.hh:576
unsigned int subEntities(unsigned int codim) const
Number of subentities for a given codimension.
Definition: entity.hh:567
GeometryType type() const
Return the name of the reference element. The type can be used to access the Dune::ReferenceElement.
Definition: entity.hh:337
bool mightVanish() const
Returns true, if entity might disappear during the next call to adapt(). If the method returns false,...
Definition: entity.hh:505
HierarchicIterator hend(int maxLevel) const
Returns iterator to one past the last son element.
Definition: entity.hh:492
GridImp::template Codim< 0 >::Geometry Geometry
The geometry type of this entity.
Definition: entity.hh:268
Implementation & impl()
Return reference to the real implementation.
Definition: entity.hh:252
Entity & operator=(const Entity &other)
Copy assignment operator from an existing entity.
Definition: entity.hh:370
unsigned int subEntities(unsigned int codim) const
Number of subentities for a given codimension.
Definition: entity.hh:329
Codim< codim >::Entity subEntity(int i) const
Obtain a subentity.
Definition: entity.hh:403
Entity(EntityImp< 0, dim, GridImp > &&e)
Move constructor from EntityImp.
Definition: entity.hh:522
Entity(Entity &&other)
Move constructor from an existing entity.
Definition: entity.hh:365
Entity father() const
Inter-level access to father entity on the next-coarser grid. The given entity resulted directly from...
Definition: entity.hh:418
Entity & operator=(Entity &&other)
Move assignment operator from an existing entity.
Definition: entity.hh:377
Entity(const EntityImp< 0, dim, GridImp > &e)
Copy constructor from EntityImp.
Definition: entity.hh:519
HierarchicIterator hbegin(int maxLevel) const
Inter-level access to elements that resulted from (recursive) subdivision of this element.
Definition: entity.hh:480
bool hasBoundaryIntersections() const
Returns true, if entity has intersections with boundary.
Definition: entity.hh:509
EntitySeed seed() const
Return the entity seed which contains sufficient information to generate the entity again and uses as...
Definition: entity.hh:342
Entity(const Entity &other)
Copy constructor from an existing entity.
Definition: entity.hh:360
Geometry geometry() const
obtain geometric realization of the entity
Definition: entity.hh:316
bool operator==(const Entity &other) const
Compares two entities for equality.
Definition: entity.hh:345
bool hasFather() const
Return true if entity has a father entity which can be accessed using the father() method.
Definition: entity.hh:426
int level() const
The level of this entity.
Definition: entity.hh:310
GridImp::template Codim< 0 >::EntitySeed EntitySeed
The corresponding entity seed (for storage of entities)
Definition: entity.hh:271
GridImp::template Codim< 0 >::LocalGeometry LocalGeometry
The geometry type of this entity when the geometry is expressed embedded in the father element.
Definition: entity.hh:280
bool isNew() const
Returns true, if the entity has been created during the last call to adapt()
Definition: entity.hh:499
bool isLeaf() const
Returns true if the entity is contained in the leaf grid.
Definition: entity.hh:432
PartitionType partitionType() const
Partition type of this entity.
Definition: entity.hh:313
const Implementation & impl() const
Return const reference to the real implementation.
Definition: entity.hh:254
bool isRegular() const
Returns true if element is of regular type in red/green type refinement. In bisection or hanging node...
Definition: entity.hh:440
bool operator!=(const Entity &other) const
Compares two entities for inequality.
Definition: entity.hh:351
LocalGeometry geometryInFather() const
Provides information how this element has been subdivided from its father element.
Definition: entity.hh:467
EntityImp< 0, dim, GridImp > Implementation
Type of underlying implementation.
Definition: entity.hh:249
GridImp::HierarchicIterator HierarchicIterator
The HierarchicIterator type.
Definition: entity.hh:290
const Implementation & impl() const
access to the underlying implementation
Definition: entity.hh:86
bool operator!=(const Entity &other) const
Compares two entities for inequality.
Definition: entity.hh:176
unsigned int subEntities(unsigned int codim) const
Number of subentities for a given codimension.
Definition: entity.hh:159
PartitionType partitionType() const
Partition type of this entity.
Definition: entity.hh:127
static constexpr int mydimension
Dimensionality of the reference element of the entity.
Definition: entity.hh:112
Entity & operator=(Entity &&other)
Move assignment operator from an existing entity.
Definition: entity.hh:202
Entity(Entity &&other)
Move constructor from an existing entity.
Definition: entity.hh:190
EntitySeed seed() const
Return the entity seed which contains sufficient information to generate the entity again and uses as...
Definition: entity.hh:167
Geometry geometry() const
obtain geometric realization of the entity
Definition: entity.hh:141
Entity & operator=(const Entity &other)
Copy assignment operator from an existing entity.
Definition: entity.hh:195
GridImp::template Codim< cd >::Geometry Geometry
The corresponding geometry type.
Definition: entity.hh:100
GridImp::template Codim< cd >::EntitySeed EntitySeed
The corresponding entity seed (for storage of entities)
Definition: entity.hh:103
auto referenceElement(const Entity< cd, dim, GridImp, EntityImp > &entity) -> decltype(referenceElement< typename GridImp::ctype, GridImp::template Codim< cd >::Geometry::mydimension >(entity.type()))
Second-level dispatch to select the correct reference element for a grid entity.
Definition: entity.hh:687
static constexpr int codimension
Know your own codimension.
Definition: entity.hh:106
static constexpr int dimension
Know the grid dimension.
Definition: entity.hh:109
Implementation & impl()
access to the underlying implementation
Definition: entity.hh:80
Entity(const Entity &other)
Copy constructor from an existing entity.
Definition: entity.hh:185
bool operator==(const Entity &other) const
Compares two entities for equality.
Definition: entity.hh:170
Entity(const EntityImp< cd, dim, GridImp > &e)
Copy constructor from EntityImp.
Definition: entity.hh:217
EntityImp< cd, dim, GridImp > Implementation
type of underlying implementation
Definition: entity.hh:73
GeometryType type() const
Return the name of the reference element. The type can be used to access the Dune::ReferenceElement.
Definition: entity.hh:146
Entity(EntityImp< cd, dim, GridImp > &&e)
Move constructor from EntityImp.
Definition: entity.hh:220
Unique label for each type of entities that can occur in DUNE grids.
Definition: type.hh:114
Mesh entities of codimension 0 ("elements") allow to visit all intersections with "neighboring" eleme...
Definition: intersectioniterator.hh:83
PartitionType
Attributes used in the generic overlap model.
Definition: gridenums.hh:30
STL namespace.
static const ReferenceElement & general(const GeometryType &type)
get general reference elements
Definition: referenceelements.hh:156
Traits for type conversions and type information.
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 12, 23:30, 2024)