www.mooseframework.org
tensor_mechanics
src
materials
ComputeRotatedElasticityTensorBase.C
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
#include "
ComputeRotatedElasticityTensorBase.h
"
11
#include "
RotationTensor.h
"
12
13
defineLegacyParams
(
ComputeRotatedElasticityTensorBase
);
14
15
InputParameters
16
ComputeRotatedElasticityTensorBase::validParams
()
17
{
18
InputParameters params =
ComputeElasticityTensorBase::validParams
();
19
params.addParam<Real>(
"euler_angle_1"
, 0.0,
"Euler angle in direction 1"
);
20
params.addParam<Real>(
"euler_angle_2"
, 0.0,
"Euler angle in direction 2"
);
21
params.addParam<Real>(
"euler_angle_3"
, 0.0,
"Euler angle in direction 3"
);
22
return
params;
23
}
24
25
ComputeRotatedElasticityTensorBase::ComputeRotatedElasticityTensorBase
(
26
const
InputParameters & parameters)
27
:
ComputeElasticityTensorBase
(parameters),
28
_Euler_angles(getParam<Real>(
"euler_angle_1"
),
29
getParam<Real>(
"euler_angle_2"
),
30
getParam<Real>(
"euler_angle_3"
))
31
{
32
}
defineLegacyParams
defineLegacyParams(ComputeRotatedElasticityTensorBase)
ComputeRotatedElasticityTensorBase
ComputeRotatedElasticityTensorBase is an intermediate base class that rotates an elasticity tensor ba...
Definition:
ComputeRotatedElasticityTensorBase.h:23
ComputeRotatedElasticityTensorBase::validParams
static InputParameters validParams()
Definition:
ComputeRotatedElasticityTensorBase.C:16
ComputeElasticityTensorBase
ComputeElasticityTensorBase the base class for computing elasticity tensors.
Definition:
ComputeElasticityTensorBase.h:25
ComputeRotatedElasticityTensorBase::ComputeRotatedElasticityTensorBase
ComputeRotatedElasticityTensorBase(const InputParameters ¶meters)
Definition:
ComputeRotatedElasticityTensorBase.C:25
ComputeRotatedElasticityTensorBase.h
ComputeElasticityTensorBase::validParams
static InputParameters validParams()
Definition:
ComputeElasticityTensorBase.C:16
RotationTensor.h
Generated on Sat Jan 25 2020 12:04:46 for www.mooseframework.org by
1.8.16