OGS
CapillaryPressureData.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 <Eigen/Core>
7
9{
10template <int DisplacementDim>
12{
13 double p_cap;
14 double p_cap_prev;
15 Eigen::Vector<double, DisplacementDim> grad_p_cap;
16};
17
18// Explicit instantiation declarations to avoid multiple-definition issues.
19extern template struct CapillaryPressureData<2>;
20extern template struct CapillaryPressureData<3>;
21
22} // namespace ProcessLib::ThermoRichardsMechanics