www.mooseframework.org
Functions
MaterialTensorIntegral.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< MaterialTensorIntegral > ()
 

Function Documentation

template<>
InputParameters validParams< MaterialTensorIntegral > ( )

Definition at line 13 of file MaterialTensorIntegral.C.

14 {
15  InputParameters params = validParams<ElementIntegralPostprocessor>();
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.set<bool>("use_displaced_mesh") = true;
27  return params;
28 }