OGS
SigmoidFunction.h
Go to the documentation of this file.
1
13#pragma once
14
15#include "MaterialLib/MPL/VariableType.h" // for VariableArray
17
18namespace MaterialPropertyLib
19{
36class SigmoidFunction final
37{
38public:
39 SigmoidFunction(double const k, double const T_c);
40
41 double value(double const& T) const;
42
43 double dValue(double const& T) const;
44
45 double d2Value(double const& T) const;
46
47private:
48 double const k_; //< steepness (slope parameter)
49 double const T_c_; //< characteristic value
50 // (location of the step)
51};
52} // namespace MaterialPropertyLib
double dValue(double const &T) const
SigmoidFunction(double const k, double const T_c)
double d2Value(double const &T) const
double value(double const &T) const
constexpr double T_c
Critical temperature.