OGS
SmallDeformation/ConstitutiveRelations/Gravity.cpp
Go to the documentation of this file.
1
9
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
SmallDeformation/ConstitutiveRelations/Base.h:20
ProcessLib::SmallDeformation::SolidDensity
BaseLib::StrongType< double, struct SolidDensityTag > SolidDensity
Definition
SmallDeformation/ConstitutiveRelations/SolidDensity.h:17
ProcessLib::SmallDeformation::VolumetricBodyForce
BaseLib::StrongType< GlobalDimVector< DisplacementDim >, struct GravityTag > VolumetricBodyForce
Definition
SmallDeformation/ConstitutiveRelations/Gravity.h:18
ProcessLib::SmallDeformation::GravityModel
Definition
SmallDeformation/ConstitutiveRelations/Gravity.h:23
ProcessLib::SmallDeformation::GravityModel::eval
void eval(SolidDensity const &rho_SR, VolumetricBodyForce< DisplacementDim > &out) const
Definition
SmallDeformation/ConstitutiveRelations/Gravity.cpp:15
ProcessLib::SmallDeformation::GravityModel::specific_body_force_
Eigen::Vector< double, DisplacementDim > const specific_body_force_
Definition
SmallDeformation/ConstitutiveRelations/Gravity.h:35
ProcessLib
SmallDeformation
ConstitutiveRelations
Gravity.cpp
Generated by
1.14.0