26 std::vector<dof_id_type> & dofs_j)
const override;
30 std::vector<dof_id_type> & dofs_j)
const override;
33 virtual void execute()
override;
Interface class for user objects that are connected to a shaft.
User object to provide data for a shaft-connected motor.
virtual void getMomentOfInertiaJacobianData(DenseMatrix< Real > &jacobian_block, std::vector< dof_id_type > &dofs_j) const override
virtual Real getTorque() const override
virtual Real getMomentOfInertia() const override
virtual void execute() override
const VariableValue & _shaft_speed
Shaft speed.
const Function & _torque_fn
Torque as a function of shaft speed.
const Function & _inertia_fn
Moment of inertia as a function of shaft speed.
static InputParameters validParams()
virtual void finalize() override
virtual void initialize() override
virtual void getTorqueJacobianData(DenseMatrix< Real > &jacobian_block, std::vector< dof_id_type > &dofs_j) const override
VariableValueTempl< false > VariableValue