www.mooseframework.org
Functions
MaterialTensorCalculator.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< MaterialTensorCalculator > ()
 

Function Documentation

template<>
InputParameters validParams< MaterialTensorCalculator > ( )

Definition at line 13 of file MaterialTensorCalculator.C.

Referenced by validParams< LineMaterialSymmTensorSampler >(), validParams< MaterialTensorAux >(), validParams< MaterialTensorIntegralSM >(), and validParams< XFEMMaterialTensorMarkerUserObject >().

14 {
15  InputParameters params = emptyInputParameters();
16  MooseEnum quantities("VonMises=1 EffectiveStrain Hydrostatic Direction Hoop Radial Axial "
17  "MaxPrincipal MedPrincipal MinPrincipal FirstInvariant SecondInvariant "
18  "ThirdInvariant TriAxiality VolumetricStrain");
19 
20  params.addParam<int>(
21  "index", -1, "The index into the tensor, from 0 to 5 (xx, yy, zz, xy, yz, zx).");
22  params.addParam<MooseEnum>(
23  "quantity", quantities, "A scalar quantity to compute: " + quantities.getRawNames());
24 
25  params.addParam<RealVectorValue>(
26  "point1",
27  RealVectorValue(0, 0, 0),
28  "Start point for axis used to calculate some material tensor quantities");
29  params.addParam<RealVectorValue>(
30  "point2",
31  RealVectorValue(0, 1, 0),
32  "End point for axis used to calculate some material tensor quantities");
33  params.addParam<RealVectorValue>("direction", RealVectorValue(1, 0, 0), "Direction vector");
34  return params;
35 }