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

A helper class for local assemblers using numeric differentiation to determine the epsilon. More...

#include <dumux/assembly/numericepsilon.hh>

Description

template<class Scalar, int numEq>
class Dumux::NumericEpsilon< Scalar, numEq >

A helper class for local assemblers using numeric differentiation to determine the epsilon.

Template Parameters
Scalarthe scalar type
numEqthe number of primary variables / equations

Public Member Functions

 NumericEpsilon (const std::string &paramGroup="")
 
Scalar operator() (Scalar priVar, int priVarIdx) const noexcept
 get the epsilon More...
 

Constructor & Destructor Documentation

◆ NumericEpsilon()

template<class Scalar , int numEq>
Dumux::NumericEpsilon< Scalar, numEq >::NumericEpsilon ( const std::string &  paramGroup = "")
inlineexplicit

Member Function Documentation

◆ operator()()

template<class Scalar , int numEq>
Scalar Dumux::NumericEpsilon< Scalar, numEq >::operator() ( Scalar  priVar,
int  priVarIdx 
) const
inlinenoexcept

get the epsilon

Note
If no user input was specified -> try to estimate magnitude from primary variable value else -> use given magnitude for the primary variable times the base epsilon (default 1e-10)

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