www.mooseframework.org
Classes | Functions
RankTwoAux.h File Reference

Go to the source code of this file.

Classes

class  RankTwoAux
 

Functions

template<>
InputParameters validParams< RankTwoAux > ()
 RankTwoAux is designed to take the data in the RankTwoTensor material property, for example stress or strain, and output the value for the supplied indices. More...
 

Function Documentation

template<>
InputParameters validParams< RankTwoAux > ( )

RankTwoAux is designed to take the data in the RankTwoTensor material property, for example stress or strain, and output the value for the supplied indices.

Definition at line 12 of file RankTwoAux.C.

13 {
14  InputParameters params = validParams<AuxKernel>();
15  params.addClassDescription("Access a component of a RankTwoTensor");
16  params.addRequiredParam<MaterialPropertyName>("rank_two_tensor",
17  "The rank two material tensor name");
18  params.addRequiredRangeCheckedParam<unsigned int>(
19  "index_i",
20  "index_i >= 0 & index_i <= 2",
21  "The index i of ij for the tensor to output (0, 1, 2)");
22  params.addRequiredRangeCheckedParam<unsigned int>(
23  "index_j",
24  "index_j >= 0 & index_j <= 2",
25  "The index j of ij for the tensor to output (0, 1, 2)");
26  params.addParam<unsigned int>("selected_qp", "Evaluate the tensor at this specific quadpoint");
27  params.addParamNamesToGroup("selected_qp", "Advanced");
28  return params;
29 }