OGS
RichardsMechanics/ConstitutiveRelations/Base.h
Go to the documentation of this file.
1
10
11#pragma once
12
13#include "BaseLib/StrongType.h"
19
21{
22
23using namespace ProcessLib::ConstitutiveRelations;
24namespace KV = MathLib::KelvinVector;
25
26template <int DisplacementDim>
27using KelvinVector = KV::KelvinVectorType<DisplacementDim>;
28
29template <int DisplacementDim>
30using KelvinMatrix = KV::KelvinMatrixType<DisplacementDim>;
31
32template <int DisplacementDim>
33using GlobalDimVector = Eigen::Vector<double, DisplacementDim>;
34
35template <int DisplacementDim>
37 Eigen::Matrix<double, DisplacementDim, DisplacementDim, Eigen::RowMajor>;
38
40template <int D>
45
47template <int D>
52
54{
56 : medium{medium},
57 liquid{medium.phase("AqueousLiquid")},
58 solid{medium.phase("Solid")}
59 {
60 }
61
65};
66
68
69template <int DisplacementDim>
71{
72 double p_cap;
73 double p_cap_prev;
74 Eigen::Vector<double, DisplacementDim> grad_p_cap;
75};
76} // namespace ProcessLib::RichardsMechanics
static constexpr double nan
Convenience alias for not a number.
Eigen::Vector< double, DisplacementDim > GlobalDimVector
BaseLib::StrongType< double, struct TemperatureDataTag > TemperatureData
Eigen::Matrix< double, DisplacementDim, DisplacementDim, Eigen::RowMajor > GlobalDimMatrix
KV::KelvinMatrixType< DisplacementDim > KelvinMatrix
KV::KelvinVectorType< DisplacementDim > KelvinVector
constexpr GlobalDimMatrix< D > DMnan()
Used to set a D x D matrix to all not-a-number.
constexpr GlobalDimVector< D > DVnan()
Used to set a D dimensional vector to all not-a-number.