44 std::vector<const GrainForceAndTorqueInterface *>
_sum_forces;
virtual const std::vector< RealGradient > & getTorqueValues() const
std::vector< RealGradient > _force_values
providing grain forces, torques and their jacobians w. r. t c
std::vector< Real > _c_jacobians
virtual const std::vector< RealGradient > & getForceValues() const
std::vector< const GrainForceAndTorqueInterface * > _sum_forces
This class provides interface for extracting the forces and torques computed in other UserObjects...
GrainForceAndTorqueSum(const InputParameters ¶meters)
This class is here to get the force and torque acting on a grain from different userobjects and sum t...
virtual const std::vector< Real > & getForceCJacobians() const
virtual const std::vector< std::vector< Real > > & getForceEtaJacobians() const
virtual void initialize()
std::vector< UserObjectName > _sum_objects
Vector of userobjects providing forces and torques acting on grains.
std::vector< std::vector< Real > > _eta_jacobians
unsigned int _num_forces
Total no. of userobjects that provides forces and torques acting on grains.
const InputParameters & parameters() const
std::vector< RealGradient > _torque_values
static InputParameters validParams()