OGS
ThermoRichardsMechanics/ConstitutiveCommon/Base.h
Go to the documentation of this file.
1
10
11#pragma once
12
18
20{
21
23namespace KV = MathLib::KelvinVector;
24
25template <int DisplacementDim>
26using KelvinVector = KV::KelvinVectorType<DisplacementDim>;
27
28template <int DisplacementDim>
29using KelvinMatrix = KV::KelvinMatrixType<DisplacementDim>;
30
31template <int DisplacementDim>
32using GlobalDimVector = Eigen::Vector<double, DisplacementDim>;
33
34template <int DisplacementDim>
36 Eigen::Matrix<double, DisplacementDim, DisplacementDim, Eigen::RowMajor>;
37
39template <int D>
44
46template <int D>
51
53{
55 : medium{medium},
56 liquid{medium.phase("AqueousLiquid")},
57 solid{medium.phase("Solid")}
58 {
59 }
60
64};
65
66template <int DisplacementDim>
68{
69 double T;
70 double T_prev;
71 Eigen::Vector<double, DisplacementDim> grad_T;
72};
73
74template <int DisplacementDim>
76{
77 double p_cap;
78 double p_cap_prev;
79 Eigen::Vector<double, DisplacementDim> grad_p_cap;
80};
81} // namespace ProcessLib::ThermoRichardsMechanics
static constexpr double nan
Convenience alias for not a number.
constexpr GlobalDimVector< D > DVnan()
Used to set a D dimensional vector to all not-a-number.
Eigen::Matrix< double, DisplacementDim, DisplacementDim, Eigen::RowMajor > GlobalDimMatrix
constexpr GlobalDimMatrix< D > DMnan()
Used to set a D x D matrix to all not-a-number.