|
dune-mmesh 1.4.1-git
|
Loading...
Searching...
No Matches
interface/entity.hh
Go to the documentation of this file.
STL namespace.
size_type dim() const
#define DUNE_THROW(E,...)
LocalIndex & local()
PartitionType
const EntityType & entity() const
IteratorImp Implementation
StackAllocator< U, S > other
Iterator over the descendants of an entity.Mesh entities of codimension 0 ("elements") allow to visit...
Definition grid/hierarchiciterator.hh:22
Definition multiid.hh:15
The implementation of entities in a MMesh interface grid.
Definition interface/entity.hh:34
int level() const
level of this element
Definition interface/entity.hh:122
GridImp::template Codim< codim >::EntitySeed EntitySeed
The type of the EntitySeed interface class.
Definition interface/entity.hh:60
std::enable_if_t< cc==codim, typename GridImp::template Codim< cc >::Entity > subEntity(std::size_t i) const
Provide access to sub entity i for cc == dim.
Definition interface/entity.hh:144
friend class MMeshInterfaceGridLocalIdSet
Definition interface/entity.hh:39
GeometryType type() const
returns the geometry type
Definition interface/entity.hh:162
unsigned int subEntities(unsigned int cc) const
Return the number of subEntities of codimension codim.
Definition interface/entity.hh:134
bool hasConnectedComponent() const
returns true if connected component entity exists
Definition interface/entity.hh:116
auto incidentInterfaceVerticesBegin() const
First incident vertex.
Definition interface/entity.hh:231
MMeshInterfaceGridEntity & operator=(MMeshInterfaceGridEntity &&original)
Definition interface/entity.hh:87
auto incidentInterfaceVerticesEnd() const
Last incident vertex.
Definition interface/entity.hh:243
auto incidentInterfaceElementsEnd() const
Last incident element.
Definition interface/entity.hh:272
const GridImp & grid() const
returns the grid
Definition interface/entity.hh:300
std::enable_if_t< cc==codim+1, typename GridImp::template Codim< cc >::Entity > subEntity(std::size_t i) const
Provide access to sub entity i for cc == dim-1.
Definition interface/entity.hh:153
MMeshInterfaceGridEntity(MMeshInterfaceGridEntity &&original)
Definition interface/entity.hh:75
EntitySeed seed() const
Return entity seed.
Definition interface/entity.hh:119
MMeshInterfaceGridEntity & operator=(const MMeshInterfaceGridEntity &original)
Definition interface/entity.hh:78
bool isTip() const
Return if this vertex is a tip.
Definition interface/entity.hh:168
const MMeshInterfaceEntity & hostEntity() const
Return reference to the host entity.
Definition interface/entity.hh:289
bool isInterface() const
returns that entity is part of the interface
Definition interface/entity.hh:165
std::size_t insertionLevel() const
Return the insertion level of the vertex.
Definition interface/entity.hh:201
GridImp::template Codim< codim >::Geometry Geometry
Definition interface/entity.hh:57
int boundaryFlag() const
Definition interface/entity.hh:193
auto incidentVerticesBegin(bool includeInfinite) const
First incident vertex.
Definition interface/entity.hh:209
PartitionType partitionType() const
The partition type for parallel computing.
Definition interface/entity.hh:128
auto incidentInterfaceElementsBegin() const
First incident element.
Definition interface/entity.hh:255
MMeshInterfaceGridEntity(const MMeshInterfaceGridEntity &original)
Definition interface/entity.hh:72
std::enable_if_t< cc==1 &&dim==2, bool > equals(const MMeshInterfaceGridEntity &other) const
Definition interface/entity.hh:104
MMeshInterfaceGridEntity(const GridImp *grid, const MMeshInterfaceEntity &hostEntity)
Definition interface/entity.hh:64
Geometry geometry() const
geometry of this entity
Definition interface/entity.hh:159
std::enable_if_t< cc==dim, bool > equals(const MMeshInterfaceGridEntity &other) const
Definition interface/entity.hh:97
MMeshInterfaceGridEntity(const GridImp *grid, MMeshInterfaceEntity &&hostEntity)
Definition interface/entity.hh:68
auto incidentVerticesEnd(bool includeInfinite) const
Last incident vertex.
Definition interface/entity.hh:220
MMeshInterfaceGridEntity(const GridImp *grid, const MMeshInterfaceEntity &hostEntity)
Definition interface/entity.hh:372
std::enable_if_t< d==2, bool > equals(const MMeshInterfaceGridEntity &other) const
Definition interface/entity.hh:451
const GridImp & grid() const
returns the host entity
Definition interface/entity.hh:656
MMeshInterfaceGridLeafIntersectionIterator< GridImp > ilevelend() const
Definition interface/entity.hh:624
bool isLeaf() const
returns true if Entity has no children
Definition interface/entity.hh:641
const bool isNew() const
returns true if this entity is new after adaptation
Definition interface/entity.hh:511
GridImp::template Codim< 0 >::EntitySeed EntitySeed
The type of the EntitySeed interface class.
Definition interface/entity.hh:353
MMeshInterfaceGridHierarchicIterator< GridImp > hend(int maxlevel) const
Reference to one past the last hierarchic entity.
Definition interface/entity.hh:635
GridImp::ConnectedComponent ConnectedComponent
The type of the connected component.
Definition interface/entity.hh:356
std::enable_if_t< cc==dim, typename GridImp::template Codim< cc >::Entity > subEntity(std::size_t i) const
Provide access to sub entity i of given codimension. Entities are numbered 0 ... subEntities(cc)-1.
Definition interface/entity.hh:576
LocalGeometry geometryInFather() const
Definition interface/entity.hh:491
std::size_t subEntities(std::size_t cc) const
Return the number of subEntities of codimension cc.
Definition interface/entity.hh:556
MMeshInterfaceGridEntity(const GridImp *grid, MMeshInterfaceEntity &&hostEntity)
Definition interface/entity.hh:383
void bindFather(const EntityType &father) const
Definition interface/entity.hh:487
MMeshInterfaceGridLeafIntersectionIterator< GridImp > ileafbegin() const
First leaf intersection.
Definition interface/entity.hh:608
const ConnectedComponent & connectedComponent() const
returns the connected component
Definition interface/entity.hh:467
void setIsNew(bool isNew) const
set if this entity is new after adaptation
Definition interface/entity.hh:514
bool wasRefined() const
returns if grid was refined
Definition interface/entity.hh:644
int level() const
Level of this element.
Definition interface/entity.hh:536
EntitySeed seed() const
Create EntitySeed.
Definition interface/entity.hh:533
bool operator<(const MMeshInterfaceGridEntity &other) const
returns true if host entities are equal
Definition interface/entity.hh:462
MMeshInterfaceGridLeafIntersectionIterator< GridImp > ilevelbegin() const
We only have one level.
Definition interface/entity.hh:620
bool operator==(const MMeshInterfaceGridEntity &other) const
returns true if host entities are equal
Definition interface/entity.hh:457
GridImp::template MMeshInterfaceEntity< dim > MMeshInterfaceVertex
Definition interface/entity.hh:339
MMeshInterfaceGridEntity(const GridImp *grid, const VertexStorage &vertex)
Definition interface/entity.hh:399
std::enable_if_t< cc==1 &&dim==2, typename GridImp::template Codim< cc >::Entity > subEntity(std::size_t i) const
Provide access to sub entity i of given codimension. Entities are numbered 0 ... subEntities(cc)-1.
Definition interface/entity.hh:592
MMeshInterfaceGridEntity & operator=(MMeshInterfaceGridEntity &&original)
Definition interface/entity.hh:431
GridImp::template MMeshInterfaceEntity< 0 > MMeshInterfaceEntity
Definition interface/entity.hh:336
bool mightBeCoarsened() const
returns if grid might be coarsened
Definition interface/entity.hh:647
MMeshInterfaceGridLeafIntersectionIterator< GridImp > ileafend() const
Reference to one past the last leaf intersection.
Definition interface/entity.hh:614
MMeshInterfaceGridHierarchicIterator< GridImp > hbegin(int maxlevel) const
First hierarchic entity, i.e. this entity, because we only have one level.
Definition interface/entity.hh:629
bool hasFather() const
returns true if father entity exists
Definition interface/entity.hh:485
Geometry geometry() const
Geometry of this entity.
Definition interface/entity.hh:548
bool hasConnectedComponent() const
returns true if a connected component exists
Definition interface/entity.hh:472
const MMeshInterfaceEntity & hostEntity() const
returns the host entity
Definition interface/entity.hh:653
void mark(int refCount) const
mark entity for refine or coarse
Definition interface/entity.hh:527
const bool mightVanish() const
returns true if this entity will vanish after adaptation
Definition interface/entity.hh:517
std::enable_if_t< d==1, bool > equals(const MMeshInterfaceGridEntity &other) const
Definition interface/entity.hh:444
void setWillVanish(bool mightVanish) const
set if this entity will vanish after adaptation
Definition interface/entity.hh:522
MMeshInterfaceGridEntity(const GridImp *grid, const MMeshInterfaceEntity &hostEntity, const IdType &id)
Definition interface/entity.hh:394
int getMark() const
get mark of entity
Definition interface/entity.hh:530
GeometryType type() const
returns the geometry type
Definition interface/entity.hh:650
MMeshInterfaceGridEntity(const MMeshInterfaceGridEntity &original)
Definition interface/entity.hh:405
MMeshInterfaceGridEntity & operator=(const MMeshInterfaceGridEntity &original)
Definition interface/entity.hh:419
GridImp::template Codim< 0 >::Geometry Geometry
Definition interface/entity.hh:341
IdType id() const
return cached id
Definition interface/entity.hh:659
const EntityType * father_
Definition interface/entity.hh:692
auto father() const
returns the father entity
Definition interface/entity.hh:477
GridImp::template Codim< 0 >::LocalGeometry LocalGeometry
Definition interface/entity.hh:343
MMeshInterfaceGridEntity(MMeshInterfaceGridEntity &&original)
Definition interface/entity.hh:412
PartitionType partitionType() const
The partition type for parallel computing.
Definition interface/entity.hh:542
std::enable_if_t< cc==0, typename GridImp::template Codim< cc >::Entity > subEntity(std::size_t i) const
Provide access to sub entity i of given codimension. Entities are numbered 0 ... subEntities(cc)-1.
Definition interface/entity.hh:567
VertexStorage vertex_
the vertices of the host entity object of this entity (for caching entity)
Definition interface/entity.hh:690
Iterator over the descendants of an entity.Mesh entities of codimension 0 ("elements") allow to visit...
Definition interface/hierarchiciterator.hh:22
Definition interface/indexsets.hh:18
Definition interface/indexsets.hh:355
Iterator over all element neighborsMesh entities of codimension 0 ("elements") allow to visit all nei...
Definition interface/intersectioniterator.hh:28
Some common helper methods.
The MMeshIncidentIterator class.
T begin(T... args)
T end(T... args)
T sort(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8