OGS
Gravity.cpp
Go to the documentation of this file.
1
10
#include "
Gravity.h
"
11
12
namespace
ProcessLib::LargeDeformation
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::LargeDeformation
Gravity.h
ProcessLib::LargeDeformation
Definition
Base.h:21
BaseLib::StrongType< double, struct SolidDensityTag >
ProcessLib::LargeDeformation::GravityModel
Definition
Gravity.h:23
ProcessLib::LargeDeformation::GravityModel::eval
void eval(SolidDensity const &rho_SR, VolumetricBodyForce< DisplacementDim > &out) const
Definition
Gravity.cpp:15
ProcessLib
LargeDeformation
ConstitutiveRelations
Gravity.cpp
Generated by
1.12.0