OGS
SolidDensity.cpp
Go to the documentation of this file.
1
10#include "SolidDensity.h"
11
13{
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
Property const & property(PropertyType const &p) const
Definition Phase.cpp:53
ParameterLib::SpatialPosition x
Definition Base.h:74
MaterialPropertyLib::Phase const & solid
Definition Base.h:42
void eval(SpaceTimeData const &x_t, MediaData const &media_data, Temperature const &temperature, SolidDensity &out) const