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
27
28template <int DisplacementDim>
30{
31 // TODO Move initialization to the local assembler.
34 double volume_ratio = 0;
35
36 static auto reflect()
37 {
39
40 return std::tuple{
42 "deformation_gradient", &Self::deformation_gradient),
44 &Self::volume_ratio)};
45 }
46};
47} // namespace ProcessLib::LargeDeformation
Eigen::Matrix< double, tensorSize(Dim), 1 > Tensor
Definition Tensor.h:46
auto makeReflectionData(Accessor &&accessor)