OGS
CubicLawPermeability.cpp
Go to the documentation of this file.
1
11
12namespace MaterialPropertyLib
13{
15 VariableArray const& /*variable_array*/,
16 ParameterLib::SpatialPosition const& pos, double const t,
17 double const /*dt*/) const
18{
19 double const aperture_m = _b(t, pos)[0];
20 return aperture_m * aperture_m / 12;
21}
22
24 VariableArray const& /*variable_array*/, Variable const /*variable*/,
25 ParameterLib::SpatialPosition const& /*pos*/, double const /*t*/,
26 double const /*dt*/) const
27{
28 OGS_FATAL("CubicLawPermeability::dValue is not implemented.");
29}
30} // namespace MaterialPropertyLib
#define OGS_FATAL(...)
Definition Error.h:26
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
PropertyDataType dValue(VariableArray const &variable_array, Variable const variable, ParameterLib::SpatialPosition const &pos, double const t, double const dt) const override
ParameterLib::Parameter< double > const & _b
fracture aperture