www.mooseframework.org
Classes | Functions
ConstantGrainForceAndTorque.h File Reference

Go to the source code of this file.

Classes

class  ConstantGrainForceAndTorque
 This class is here to get the force and torque acting on a grain. More...
 

Functions

template<>
InputParameters validParams< ConstantGrainForceAndTorque > ()
 

Function Documentation

◆ validParams< ConstantGrainForceAndTorque >()

template<>
InputParameters validParams< ConstantGrainForceAndTorque > ( )

Definition at line 16 of file ConstantGrainForceAndTorque.C.

17 {
18  InputParameters params = validParams<GeneralUserObject>();
19  params.addClassDescription("Userobject for calculating force and torque acting on a grain");
20  params.addParam<std::vector<Real>>("force", "force acting on grains");
21  params.addParam<std::vector<Real>>("torque", "torque acting on grains");
22  return params;
23 }