OGS
BishopsSaturationCutoff.h
Go to the documentation of this file.
1
9#pragma once
10
12
13namespace MaterialPropertyLib
14{
19{
20public:
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
35private:
36 double const S_L_max_; //< Maximum saturation cutoff value.
37};
38} // namespace MaterialPropertyLib
BishopsSaturationCutoff(std::string name, double const cutoff_value)
PropertyDataType dValue(VariableArray const &variable_array, Variable const variable, ParameterLib::SpatialPosition const &, double const, double const) const override
virtual PropertyDataType value() const
Definition Property.cpp:76
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