OGS
ThermoRichardsMechanics/ConstitutiveCommon/Base.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2// SPDX-License-Identifier: BSD-3-Clause
3
4#pragma once
5
11
13{
14
16
18template <int D>
23
25template <int D>
30
32{
34 : medium{medium},
35 liquid{medium.phase("AqueousLiquid")},
36 solid{medium.phase("Solid")}
37 {
38 }
39
43};
44
45template <int DisplacementDim>
47{
48 double T;
49 double T_prev;
50 Eigen::Vector<double, DisplacementDim> grad_T;
51};
52
53template <int DisplacementDim>
55{
56 double p_cap;
57 double p_cap_prev;
58 Eigen::Vector<double, DisplacementDim> grad_p_cap;
59};
60} // namespace ProcessLib::ThermoRichardsMechanics
Eigen::Vector< double, DisplacementDim > GlobalDimVector
Eigen::Matrix< double, DisplacementDim, DisplacementDim, Eigen::RowMajor > GlobalDimMatrix
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.
constexpr GlobalDimMatrix< D > DMnan()
Used to set a D x D matrix to all not-a-number.