OGS
TotalStressData.h
Go to the documentation of this file.
1
11#pragma once
12
13#include "Base.h"
14
16{
17
18template <int DisplacementDim>
20{
21 // Total stress is stateful for some constitutive settings and therefore
22 // must be initialized to something valid, e.g., zero.
23 // TODO find a better solution for that.
24 KelvinVector<DisplacementDim> sigma_total = KV::KVzero<DisplacementDim>();
25
26 static auto reflect()
27 {
29
30 return ProcessLib::Reflection::reflectWithName("sigma_total",
31 &Self::sigma_total);
32 }
33};
34} // namespace ProcessLib::ThermoRichardsMechanics
auto reflectWithName(std::string name, Member Class::*member)
KV::KelvinVectorType< DisplacementDim > KelvinVector
Definition Base.h:26