Calculates the gravitational force proportional to nodal mass. More...
#include <NodalGravity.h>
Public Member Functions | |
NodalGravity (const InputParameters ¶meters) | |
Static Public Member Functions | |
static InputParameters | validParams () |
Protected Member Functions | |
virtual Real | computeQpResidual () override |
Protected Attributes | |
const bool | _has_mass |
Booleans for validity of params. More... | |
const bool | _has_nodal_mass_file |
const Real | _mass |
Mass associated with the node. More... | |
const Real | _alpha |
HHT time integration parameter. More... | |
const Real | _gravity_value |
Acceleration due to gravity. More... | |
const Function & | _function |
Time and space dependent factor multiplying acceleration due to gravity. More... | |
std::map< dof_id_type, Real > | _node_id_to_mass |
Map between boundary nodes and nodal mass. More... | |
Calculates the gravitational force proportional to nodal mass.
Definition at line 23 of file NodalGravity.h.
NodalGravity::NodalGravity | ( | const InputParameters & | parameters | ) |
Definition at line 40 of file NodalGravity.C.
|
overrideprotectedvirtual |
Definition at line 100 of file NodalGravity.C.
|
static |
Definition at line 20 of file NodalGravity.C.
|
protected |
HHT time integration parameter.
Definition at line 41 of file NodalGravity.h.
Referenced by computeQpResidual().
|
protected |
Time and space dependent factor multiplying acceleration due to gravity.
Definition at line 47 of file NodalGravity.h.
Referenced by computeQpResidual().
|
protected |
Acceleration due to gravity.
Definition at line 44 of file NodalGravity.h.
Referenced by computeQpResidual().
|
protected |
Booleans for validity of params.
Definition at line 34 of file NodalGravity.h.
Referenced by computeQpResidual(), and NodalGravity().
|
protected |
Definition at line 35 of file NodalGravity.h.
Referenced by NodalGravity().
|
protected |
Mass associated with the node.
Definition at line 38 of file NodalGravity.h.
Referenced by computeQpResidual().
|
protected |
Map between boundary nodes and nodal mass.
Definition at line 50 of file NodalGravity.h.
Referenced by computeQpResidual(), and NodalGravity().