19 InputParameters params = validParams<AuxKernel>();
21 params.addRequiredParam<MaterialPropertyName>(
"tensor",
"The material tensor name.");
22 params.addParam<
unsigned int>(
"qp_select",
"The quad point you want evaluated");
23 params.addClassDescription(
24 "Outputs quantities related to second-order tensors used as material properties");
29 : AuxKernel(parameters),
30 _material_tensor_calculator(parameters),
31 _tensor(getMaterialProperty<
SymmTensor>(
"tensor")),
32 _has_qp_select(isParamValid(
"qp_select")),
33 _qp_select(_has_qp_select ? getParam<unsigned int>(
"qp_select") : 0)
40 RealVectorValue direction;
49 Moose::err <<
"qp_select = " <<
_qp_select << std::endl;
50 Moose::err <<
"qp = " << _qp << std::endl;
51 Moose::err <<
"q_point.size() = " << _q_point.size() << std::endl;
52 mooseError(
"The parameter qp_select is not valid");