OGS
BishopsPowerLaw.h
Go to the documentation of this file.
1
9#pragma once
10
12
13namespace MaterialPropertyLib
14{
16class BishopsPowerLaw final : public Property
17{
18public:
19 BishopsPowerLaw(std::string name, double const exponent);
20
21 void checkScale() const override;
22
23 PropertyDataType value(VariableArray const& variable_array,
24 ParameterLib::SpatialPosition const& /*pos*/,
25 double const /*t*/,
26 double const /*dt*/) const override;
27 PropertyDataType dValue(VariableArray const& variable_array,
28 Variable const variable,
29 ParameterLib::SpatialPosition const& /*pos*/,
30 double const /*t*/,
31 double const /*dt*/) const override;
32
33private:
34 double const m_; //< Exponent.
35};
36} // namespace MaterialPropertyLib
Bishop's power law for effective stress.
BishopsPowerLaw(std::string name, double const exponent)
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