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

Go to the source code of this file.

Classes

class  MaskedGrainForceAndTorque
 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< MaskedGrainForceAndTorque > ()
 

Function Documentation

template<>
InputParameters validParams< MaskedGrainForceAndTorque > ( )

Definition at line 12 of file MaskedGrainForceAndTorque.C.

13 {
14  InputParameters params = validParams<GeneralUserObject>();
15  params.addClassDescription("Userobject for masking/pinning grains and making forces and torques "
16  "acting on that grain zero");
17  params.addParam<UserObjectName>("grain_force",
18  "userobject for getting force and torque acting on grains");
19  params.addParam<std::vector<unsigned int>>("pinned_grains", "Grain numbers for pinned grains");
20  return params;
21 }