OGS
MaterialState.h
Go to the documentation of this file.
1
10
#pragma once
11
12
#include "
MaterialLib/SolidModels/MechanicsBase.h
"
13
14
namespace
ProcessLib::TH2M
15
{
16
namespace
ConstitutiveRelations
17
{
18
template
<
int
DisplacementDim>
19
class
MaterialStateData
20
{
21
using
MSV
=
typename
MaterialLib::Solids::MechanicsBase
<
22
DisplacementDim>::MaterialStateVariables;
23
24
public
:
25
explicit
MaterialStateData
(std::unique_ptr<MSV>&&
material_state_variables
)
26
:
material_state_variables
(std::move(
material_state_variables
))
27
{
28
}
29
30
void
pushBackState
() {
material_state_variables
->pushBackState(); }
31
32
std::unique_ptr<MSV>
material_state_variables
;
33
};
34
}
// namespace ConstitutiveRelations
35
}
// namespace ProcessLib::TH2M
MechanicsBase.h
ProcessLib::TH2M::ConstitutiveRelations::MaterialStateData
Definition
MaterialState.h:20
ProcessLib::TH2M::ConstitutiveRelations::MaterialStateData::pushBackState
void pushBackState()
Definition
MaterialState.h:30
ProcessLib::TH2M::ConstitutiveRelations::MaterialStateData::material_state_variables
std::unique_ptr< MSV > material_state_variables
Definition
MaterialState.h:32
ProcessLib::TH2M::ConstitutiveRelations::MaterialStateData::MaterialStateData
MaterialStateData(std::unique_ptr< MSV > &&material_state_variables)
Definition
MaterialState.h:25
ProcessLib::TH2M::ConstitutiveRelations::MaterialStateData::MSV
typename MaterialLib::Solids::MechanicsBase< DisplacementDim >::MaterialStateVariables MSV
Definition
MaterialState.h:21
ProcessLib::TH2M
Definition
Advection.cpp:13
MaterialLib::Solids::MechanicsBase
Definition
ThermoMechanicsProcessData.h:25
ProcessLib
TH2M
ConstitutiveRelations
MaterialState.h
Generated by
1.11.0