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

template<>
InputParameters validParams< GrainForceAndTorqueSum > ( )

Definition at line 12 of file GrainForceAndTorqueSum.C.

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