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

Go to the source code of this file.

Classes

class  RankFourAux
 

Functions

template<>
InputParameters validParams< RankFourAux > ()
 RankFourAux is designed to take the data in the RankFourTensor material property, for example stiffness, and output the value for the supplied indices. More...
 

Function Documentation

template<>
InputParameters validParams< RankFourAux > ( )

RankFourAux is designed to take the data in the RankFourTensor material property, for example stiffness, and output the value for the supplied indices.

Definition at line 11 of file RankFourAux.C.

12 {
13  InputParameters params = validParams<AuxKernel>();
14  params.addClassDescription("Access a component of a RankFourTensor");
15 
16  // add stuff here
17  params.addRequiredParam<MaterialPropertyName>("rank_four_tensor",
18  "The rank four material tensor name");
19  params.addRequiredRangeCheckedParam<unsigned int>(
20  "index_i",
21  "index_i >= 0 & index_i <= 2",
22  "The index i of ijkl for the tensor to output (0, 1, 2)");
23  params.addRequiredRangeCheckedParam<unsigned int>(
24  "index_j",
25  "index_j >= 0 & index_j <= 2",
26  "The index j of ijkl for the tensor to output (0, 1, 2)");
27  params.addRequiredRangeCheckedParam<unsigned int>(
28  "index_k",
29  "index_k >= 0 & index_k <= 2",
30  "The index k of ijkl for the tensor to output (0, 1, 2)");
31  params.addRequiredRangeCheckedParam<unsigned int>(
32  "index_l",
33  "index_l >= 0 & index_l <= 2",
34  "The index l of ijkl for the tensor to output (0, 1, 2)");
35 
36  return params;
37 }