OGS
ThermoRichardsMechanics/ConstitutiveCommon/PermeabilityData.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
6#include "Base.h"
8
10{
11template <int DisplacementDim>
13{
14 double k_rel;
17
18 static auto reflect()
19 {
21 namespace R = ProcessLib::Reflection;
22
23 return std::tuple{
24 R::makeReflectionData("intrinsic_permeability", &Self::Ki),
25 R::makeReflectionData("relative_permeability", &Self::k_rel)};
26 }
27};
28// Explicit instantiation declarations to avoid multiple-definition issues.
29extern template struct PermeabilityData<2>;
30extern template struct PermeabilityData<3>;
31} // namespace ProcessLib::ThermoRichardsMechanics
Eigen::Matrix< double, DisplacementDim, DisplacementDim, Eigen::RowMajor > GlobalDimMatrix