OGS
BishopsSaturationCutoff.h
Go to the documentation of this file.
1
9
#pragma once
10
11
#include "
MaterialLib/MPL/Property.h
"
12
13
namespace
MaterialPropertyLib
14
{
18
class
BishopsSaturationCutoff
final :
public
Property
19
{
20
public
:
21
BishopsSaturationCutoff
(std::string
name
,
double
const
cutoff_value);
22
23
void
checkScale
()
const override
;
24
25
PropertyDataType
value
(
VariableArray
const
& variable_array,
26
ParameterLib::SpatialPosition
const
&
/*pos*/
,
27
double
const
/*t*/
,
28
double
const
/*dt*/
)
const override
;
29
PropertyDataType
dValue
(
VariableArray
const
& variable_array,
30
Variable
const
variable,
31
ParameterLib::SpatialPosition
const
&
/*pos*/
,
32
double
const
/*t*/
,
33
double
const
/*dt*/
)
const override
;
34
35
private
:
36
double
const
S_L_max_
;
//< Maximum saturation cutoff value.
37
};
38
}
// namespace MaterialPropertyLib
Property.h
MaterialPropertyLib::BishopsSaturationCutoff
Definition
BishopsSaturationCutoff.h:19
MaterialPropertyLib::BishopsSaturationCutoff::BishopsSaturationCutoff
BishopsSaturationCutoff(std::string name, double const cutoff_value)
Definition
BishopsSaturationCutoff.cpp:14
MaterialPropertyLib::BishopsSaturationCutoff::dValue
PropertyDataType dValue(VariableArray const &variable_array, Variable const variable, ParameterLib::SpatialPosition const &, double const, double const) const override
Definition
BishopsSaturationCutoff.cpp:41
MaterialPropertyLib::BishopsSaturationCutoff::S_L_max_
double const S_L_max_
Definition
BishopsSaturationCutoff.h:36
MaterialPropertyLib::BishopsSaturationCutoff::checkScale
void checkScale() const override
Definition
BishopsSaturationCutoff.cpp:21
MaterialPropertyLib::Property
Definition
Property.h:51
MaterialPropertyLib::Property::value
virtual PropertyDataType value() const
Definition
Property.cpp:76
MaterialPropertyLib::VariableArray
Definition
VariableType.h:97
ParameterLib::SpatialPosition
Definition
SpatialPosition.h:27
MaterialPropertyLib
Definition
ChemicalSolverInterface.h:21
MaterialPropertyLib::Variable
Variable
Definition
VariableType.h:30
MaterialPropertyLib::name
@ name
Definition
PropertyType.h:66
MaterialPropertyLib::PropertyDataType
std::variant< double, Eigen::Matrix< double, 2, 1 >, Eigen::Matrix< double, 3, 1 >, Eigen::Matrix< double, 2, 2 >, Eigen::Matrix< double, 3, 3 >, Eigen::Matrix< double, 4, 1 >, Eigen::Matrix< double, 6, 1 >, Eigen::MatrixXd > PropertyDataType
Definition
Property.h:31
MaterialLib
MPL
Properties
BishopsSaturationCutoff.h
Generated by
1.12.0