www.mooseframework.org
SingleGrainRigidBodyMotion.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 #ifndef SINGLEGRAINRIGIDBODYMOTION_H
8 #define SINGLEGRAINRIGIDBODYMOTION_H
9 
11 
12 // Forward Declarations
14 
15 template <>
17 
19 {
20 public:
21  SingleGrainRigidBodyMotion(const InputParameters & parameters);
22 
23 protected:
24  virtual Real computeQpResidual();
25  virtual Real computeQpJacobian();
26  virtual Real computeQpOffDiagJacobian(unsigned int /*jvar*/);
27 
28  virtual Real computeQpNonlocalJacobian(dof_id_type /*dof_index*/);
29  virtual Real computeQpNonlocalOffDiagJacobian(unsigned int /*jvar*/, dof_id_type /*dof_index*/);
30 
31  virtual void calculateAdvectionVelocity();
32  virtual void getUserObjectJacobian(unsigned int jvar, dof_id_type dof_index);
33 
35  unsigned int _op_index;
36 };
37 
38 #endif // SINGLEGRAINRIGIDBODYMOTION_H
virtual Real computeQpOffDiagJacobian(unsigned int)
virtual Real computeQpNonlocalOffDiagJacobian(unsigned int, dof_id_type)
SingleGrainRigidBodyMotion(const InputParameters &parameters)
virtual Real computeQpNonlocalJacobian(dof_id_type)
unsigned int _op_index
Grain number for the kernel to be applied.
InputParameters validParams< SingleGrainRigidBodyMotion >()
virtual void getUserObjectJacobian(unsigned int jvar, dof_id_type dof_index)