11 #include "libmesh/utility.h" 19 params.
addParam<TagName>(
"matrix_tag",
"TagName",
"Tag Name this Aux works on");
20 params.
addClassDescription(
"Couple the diagonal of a tag matrix, and return its nodal value");
26 _v(coupledMatrixTagValue(
"v",
"matrix_tag")),
TagMatrixAux(const InputParameters ¶meters)
Class for stuff related to variables.
The value of a tagged vector for a given node and a given variable is coupled to the current AuxVaria...
void checkCoupledVariable(const MooseVariableBase *input_var, const MooseVariableFieldBase *aux_var)
check the aux variable acting on this auxkernl has the consistent properties with the input coupled v...
virtual Real computeValue() override
Compute and return the value of the aux variable.
registerMooseObject("MooseApp", TagMatrixAux)
For visualization or other purposes, the diagnal of the matrix of a tag is extracted, and nodal values are assigned by using the matrix diagnal values.
MooseVariableField< Real > & _var
This is a regular kernel so we cast to a regular MooseVariable.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
static InputParameters validParams()
unsigned int _qp
Quadrature point index.
static InputParameters validParams()
const MooseVariableBase & _v_var
void scalingFactor(const std::vector< Real > &factor)
Set the scaling factor for this variable.