Vertex specialization of FoamGridEntityImp.
More...
#include <dune/foamgrid/foamgrid/foamgridvertex.hh>
|
| FoamGridEntityImp (int level, const FieldVector< ctype, dimworld > &pos, unsigned int id) |
|
bool | isLeaf () const |
|
GeometryType | type () const |
|
bool | hasFather () const |
|
unsigned int | boundarySegmentIndex () const |
| This has no function yet in Foamgrid.
|
|
unsigned int | boundaryId () const |
| This has no function yet in Foamgrid.
|
|
int | corners () const |
| Number of corners (==1)
|
|
FieldVector< ctype, dimworld > | corner (int i) const |
|
PartitionType | partitionType () const |
|
int | subLevelIndex (int i, unsigned int codim) const |
| Return level index of sub entity with codim = cc and local number i.
|
|
int | subLeafIndex (int i, unsigned int codim) const |
| Return leaf index of sub entity with codim = cc and local number i.
|
|
int | level () const |
|
|
FieldVector< ctype, dimworld > | pos_ |
| Position vector of this vertex.
|
|
unsigned int | nSons_ |
| The number of refined vertices */.
|
|
std::vector< const FoamGridEntityImp< dimgrid, dimgrid,dimworld, ctype > * > | elements_ |
| Elements the vertex is related to.
|
|
std::array< const FoamGridEntityImp< 0, dimgrid,dimworld, ctype > *, 1 > | vertex_ |
| A vertex array for compatibility reasons with edges. Initialized with the this pointer.
|
|
unsigned int | boundarySegmentIndex_ |
| Boundary index if vertex is on boundary.
|
|
unsigned int | boundaryId_ |
|
FoamGridEntityImp< 0, dimgrid, dimworld, ctype > * | father_ |
| Pointer to father vertex on next coarser grid */.
|
|
std::array< FoamGridEntityImp< 0, dimgrid, dimworld, ctype > *, 1 > | sons_ |
| Son vertex on the next finer grid.
|
|
bool | isNew_ |
| If the vertex was newly inserted (at run-time)
|
|
int | growthInsertionIndex_ |
| If this vertex was created in a growth step this will be the index of insertion So if this is the first vertex added to the growth queue by calling insertVertex the index is 0 The index will be valid until postGrow is called. To all other times this shall be -1.
|
|
int | level_ |
| level
|
|
unsigned int | levelIndex_ |
| entity number
|
|
unsigned int | leafIndex_ |
|
unsigned int | id_ |
|
bool | willVanish_ |
| Whether this entity will vanish due to coarsening.
|
|
template<int dimgrid, int dimworld, class ctype>
class Dune::FoamGridEntityImp< 0, dimgrid, dimworld, ctype >
Vertex specialization of FoamGridEntityImp.
◆ FoamGridEntityImp()
template<int dimgrid, int dimworld, class ctype >
Dune::FoamGridEntityImp< 0, dimgrid, dimworld, ctype >::FoamGridEntityImp |
( |
int |
level, |
|
|
const FieldVector< ctype, dimworld > & |
pos, |
|
|
unsigned int |
id |
|
) |
| |
|
inline |
◆ boundaryId()
template<int dimgrid, int dimworld, class ctype >
This has no function yet in Foamgrid.
◆ boundarySegmentIndex()
template<int dimgrid, int dimworld, class ctype >
This has no function yet in Foamgrid.
◆ corner()
template<int dimgrid, int dimworld, class ctype >
◆ corners()
template<int dimgrid, int dimworld, class ctype >
◆ hasFather()
template<int dimgrid, int dimworld, class ctype >
◆ isLeaf()
template<int dimgrid, int dimworld, class ctype >
◆ level()
int Dune::FoamGridEntityBase::level |
( |
| ) |
const |
|
inlineinherited |
◆ partitionType()
template<int dimgrid, int dimworld, class ctype >
◆ subLeafIndex()
template<int dimgrid, int dimworld, class ctype >
Return leaf index of sub entity with codim = cc and local number i.
◆ subLevelIndex()
template<int dimgrid, int dimworld, class ctype >
Return level index of sub entity with codim = cc and local number i.
◆ type()
template<int dimgrid, int dimworld, class ctype >
◆ boundaryId_
template<int dimgrid, int dimworld, class ctype >
◆ boundarySegmentIndex_
template<int dimgrid, int dimworld, class ctype >
Boundary index if vertex is on boundary.
◆ elements_
template<int dimgrid, int dimworld, class ctype >
Elements the vertex is related to.
◆ father_
template<int dimgrid, int dimworld, class ctype >
Pointer to father vertex on next coarser grid */.
◆ growthInsertionIndex_
template<int dimgrid, int dimworld, class ctype >
If this vertex was created in a growth step this will be the index of insertion So if this is the first vertex added to the growth queue by calling insertVertex the index is 0 The index will be valid until postGrow is called. To all other times this shall be -1.
◆ id_
unsigned int Dune::FoamGridEntityBase::id_ |
|
inherited |
◆ isNew_
template<int dimgrid, int dimworld, class ctype >
If the vertex was newly inserted (at run-time)
◆ leafIndex_
unsigned int Dune::FoamGridEntityBase::leafIndex_ |
|
inherited |
◆ level_
int Dune::FoamGridEntityBase::level_ |
|
inherited |
◆ levelIndex_
unsigned int Dune::FoamGridEntityBase::levelIndex_ |
|
inherited |
◆ nSons_
template<int dimgrid, int dimworld, class ctype >
The number of refined vertices */.
◆ pos_
template<int dimgrid, int dimworld, class ctype >
Position vector of this vertex.
◆ sons_
template<int dimgrid, int dimworld, class ctype >
Son vertex on the next finer grid.
◆ vertex_
template<int dimgrid, int dimworld, class ctype >
A vertex array for compatibility reasons with edges. Initialized with the this pointer.
◆ willVanish_
bool Dune::FoamGridEntityBase::willVanish_ |
|
inherited |
Whether this entity will vanish due to coarsening.
The documentation for this class was generated from the following file: