www.mooseframework.org
EulerAngleFileReader.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 "EulerAngleProvider.h"
13 #include <vector>
14 
15 // Forward declaration
16 
21 {
22 public:
24 
26 
27  virtual const EulerAngles & getEulerAngles(unsigned int) const;
28  virtual unsigned int getGrainNum() const;
29 
30  virtual void initialize() {}
31  virtual void execute() {}
32  virtual void finalize() {}
33 
34 protected:
35  void readFile();
36 
37  FileName _file_name;
38  std::vector<EulerAngles> _angles;
39 };
EulerAngleFileReader(const InputParameters &parameters)
virtual unsigned int getGrainNum() const
virtual const EulerAngles & getEulerAngles(unsigned int) const
Euler angle triplet.
Definition: EulerAngles.h:24
Read a set of Euler angles from a file.
static InputParameters validParams()
const InputParameters & parameters() const
Abstract base class for user objects that implement the Euler Angle provider interface.
std::vector< EulerAngles > _angles