3.2-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Loading...
Searching...
No Matches
Dumux::GridAdapt< TypeTag, false > Class Template Reference

Class for NON-adaptive simulations. More...

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

Inheritance diagram for Dumux::GridAdapt< TypeTag, false >:
Inheritance graph

Description

template<class TypeTag>
class Dumux::GridAdapt< TypeTag, false >

Class for NON-adaptive simulations.

This class provides empty methods for non-adaptive simulations for compilation reasons. If adaptivity is desired, create the class with template arguments <TypeTag, true> instead.

Public Member Functions

void init ()
void adaptGrid ()
bool wasAdapted ()
void setLevels (int, int)
void setTolerance (int, int)
void setIndicator (const ScalarSolutionType &, const Scalar &, const Scalar &)
 GridAdapt (Problem &problem)
void markElements (Indicator &indicator)
int getMaxLevel () const
 Returns maximum refinement level.
int getMinLevel () const
 Returns minimum refinement level.
AdaptionIndicator & adaptionIndicator ()

Constructor & Destructor Documentation

◆ GridAdapt()

template<class TypeTag>
Dumux::GridAdapt< TypeTag, false >::GridAdapt ( Problem & problem)
inline

Member Function Documentation

◆ adaptGrid()

template<class TypeTag>
void Dumux::GridAdapt< TypeTag, false >::adaptGrid ( )
inline

◆ adaptionIndicator()

AdaptionIndicator & Dumux::GridAdapt< TypeTag, adaptive >::adaptionIndicator ( )
inline

◆ getMaxLevel()

int Dumux::GridAdapt< TypeTag, adaptive >::getMaxLevel ( ) const
inline

Returns maximum refinement level.

The value is the assign maximum possible level, not the actual maximum level of the grid.

Returns
levelMax_ maximum level for refinement

◆ getMinLevel()

int Dumux::GridAdapt< TypeTag, adaptive >::getMinLevel ( ) const
inline

Returns minimum refinement level.

The value is the assign minimum possible level, not the actual minimum level of the grid.

Returns
levelMin_ minimum level for coarsening

◆ init()

template<class TypeTag>
void Dumux::GridAdapt< TypeTag, false >::init ( )
inline

◆ markElements()

void Dumux::GridAdapt< TypeTag, adaptive >::markElements ( Indicator & indicator)
inline

Mark Elements for grid refinement according to applied Indicator

Returns
Total ammount of marked cells

◆ setIndicator()

template<class TypeTag>
void Dumux::GridAdapt< TypeTag, false >::setIndicator ( const ScalarSolutionType & ,
const Scalar & ,
const Scalar &  )
inline

◆ setLevels()

template<class TypeTag>
void Dumux::GridAdapt< TypeTag, false >::setLevels ( int ,
int  )
inline

◆ setTolerance()

template<class TypeTag>
void Dumux::GridAdapt< TypeTag, false >::setTolerance ( int ,
int  )
inline

◆ wasAdapted()

template<class TypeTag>
bool Dumux::GridAdapt< TypeTag, false >::wasAdapted ( )
inline

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