www.mooseframework.org
ComputeRotatedElasticityTensorBase.C
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 /****************************************************************/
8 #include "RotationTensor.h"
9 
10 template <>
11 InputParameters
13 {
14  InputParameters params = validParams<ComputeElasticityTensorBase>();
15  params.addParam<Real>("euler_angle_1", 0.0, "Euler angle in direction 1");
16  params.addParam<Real>("euler_angle_2", 0.0, "Euler angle in direction 2");
17  params.addParam<Real>("euler_angle_3", 0.0, "Euler angle in direction 3");
18  return params;
19 }
20 
22  const InputParameters & parameters)
23  : ComputeElasticityTensorBase(parameters),
24  _Euler_angles(getParam<Real>("euler_angle_1"),
25  getParam<Real>("euler_angle_2"),
26  getParam<Real>("euler_angle_3"))
27 {
28 }
ComputeElasticityTensorBase the base class for computing elasticity tensors.
InputParameters validParams< ComputeRotatedElasticityTensorBase >()
InputParameters validParams< ComputeElasticityTensorBase >()
ComputeRotatedElasticityTensorBase(const InputParameters &parameters)