https://mooseframework.inl.gov
Loading...
Searching...
No Matches
EulerAngleUpdateFromReporter.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
13#include "ReporterInterface.h"
14
19{
20public:
22
24
25 virtual void initialize() override;
26 virtual void execute() override {}
27 virtual void finalize() override {}
28
29 virtual void UpdateEulerAngle();
30
31private:
33 const std::vector<Real> & _euler_angle_0;
34 const std::vector<Real> & _euler_angle_1;
35 const std::vector<Real> & _euler_angle_2;
36
38 const std::vector<Real> & _grain_id;
39
41};
Read a set of Euler angles from a file.
Update Euler angle from reporter value.
const std::vector< Real > & _grain_id
Corresponding grain IDs - it is of Real type from reporter.
const std::vector< Real > & _euler_angle_2
const std::vector< Real > & _euler_angle_1
const std::vector< Real > & _euler_angle_0
Euler angles' components for every grain.
const InputParameters & parameters() const