OGS
ProcessLib::LargeDeformation::GravityModel< DisplacementDim > Struct Template Reference

Detailed Description

template<int DisplacementDim>
struct ProcessLib::LargeDeformation::GravityModel< DisplacementDim >

Definition at line 22 of file Gravity.h.

#include <Gravity.h>

Public Member Functions

 GravityModel (Eigen::Vector< double, DisplacementDim > const &specific_body_force)
 
void eval (SolidDensity const &rho_SR, VolumetricBodyForce< DisplacementDim > &out) const
 

Private Attributes

Eigen::Vector< double, DisplacementDim > const specific_body_force_
 

Constructor & Destructor Documentation

◆ GravityModel()

template<int DisplacementDim>
ProcessLib::LargeDeformation::GravityModel< DisplacementDim >::GravityModel ( Eigen::Vector< double, DisplacementDim > const & specific_body_force)
inlineexplicit

Definition at line 24 of file Gravity.h.

26 : specific_body_force_(specific_body_force)
27 {
28 }
Eigen::Vector< double, DisplacementDim > const specific_body_force_
Definition Gravity.h:35

Member Function Documentation

◆ eval()

template<int DisplacementDim>
void ProcessLib::LargeDeformation::GravityModel< DisplacementDim >::eval ( SolidDensity const & rho_SR,
VolumetricBodyForce< DisplacementDim > & out ) const

Definition at line 15 of file Gravity.cpp.

17{
18 *out = *rho_SR * specific_body_force_;
19}

Member Data Documentation

◆ specific_body_force_

template<int DisplacementDim>
Eigen::Vector<double, DisplacementDim> const ProcessLib::LargeDeformation::GravityModel< DisplacementDim >::specific_body_force_
private

Definition at line 35 of file Gravity.h.


The documentation for this struct was generated from the following files: