Class defining a start indicator for grid adaption. More...
#include <dumux/porousmediumflow/sequential/gridadaptinitializationindicatordefault.hh>
Class defining a start indicator for grid adaption.
Default implementation
TypeTag | The problem TypeTag |
Public Member Functions | |
void | calculateIndicator () |
Calculates the indicator used for refinement/coarsening for each grid cell. More... | |
bool | refine (const Element &element) |
Indicator function for marking of grid cells for refinement. More... | |
bool | coarsen (const Element &element) |
Indicator function for marking of grid cells for coarsening. More... | |
int | maxLevel () |
void | init () |
Initializes the adaption indicator class. More... | |
bool | initializeModel () |
Returns true if the IMPET-Model needs to be initialized. More... | |
GridAdaptInitializationIndicatorDefault (Problem &problem, AdaptionIndicator &adaptionIndicator) | |
Constructs a GridAdaptionIndicator for initialization of an adaptive grid. More... | |
|
inline |
Constructs a GridAdaptionIndicator for initialization of an adaptive grid.
Default implementation
problem | The problem object |
adaptionIndicator | Indicator whether a be adapted |
|
inline |
Calculates the indicator used for refinement/coarsening for each grid cell.
|
inline |
Indicator function for marking of grid cells for coarsening.
Returns true if an element should be coarsened.
element | A grid element |
|
inline |
Initializes the adaption indicator class.
|
inline |
Returns true if the IMPET-Model needs to be initialized.
|
inline |
|
inline |
Indicator function for marking of grid cells for refinement.
Returns true if an element should be refined.
element | A grid element |