19#ifndef DUMUX_GRIDADAPTINITIALIZATIONINDICATORDEFAULT_HH
20#define DUMUX_GRIDADAPTINITIALIZATIONINDICATORDEFAULT_HH
25#include <dune/common/dynvector.hh>
40template<
class TypeTag>
45 using Element =
typename GridView::Traits::template Codim<0>::Entity;
47 using AdaptionIndicator =
typename GET_PROP_TYPE(TypeTag, AdaptionIndicator);
103 maxLevel_ = getParam<int>(
"GridAdapt.MaxLevel");
#define GET_PROP_TYPE(TypeTag, PropTagName)
Definition: propertysystemmacros.hh:283
make the local view function available whenever we use the grid geometry
Definition: adapt.hh:29
Class defining a start indicator for grid adaption.
Definition: gridadaptinitializationindicatordefault.hh:42
GridAdaptInitializationIndicatorDefault(Problem &problem, AdaptionIndicator &adaptionIndicator)
Constructs a GridAdaptionIndicator for initialization of an adaptive grid.
Definition: gridadaptinitializationindicatordefault.hh:101
void calculateIndicator()
Calculates the indicator used for refinement/coarsening for each grid cell.
Definition: gridadaptinitializationindicatordefault.hh:53
bool refine(const Element &element)
Indicator function for marking of grid cells for refinement.
Definition: gridadaptinitializationindicatordefault.hh:62
int maxLevel()
Definition: gridadaptinitializationindicatordefault.hh:78
void init()
Initializes the adaption indicator class.
Definition: gridadaptinitializationindicatordefault.hh:85
bool coarsen(const Element &element)
Indicator function for marking of grid cells for coarsening.
Definition: gridadaptinitializationindicatordefault.hh:73
bool initializeModel()
Returns true if the IMPET-Model needs to be initialized.
Definition: gridadaptinitializationindicatordefault.hh:89
Declares all properties used in Dumux.
Base file for properties related to sequential models.