www.mooseframework.org
EulerAngleUpdaterCheck.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 EULERANGLEUPDATERCHECK_H
8 #define EULERANGLEUPDATERCHECK_H
9 
10 #include "GeneralVectorPostprocessor.h"
11 
12 // Forward declaration
14 class EulerAngleUpdater;
15 class EulerAngleProvider;
18 class RotationTensor;
19 
20 template <>
21 InputParameters validParams<EulerAngleUpdaterCheck>();
22 
28 class EulerAngleUpdaterCheck : public GeneralVectorPostprocessor
29 {
30 public:
31  EulerAngleUpdaterCheck(const InputParameters & parameters);
32 
33  virtual void initialize() override;
34  virtual void execute() override {}
35  virtual void finalize() override {}
36 
37  VectorPostprocessorValue & _diff;
38 
39 protected:
43  const VectorPostprocessorValue & _grain_volumes;
44 
45  const Real _mr;
46 
47  std::vector<RealVectorValue> _angles;
48  std::vector<RealVectorValue> _angles_old;
49 };
50 
51 #endif // EULERANGLEUPDATERCHECK_H
std::vector< RealVectorValue > _angles
This class defines the interface for the GrainTracking objects.
This class provides interface for extracting the forces and torques computed in other UserObjects...
virtual void execute() override
EulerAngleUpdaterCheck(const InputParameters &parameters)
const VectorPostprocessorValue & _grain_volumes
InputParameters validParams< EulerAngleUpdaterCheck >()
const GrainTrackerInterface & _grain_tracker
VectorPostprocessorValue & _diff
This is a unit test to check the correctness of the updated euler angles An unit vector is rotated as...
std::vector< RealVectorValue > _angles_old
Update Euler angles of each grains after rigid body rotation This class estimates the rotation of pri...
This is a RealTensor version of a rotation matrix It is instantiated with the Euler angles...
const EulerAngleUpdater & _euler
const GrainForceAndTorqueInterface & _grain_torque
Abstract base class for user objects that implement the Euler Angle provider interface.
virtual void finalize() override
virtual void initialize() override