OGS
LargeDeformation/ConstitutiveRelations/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
10
12{
13
15
26
27template <int DisplacementDim>
29{
30 // TODO Move initialization to the local assembler.
33 double volume_ratio = 0;
34
35 static auto reflect()
36 {
38
39 return std::tuple{
41 "deformation_gradient", &Self::deformation_gradient),
43 &Self::volume_ratio)};
44 }
45};
46} // namespace ProcessLib::LargeDeformation
Eigen::Matrix< double, tensorSize(Dim), 1 > Tensor
Definition Tensor.h:46
auto makeReflectionData(Accessor &&accessor)