18 params.
addClassDescription(
"Class used for testing derivatives of a scalar material property.");
virtual Real computeQpResidual() override
Compute this Kernel's contribution to the residual at the current quadrature point.
This kernel is used for testing derivatives of a material property.
virtual Real computeQpJacobian() override
Compute this Kernel's contribution to the Jacobian at the current quadrature point.
This kernel is used for testing derivatives of a material property.
const MaterialProperty< Real > & _p
material property for which to test derivatives
const MaterialProperty< Real > & _p_diag_derivative
material property for the diagonal derivative of the tested property
MaterialDerivativeTestKernel(const InputParameters ¶meters)
const VariableTestValue & _test
the current test function
virtual Real computeQpOffDiagJacobian(unsigned int jvar) override
For coupling standard variables.
static InputParameters validParams()
unsigned int _i
current index for the test function
unsigned int mapJvarToCvar(unsigned int jvar)
Return index into the _coupled_moose_vars array for a given jvar.
unsigned int _j
current index for the shape function
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const VariablePhiValue & _phi
the current shape functions
std::vector< const MaterialProperty< Real > *> _p_off_diag_derivatives
material properties for the off-diagonal derivatives of the tested property
static InputParameters validParams()
unsigned int _qp
The current quadrature point index.
registerMooseObject("MooseApp", MaterialDerivativeTestKernel)