OGS
Base.h
Go to the documentation of this file.
1
11#pragma once
12
18
20{
21
23namespace KV = MathLib::KelvinVector;
24
25template <int DisplacementDim>
27
28template <int 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
Eigen::Matrix< double, kelvin_vector_dimensions(DisplacementDim), 1, Eigen::ColMajor > KelvinVectorType
Eigen::Matrix< double, kelvin_vector_dimensions(DisplacementDim), kelvin_vector_dimensions(DisplacementDim), Eigen::RowMajor > KelvinMatrixType
static constexpr double nan
Convenience alias for not a number.
Definition Base.h:80
constexpr GlobalDimVector< D > DVnan()
Used to set a D dimensional vector to all not-a-number.
Definition Base.h:40
KV::KelvinVectorType< DisplacementDim > KelvinVector
Definition Base.h:26
Eigen::Matrix< double, DisplacementDim, DisplacementDim, Eigen::RowMajor > GlobalDimMatrix
Definition Base.h:35
KV::KelvinMatrixType< DisplacementDim > KelvinMatrix
Definition Base.h:29
constexpr GlobalDimMatrix< D > DMnan()
Used to set a D x D matrix to all not-a-number.
Definition Base.h:47
Eigen::Vector< double, DisplacementDim > GlobalDimVector
Definition Base.h:32
Eigen::Vector< double, DisplacementDim > grad_p_cap
Definition Base.h:79
MediaData(MaterialPropertyLib::Medium const &medium)
Definition Base.h:54
MaterialPropertyLib::Medium const & medium
Definition Base.h:61
MaterialPropertyLib::Phase const & liquid
Definition Base.h:62
MaterialPropertyLib::Phase const & solid
Definition Base.h:63
Eigen::Vector< double, DisplacementDim > grad_T
Definition Base.h:71