20 params.
addClassDescription(
"Extracts a component of a material type std::vector<Real> to an aux " 21 "variable. If the std::vector is not of sufficient size then zero is " 25 "Evaluate the std::vector<Real> at this quadpoint. This only needs to be " 26 "used if you are interested in a particular quadpoint in each element: " 27 "otherwise do not include this parameter in your input file");
35 _has_selected_qp(this->isParamValid(
"selected_qp")),
36 _selected_qp(_has_selected_qp ? this->template getParam<unsigned
int>(
"selected_qp") : 0)
46 if (_selected_qp >= _q_point.size())
48 Threads::spin_mutex::scoped_lock lock(Threads::spin_mtx);
49 mooseError(
"MaterialStdVectorAux. selected_qp specified as ",
51 " but there are only ",
53 " quadpoints in the element");
static InputParameters validParams()
registerMooseObject("MooseApp", MaterialStdVectorAux)
void mooseError(Args &&... args)
Emit an error message with the given stringified, concatenated args and terminate the application...
static InputParameters validParams()
A base class for the various Material related AuxKernal objects.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
MaterialStdVectorAuxTempl(const InputParameters ¶meters)
AuxKernel for outputting a std::vector material-property component to an AuxVariable.
virtual Real getRealValue() override
Returns material property values at quadrature points.
void ErrorVector unsigned int