Line data Source code
1 : //* This file is part of the MOOSE framework 2 : //* https://mooseframework.inl.gov 3 : //* 4 : //* All rights reserved, see COPYRIGHT for full restrictions 5 : //* https://github.com/idaholab/moose/blob/master/COPYRIGHT 6 : //* 7 : //* Licensed under LGPL 2.1, please see LICENSE for details 8 : //* https://www.gnu.org/licenses/lgpl-2.1.html 9 : 10 : #pragma once 11 : 12 : #include "EulerAngles.h" 13 : #include "GeneralUserObject.h" 14 : 15 : /** 16 : * Abstract base class for user objects that implement the Euler Angle provider 17 : * interface. 18 : */ 19 : class EulerAngleProvider : public GeneralUserObject 20 : { 21 : public: 22 : static InputParameters validParams(); 23 : 24 0 : EulerAngleProvider(const InputParameters & parameters) : GeneralUserObject(parameters) {} 25 : 26 : virtual const EulerAngles & getEulerAngles(unsigned int) const = 0; 27 : virtual unsigned int getGrainNum() const = 0; 28 : };