www.mooseframework.org
Functions
TorqueReaction.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< TorqueReaction > ()
 

Function Documentation

template<>
InputParameters validParams< TorqueReaction > ( )

Definition at line 16 of file TorqueReaction.C.

17 {
18  InputParameters params = validParams<NodalPostprocessor>();
19  params.addRequiredParam<std::vector<AuxVariableName>>("react", "The reaction variables");
20  params.addParam<RealVectorValue>(
21  "axis_origin", Point(), "Origin of the axis of rotation used to calculate the torque");
22  params.addRequiredParam<RealVectorValue>("direction_vector",
23  "The direction vector of the axis "
24  "of rotation about which the "
25  "calculated torque is calculated");
26  params.set<bool>("use_displaced_mesh") = true;
27  return params;
28 }