OGS
MechanicalStrainData.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
8
10{
11template <int DisplacementDim>
13{
14 // TODO it seems fragile that some data have to be initialized that way.
17
18 static auto reflect()
19 {
21
22 return ProcessLib::Reflection::reflectWithName("eps_m", &Self::eps_m);
23 }
24};
25
26} // namespace ProcessLib::ConstitutiveRelations
Eigen::Matrix< double, kelvin_vector_dimensions(DisplacementDim), 1, Eigen::ColMajor > KelvinVectorType
constexpr auto KVzero()
Returns an expressions for a Kelvin vector filled with zero.
auto reflectWithName(std::string name, Member Class::*member)
MathLib::KelvinVector::KelvinVectorType< DisplacementDim > eps_m