23 "reporter name for the first component of the Euler angles in degrees. This " 24 "parameter uses the reporter syntax <reporter>/<name>.");
27 "reporter name for the second component of the Euler angles in degrees. This " 28 "parameter uses the reporter syntax <reporter>/<name>.");
31 "reporter name for the third component of the Euler angles in degrees. This " 32 "parameter uses the reporter syntax <reporter>/<name>.");
34 "reporter name for the grain IDs. This " 35 "parameter uses the reporter syntax <reporter>/<name>.");
73 paramError(
"grain_id_name",
"Number of reporters' entries do not match.");
80 std::map<int, EulerAngles> ea_data;
88 auto max_grain_id = ea_data.rbegin()->first;
90 _angles.resize(max_grain_id + 1);
92 for (
const auto it : ea_data)
const std::vector< Real > & _grain_id
Corresponding grain IDs - it is of Real type from reporter.
EulerAngleUpdateFromReporter(const InputParameters ¶meters)
void paramError(const std::string ¶m, Args... args) const
const std::vector< Real > & _euler_angle_1
Update Euler angle from reporter value.
registerMooseObject("SolidMechanicsApp", EulerAngleUpdateFromReporter)
static InputParameters validParams()
std::vector< EulerAngles > & _angles
const std::vector< Real > & _euler_angle_2
const std::vector< Real > & _euler_angle_0
Euler angles' components for every grain.
virtual void UpdateEulerAngle()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual void initialize() override
Read a set of Euler angles from a file.
static InputParameters validParams()
const ReporterMode REPORTER_MODE_REPLICATED
void ErrorVector unsigned int
auto index_range(const T &sizable)