OGS
Gravity.cpp
Go to the documentation of this file.
1
10
#include "
Gravity.h
"
11
12
namespace
ProcessLib::SmallDeformation
13
{
14
template
<
int
DisplacementDim>
15
void
GravityModel<DisplacementDim>::eval
(
16
SolidDensity
const
& rho_SR,
VolumetricBodyForce<DisplacementDim>
& out)
const
17
{
18
*out = *rho_SR * specific_body_force_;
19
}
20
21
template
struct
GravityModel<2>
;
22
template
struct
GravityModel<3>
;
23
}
// namespace ProcessLib::SmallDeformation
Gravity.h
ProcessLib::SmallDeformation
Definition
Base.h:20
BaseLib::StrongType< double, struct SolidDensityTag >
ProcessLib::SmallDeformation::GravityModel
Definition
Gravity.h:23
ProcessLib::SmallDeformation::GravityModel::eval
void eval(SolidDensity const &rho_SR, VolumetricBodyForce< DisplacementDim > &out) const
Definition
Gravity.cpp:15
ProcessLib
SmallDeformation
ConstitutiveRelations
Gravity.cpp
Generated by
1.10.0