www.mooseframework.org
EulerAngleProvider.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 EULERANGLEPROVIDER_H
8 #define EULERANGLEPROVIDER_H
9 
10 #include "EulerAngles.h"
11 #include "GeneralUserObject.h"
12 
13 class EulerAngleProvider;
14 
15 template <>
16 InputParameters validParams<EulerAngleProvider>();
17 
22 class EulerAngleProvider : public GeneralUserObject
23 {
24 public:
25  EulerAngleProvider(const InputParameters & parameters) : GeneralUserObject(parameters) {}
26 
27  virtual const EulerAngles & getEulerAngles(unsigned int) const = 0;
28  virtual unsigned int getGrainNum() const = 0;
29 };
30 
31 #endif // EULERANGLEPROVIDER_H
virtual unsigned int getGrainNum() const =0
InputParameters validParams< EulerAngleProvider >()
EulerAngleProvider(const InputParameters &parameters)
Euler angle triplet.
Definition: EulerAngles.h:20
Abstract base class for user objects that implement the Euler Angle provider interface.
virtual const EulerAngles & getEulerAngles(unsigned int) const =0