|
dune-foamgrid 2.8.0
|
Element specialization of FoamGridEntityImp for 1d grids. Element is a grid entity of topological codimension 0 and dimension dimgrid. More...
#include <dune/foamgrid/foamgrid/foamgridelements.hh>

Public Types | |
| enum | MarkState { DO_NOTHING , COARSEN , REFINE , IS_COARSENED } |
| The different ways to mark an element for grid changes. More... | |
Public Member Functions | |
| FoamGridEntityImp (FoamGridEntityImp< 0, dimgrid, dimworld, ctype > *v0, FoamGridEntityImp< 0, dimgrid, dimworld, ctype > *v1, int level, unsigned int id) | |
| FoamGridEntityImp (FoamGridEntityImp< 0, dimgrid, dimworld, ctype > *v0, FoamGridEntityImp< 0, dimgrid, dimworld, ctype > *v1, int level, unsigned int id, FoamGridEntityImp *father) | |
| FoamGridEntityImp (int level, unsigned int id) | |
| bool | isLeaf () const |
| unsigned int | nSons () const |
| bool | mightVanish () const |
| bool | isNew () const |
| GeometryType | type () const |
| bool | hasFather () const |
| int | corners () const |
| Number of corners (==2) | |
| FieldVector< ctype, dimworld > | corner (int i) const |
| PartitionType | partitionType () const |
| FieldVector< ctype, 1 > | globalToLocal (const FieldVector< ctype, dimworld > &coord) const |
| Compute local cordinates from global ones. | |
| 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 |
Public Attributes | |
| std::array< FoamGridEntityImp< 0, dimgrid, dimworld, ctype > *, 2 > | vertex_ |
| std::array< FoamGridEntityImp< dimgrid-1, dimgrid, dimworld, ctype > *, 2 > | facet_ |
| std::array< FoamGridEntityImp< dimgrid, dimgrid, dimworld, ctype > *, 2 > | sons_ |
| links to refinements of this edge | |
| unsigned int | nSons_ |
| The number of refined edges (0 or 2). | |
| FoamGridEntityImp< dimgrid, dimgrid, dimworld, ctype > * | father_ |
| Pointer to father element. | |
| int | refinementIndex_ |
| MarkState | markState_ |
| bool | isNew_ |
| std::function< FieldVector< ctype, dimworld >(FieldVector< ctype, dimgrid >)> | elementParametrization_ |
| The element parametrization. | |
| bool | coarseningBlocked_ |
| This flag is set by postGrow() if the element looses its right to coarsen because it contains a bifurcation facet without father. | |
| 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. | |
| int | level_ |
| level | |
| unsigned int | levelIndex_ |
| entity number | |
| unsigned int | leafIndex_ |
| unsigned int | id_ |
| bool | willVanish_ |
| Whether this entity will vanish due to coarsening. | |
Element specialization of FoamGridEntityImp for 1d grids. Element is a grid entity of topological codimension 0 and dimension dimgrid.
| enum Dune::FoamGridEntityImp< 1, 1, dimworld, ctype >::MarkState |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Number of corners (==2)
|
inline |
Compute local cordinates from global ones.
| coord | The global coordinates. |
|
inline |
|
inline |
|
inline |
|
inlineinherited |
|
inline |
|
inline |
|
inline |
|
inline |
Return leaf index of sub entity with codim = cc and local number i.
|
inline |
Return level index of sub entity with codim = cc and local number i.
|
inline |
| bool Dune::FoamGridEntityImp< 1, 1, dimworld, ctype >::coarseningBlocked_ |
This flag is set by postGrow() if the element looses its right to coarsen because it contains a bifurcation facet without father.
| std::function<FieldVector<ctype, dimworld>(FieldVector<ctype, dimgrid>)> Dune::FoamGridEntityImp< 1, 1, dimworld, ctype >::elementParametrization_ |
The element parametrization.
| std::array<FoamGridEntityImp<dimgrid-1, dimgrid, dimworld, ctype>*, 2> Dune::FoamGridEntityImp< 1, 1, dimworld, ctype >::facet_ |
| FoamGridEntityImp<dimgrid, dimgrid, dimworld, ctype>* Dune::FoamGridEntityImp< 1, 1, dimworld, ctype >::father_ |
Pointer to father element.
| int Dune::FoamGridEntityImp< 1, 1, dimworld, ctype >::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.
|
inherited |
| bool Dune::FoamGridEntityImp< 1, 1, dimworld, ctype >::isNew_ |
|
inherited |
|
inherited |
level
|
inherited |
entity number
| MarkState Dune::FoamGridEntityImp< 1, 1, dimworld, ctype >::markState_ |
| unsigned int Dune::FoamGridEntityImp< 1, 1, dimworld, ctype >::nSons_ |
The number of refined edges (0 or 2).
| int Dune::FoamGridEntityImp< 1, 1, dimworld, ctype >::refinementIndex_ |
| std::array<FoamGridEntityImp<dimgrid, dimgrid, dimworld, ctype>*, 2> Dune::FoamGridEntityImp< 1, 1, dimworld, ctype >::sons_ |
links to refinements of this edge
| std::array<FoamGridEntityImp<0, dimgrid, dimworld, ctype>*, 2> Dune::FoamGridEntityImp< 1, 1, dimworld, ctype >::vertex_ |
|
inherited |
Whether this entity will vanish due to coarsening.