OGS
BishopsPowerLaw.h
Go to the documentation of this file.
1
9
#pragma once
10
11
#include "
MaterialLib/MPL/Property.h
"
12
13
namespace
MaterialPropertyLib
14
{
16
class
BishopsPowerLaw
final :
public
Property
17
{
18
public
:
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
33
private
:
34
double
const
m_
;
//< Exponent.
35
};
36
}
// namespace MaterialPropertyLib
Property.h
MaterialPropertyLib::BishopsPowerLaw
Bishop's power law for effective stress.
Definition
BishopsPowerLaw.h:17
MaterialPropertyLib::BishopsPowerLaw::checkScale
void checkScale() const override
Definition
BishopsPowerLaw.cpp:20
MaterialPropertyLib::BishopsPowerLaw::m_
double const m_
Definition
BishopsPowerLaw.h:34
MaterialPropertyLib::BishopsPowerLaw::BishopsPowerLaw
BishopsPowerLaw(std::string name, double const exponent)
Definition
BishopsPowerLaw.cpp:14
MaterialPropertyLib::BishopsPowerLaw::dValue
PropertyDataType dValue(VariableArray const &variable_array, Variable const variable, ParameterLib::SpatialPosition const &, double const, double const) const override
Definition
BishopsPowerLaw.cpp:40
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
BishopsPowerLaw.h
Generated by
1.10.0