OGS
SolidDensity.cpp
Go to the documentation of this file.
1
10
#include "
SolidDensity.h
"
11
12
namespace
ProcessLib::SmallDeformation
13
{
14
void
SolidDensityModel::eval
(
SpaceTimeData
const
& x_t,
15
MediaData
const
& media_data,
16
Temperature
const
& temperature,
17
SolidDensity
& out)
const
18
{
19
namespace
MPL
=
MaterialPropertyLib
;
20
MPL::VariableArray
variables;
21
variables.
temperature
= *temperature;
22
23
*out = media_data.
solid
.
property
(MPL::PropertyType::density)
24
.template value<double>(variables, x_t.
x
, x_t.
t
, x_t.
dt
);
25
}
26
}
// namespace ProcessLib::SmallDeformation
SolidDensity.h
MaterialPropertyLib::Phase::property
Property const & property(PropertyType const &p) const
Definition
Phase.cpp:53
MaterialPropertyLib::VariableArray
Definition
VariableType.h:97
MaterialPropertyLib::VariableArray::temperature
double temperature
Definition
VariableType.h:188
MaterialPropertyLib
Definition
ChemicalSolverInterface.h:21
ProcessLib::SmallDeformation
Definition
Base.h:20
BaseLib::StrongType
Definition
StrongType.h:25
ProcessLib::ConstitutiveRelations::SpaceTimeData
Definition
Base.h:73
ProcessLib::ConstitutiveRelations::SpaceTimeData::x
ParameterLib::SpatialPosition x
Definition
Base.h:74
ProcessLib::ConstitutiveRelations::SpaceTimeData::t
double t
Definition
Base.h:75
ProcessLib::ConstitutiveRelations::SpaceTimeData::dt
double dt
Definition
Base.h:76
ProcessLib::SmallDeformation::MediaData
Definition
Base.h:35
ProcessLib::SmallDeformation::MediaData::solid
MaterialPropertyLib::Phase const & solid
Definition
Base.h:42
ProcessLib::SmallDeformation::SolidDensityModel::eval
void eval(SpaceTimeData const &x_t, MediaData const &media_data, Temperature const &temperature, SolidDensity &out) const
Definition
SolidDensity.cpp:14
ProcessLib
SmallDeformation
ConstitutiveRelations
SolidDensity.cpp
Generated by
1.10.0