19 "reaction_coefficient",
20 "The name of the reactivity, can be scalar, vector, or matrix material property.");
22 "form of $(\\psi_i, u_h)$.");
28 _r(hasMaterialProperty<
Real>(
"reaction_coefficient")
29 ? &getMaterialProperty<
Real>(
"reaction_coefficient")
34 _r_2d_array(hasMaterialProperty<
RealEigenMatrix>(
"reaction_coefficient")
40 MaterialPropertyName mat = getParam<MaterialPropertyName>(
"reaction_coefficient");
41 mooseError(
"Property " + mat +
" is of unsupported type for ArrayReaction");
55 "reaction_coefficient size is inconsistent with the number of components of array " 64 "reaction_coefficient size is inconsistent with the number of components of array " 67 "reaction_coefficient size is inconsistent with the number of components of array " virtual RealEigenVector computeQpJacobian() override
Compute this Kernel's contribution to the diagonal Jacobian at the current quadrature point...
ArrayReaction(const InputParameters ¶meters)
unsigned int number() const
Get variable number coming from libMesh.
unsigned int count() const
Get the number of components Note: For standard and vector variables, the number is one...
const MaterialProperty< RealEigenMatrix > *const _r_2d_array
matrix diffusion coefficient
This class provides an interface for common operations on field variables of both FE and FV types wit...
static InputParameters validParams()
virtual RealEigenMatrix computeQpOffDiagJacobian(const MooseVariableFEBase &jvar) override
This is the virtual that derived classes should override for computing a full Jacobian component...
virtual void computeQpResidual(RealEigenVector &residual) override
Compute this Kernel's contribution to the residual at the current quadrature point, to be filled in residual.
const ArrayVariableTestValue & _test
the current test function
unsigned int _i
current index for the test function
Eigen::Matrix< Real, Eigen::Dynamic, Eigen::Dynamic > RealEigenMatrix
const MaterialProperty< RealEigenVector > *const _r_array
array diffusion coefficient
virtual RealEigenMatrix computeQpOffDiagJacobian(const MooseVariableFEBase &jvar)
This is the virtual that derived classes should override for computing a full Jacobian component...
unsigned int _j
current index for the shape function
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const MaterialProperty< Real > *const _r
scalar diffusion coefficient
const ArrayVariablePhiValue & _phi
the current shape functions
void mooseError(Args &&... args) const
Emits an error prefixed with object name and type.
const ArrayVariableValue & _u
Holds the solution at current quadrature points.
Eigen::Matrix< Real, Eigen::Dynamic, 1 > RealEigenVector
ArrayMooseVariable & _var
This is an array kernel so we cast to a ArrayMooseVariable.
registerMooseObject("MooseApp", ArrayReaction)
static InputParameters validParams()
unsigned int _qp
The current quadrature point index.