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

Go to the source code of this file.

Classes

class  GrainForceAndTorqueSum
 This class is here to get the force and torque acting on a grain from different userobjects and sum them all. More...
 

Functions

template<>
InputParameters validParams< GrainForceAndTorqueSum > ()
 

Function Documentation

◆ validParams< GrainForceAndTorqueSum >()

template<>
InputParameters validParams< GrainForceAndTorqueSum > ( )

Definition at line 16 of file GrainForceAndTorqueSum.C.

17 {
18  InputParameters params = validParams<GeneralUserObject>();
19  params.addClassDescription("Userobject for summing forces and torques acting on a grain");
20  params.addParam<std::vector<UserObjectName>>(
21  "grain_forces",
22  "List of names of user objects that provides forces and torques applied to grains");
23  params.addParam<unsigned int>("grain_num", "Number of grains");
24  return params;
25 }