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;
103 maxLevel_ = getParam<int>(
"GridAdapt.MaxLevel");
typename Properties::Detail::GetPropImpl< TypeTag, Property >::type::type GetPropType
get the type alias defined in the property (equivalent to old macro GET_PROP_TYPE(....
Definition: propertysystem.hh:149
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.