OGS
Biot.cpp
Go to the documentation of this file.
1
10#include "Biot.h"
11
12namespace ProcessLib::TH2M
13{
14namespace ConstitutiveRelations
15{
16void BiotModel::eval(SpaceTimeData const& x_t, MediaData const& media_data,
17 BiotData& out) const
18{
19 namespace MPL = MaterialPropertyLib;
20 MPL::VariableArray variables;
21
22 *out = media_data.medium.property(MPL::PropertyType::biot_coefficient)
23 .template value<double>(variables, x_t.x, x_t.t, x_t.dt);
24}
25} // namespace ConstitutiveRelations
26} // namespace ProcessLib::TH2M
Property const & property(PropertyType const &p) const
Definition Medium.cpp:54
ParameterLib::SpatialPosition x
Definition Base.h:74
void eval(SpaceTimeData const &x_t, MediaData const &media_data, BiotData &out) const
Definition Biot.cpp:16
MaterialPropertyLib::Medium const & medium
Definition Base.h:45