3.2-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Public Member Functions | List of all members
Dumux::GridAdaptInitializationIndicatorDefault< TypeTag > Class Template Reference

Class defining a start indicator for grid adaption. More...

#include <dumux/porousmediumflow/sequential/gridadaptinitializationindicatordefault.hh>

Description

template<class TypeTag>
class Dumux::GridAdaptInitializationIndicatorDefault< TypeTag >

Class defining a start indicator for grid adaption.

Default implementation

Template Parameters
TypeTagThe 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...
 

Constructor & Destructor Documentation

◆ GridAdaptInitializationIndicatorDefault()

template<class TypeTag >
Dumux::GridAdaptInitializationIndicatorDefault< TypeTag >::GridAdaptInitializationIndicatorDefault ( Problem &  problem,
AdaptionIndicator &  adaptionIndicator 
)
inline

Constructs a GridAdaptionIndicator for initialization of an adaptive grid.

Default implementation

Parameters
problemThe problem object
adaptionIndicatorIndicator whether a be adapted

Member Function Documentation

◆ calculateIndicator()

template<class TypeTag >
void Dumux::GridAdaptInitializationIndicatorDefault< TypeTag >::calculateIndicator ( )
inline

Calculates the indicator used for refinement/coarsening for each grid cell.

◆ coarsen()

template<class TypeTag >
bool Dumux::GridAdaptInitializationIndicatorDefault< TypeTag >::coarsen ( const Element &  element)
inline

Indicator function for marking of grid cells for coarsening.

Returns true if an element should be coarsened.

Parameters
elementA grid element

◆ init()

template<class TypeTag >
void Dumux::GridAdaptInitializationIndicatorDefault< TypeTag >::init ( )
inline

Initializes the adaption indicator class.

◆ initializeModel()

template<class TypeTag >
bool Dumux::GridAdaptInitializationIndicatorDefault< TypeTag >::initializeModel ( )
inline

Returns true if the IMPET-Model needs to be initialized.

◆ maxLevel()

template<class TypeTag >
int Dumux::GridAdaptInitializationIndicatorDefault< TypeTag >::maxLevel ( )
inline

◆ refine()

template<class TypeTag >
bool Dumux::GridAdaptInitializationIndicatorDefault< TypeTag >::refine ( const Element &  element)
inline

Indicator function for marking of grid cells for refinement.

Returns true if an element should be refined.

Parameters
elementA grid element

The documentation for this class was generated from the following file: