Element specialization of FoamGridEntityImp for 2d grids. Element is a grid entity of topological codimension 0 and dimension dimgrid.
More...
#include <dune/foamgrid/foamgrid/foamgridelements.hh>
|
| int | refinementIndex_ |
| | index of the refined element in the father More...
|
| |
| unsigned int | nSons_ |
| |
| std::array< FoamGridEntityImp< dimgrid, dimgrid, dimworld, ctype > *, 4 > | sons_ |
| |
| std::array< FoamGridEntityImp< dimgrid-1, dimgrid, dimworld, ctype > *, 3 > | facet_ |
| |
| std::array< FoamGridEntityImp< 0, dimgrid, dimworld, ctype > *, 3 > | vertex_ |
| |
| MarkState | markState_ |
| | Stores requests for refinement and coarsening. More...
|
| |
| bool | isNew_ |
| | This flag is set by adapt() if this element has been newly created. More...
|
| |
| FoamGridEntityImp< dimgrid, dimgrid,dimworld, ctype > * | father_ |
| |
| std::function< FieldVector< ctype, dimworld >FieldVector< ctype, dimgrid >)> | elementParametrization_ |
| | The element parametrization. More...
|
| |
| bool | coarseningBlocked_ |
| | This flag is set by postGrow() if the element looses its right to coarsen because it contains a bifurcation facet without father. More...
|
| |
| int | growthInsertionIndex_ |
| | If this element was created in a growth step this will be the index of insertion So if this is the first element added to the growth queue by calling insertElement the index is 0 The index will be valid until postGrow is called. To all other times this shall be -1. 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< 2, 2, dimworld, ctype >
Element specialization of FoamGridEntityImp for 2d grids. Element is a grid entity of topological codimension 0 and dimension dimgrid.
◆ MarkState
template<int dimworld, class ctype >
The different ways to mark an element for grid changes.
| Enumerator |
|---|
| DO_NOTHING | |
| COARSEN | |
| REFINE | |
| IS_COARSENED | |
◆ FoamGridEntityImp()
template<int dimworld, class ctype >
◆ corners()
template<int dimworld, class ctype >
◆ globalToLocal()
template<int dimworld, class ctype >
| FieldVector<ctype,2> Dune::FoamGridEntityImp< 2, 2, dimworld, ctype >::globalToLocal |
( |
const FieldVector< ctype, dimworld > & |
coord | ) |
const |
|
inline |
Compute local cordinates from global ones.
- Parameters
-
| coord | The global coordinates. |
- Returns
- The corresponding local coordinates within the element.
◆ hasFather()
template<int dimworld, class ctype >
◆ isLeaf()
template<int dimworld, class ctype >
◆ isNew()
template<int dimworld, class ctype >
◆ level()
| int Dune::FoamGridEntityBase::level |
( |
| ) |
const |
|
inlineinherited |
◆ mightVanish()
template<int dimworld, class ctype >
◆ nSons()
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 >
◆ coarseningBlocked_
template<int dimworld, class ctype >
This flag is set by postGrow() if the element looses its right to coarsen because it contains a bifurcation facet without father.
◆ elementParametrization_
template<int dimworld, class ctype >
| std::function<FieldVector<ctype, dimworld>FieldVector<ctype, dimgrid>)> Dune::FoamGridEntityImp< 2, 2, dimworld, ctype >::elementParametrization_ |
The element parametrization.
◆ facet_
template<int dimworld, class ctype >
◆ father_
template<int dimworld, class ctype >
◆ growthInsertionIndex_
template<int dimworld, class ctype >
If this element was created in a growth step this will be the index of insertion So if this is the first element added to the growth queue by calling insertElement 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 dimworld, class ctype >
This flag is set by adapt() if this element has been newly created.
◆ leafIndex_
| unsigned int Dune::FoamGridEntityBase::leafIndex_ |
|
inherited |
◆ level_
| int Dune::FoamGridEntityBase::level_ |
|
inherited |
◆ levelIndex_
| unsigned int Dune::FoamGridEntityBase::levelIndex_ |
|
inherited |
◆ markState_
template<int dimworld, class ctype >
Stores requests for refinement and coarsening.
◆ nSons_
template<int dimworld, class ctype >
◆ refinementIndex_
template<int dimworld, class ctype >
index of the refined element in the father
For red refinement this is either the index of corner, that is also a corner in the father element, within the father or 3 if no corner is also a corner in the father.
◆ sons_
template<int dimworld, class ctype >
◆ 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: