Edge specialization of FoamGridEntityImp. Edges only exist for dimgrid == 2.
More...
#include <dune/foamgrid/foamgrid/foamgridedge.hh>
|
enum | { dimgrid = 2
} |
| Dimension of the grid is always 2 if edges exist. More...
|
|
|
| FoamGridEntityImp (const FoamGridEntityImp< 0, dimgrid, dimworld, ctype > *v0, const FoamGridEntityImp< 0, dimgrid, dimworld, ctype > *v1, int level, unsigned int id) |
|
| FoamGridEntityImp (const FoamGridEntityImp< 0, dimgrid, dimworld, ctype > *v0, const FoamGridEntityImp< 0, dimgrid, dimworld, ctype > *v1, int level, unsigned int id, FoamGridEntityImp *father) |
|
bool | isLeaf () const |
|
unsigned int | boundarySegmentIndex () const |
| This has no function yet in Foamgrid. More...
|
|
unsigned int | boundaryId () const |
| This has no function yet in Foamgrid. More...
|
|
GeometryType | type () const |
|
bool | hasFather () const |
|
int | corners () const |
| Number of corners (==2) More...
|
|
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. More...
|
|
int | subLeafIndex (int i, unsigned int codim) const |
| Return leaf index of sub entity with codim = cc and local number i. More...
|
|
int | level () const |
|
|
std::vector< const FoamGridEntityImp< dimgrid, dimgrid, dimworld, ctype > * > | elements_ |
|
std::array< const FoamGridEntityImp< 0, dimgrid, dimworld, ctype > *, 2 > | vertex_ |
|
unsigned int | boundarySegmentIndex_ |
| The boundary id. Only used if this edge is a boundary edge. More...
|
|
unsigned int | boundaryId_ |
|
std::array< FoamGridEntityImp< 1, dimgrid, dimworld, ctype > *, 2 > | sons_ |
| links to refinements of this edge More...
|
|
unsigned int | nSons_ |
| The number of refined edges (0 or 2). More...
|
|
FoamGridEntityImp< 1, dimgrid, dimworld, ctype > * | father_ |
| Pointer to father edge. More...
|
|
int | level_ |
| level More...
|
|
unsigned int | levelIndex_ |
| entity number More...
|
|
unsigned int | leafIndex_ |
|
unsigned int | id_ |
|
bool | willVanish_ |
| Whether this entity will vanish due to coarsening. More...
|
|
template<int dimworld, class ctype>
class Dune::FoamGridEntityImp< 1, 2, dimworld, ctype >
Edge specialization of FoamGridEntityImp. Edges only exist for dimgrid == 2.
◆ anonymous enum
template<int dimworld, class ctype >
Dimension of the grid is always 2 if edges exist.
◆ FoamGridEntityImp() [1/2]
template<int dimworld, class ctype >
Dune::FoamGridEntityImp< 1, 2, dimworld, ctype >::FoamGridEntityImp |
( |
const FoamGridEntityImp< 0, dimgrid, dimworld, ctype > * |
v0, |
|
|
const FoamGridEntityImp< 0, dimgrid, dimworld, ctype > * |
v1, |
|
|
int |
level, |
|
|
unsigned int |
id |
|
) |
| |
|
inline |
◆ FoamGridEntityImp() [2/2]
template<int dimworld, class ctype >
Dune::FoamGridEntityImp< 1, 2, dimworld, ctype >::FoamGridEntityImp |
( |
const FoamGridEntityImp< 0, dimgrid, dimworld, ctype > * |
v0, |
|
|
const FoamGridEntityImp< 0, dimgrid, dimworld, ctype > * |
v1, |
|
|
int |
level, |
|
|
unsigned int |
id, |
|
|
FoamGridEntityImp< 1, 2, dimworld, ctype > * |
father |
|
) |
| |
|
inline |
◆ boundaryId()
template<int dimworld, class ctype >
This has no function yet in Foamgrid.
◆ boundarySegmentIndex()
template<int dimworld, class ctype >
This has no function yet in Foamgrid.
◆ corner()
template<int dimworld, class ctype >
◆ corners()
template<int dimworld, class ctype >
◆ hasFather()
template<int dimworld, class ctype >
◆ isLeaf()
template<int dimworld, class ctype >
- Todo:
- Implement this method!
◆ level()
int Dune::FoamGridEntityBase::level |
( |
| ) |
const |
|
inlineinherited |
◆ partitionType()
template<int dimworld, class ctype >
◆ subLeafIndex()
template<int dimworld, class ctype >
Return leaf index of sub entity with codim = cc and local number i.
◆ subLevelIndex()
template<int dimworld, class ctype >
Return level index of sub entity with codim = cc and local number i.
◆ type()
template<int dimworld, class ctype >
◆ boundaryId_
template<int dimworld, class ctype >
◆ boundarySegmentIndex_
template<int dimworld, class ctype >
The boundary id. Only used if this edge is a boundary edge.
◆ elements_
template<int dimworld, class ctype >
◆ father_
template<int dimworld, class ctype >
◆ id_
unsigned int Dune::FoamGridEntityBase::id_ |
|
inherited |
◆ leafIndex_
unsigned int Dune::FoamGridEntityBase::leafIndex_ |
|
inherited |
◆ level_
int Dune::FoamGridEntityBase::level_ |
|
inherited |
◆ levelIndex_
unsigned int Dune::FoamGridEntityBase::levelIndex_ |
|
inherited |
◆ nSons_
template<int dimworld, class ctype >
The number of refined edges (0 or 2).
◆ sons_
template<int dimworld, class ctype >
links to refinements of this edge
◆ vertex_
template<int dimworld, class ctype >
◆ 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: