19 "Class used for testing derivatives of a rank two tensor material property.");
28 _component_i(getParam<unsigned
int>(
"i")),
29 _component_j(getParam<unsigned
int>(
"j"))
registerMooseObject("MooseApp", MaterialDerivativeRankTwoTestKernel)
void ErrorVector unsigned int
unsigned int mapJvarToCvar(unsigned int jvar)
Return index into the _coupled_moose_vars array for a given jvar.
This kernel is used for testing derivatives of a material property.
MaterialDerivativeRankTwoTestKernel(const InputParameters ¶meters)
const unsigned int _component_j
virtual Real computeQpResidual() override
const unsigned int _component_i
virtual Real computeQpJacobian() override
static InputParameters validParams()
virtual Real computeQpOffDiagJacobian(unsigned int jvar) override
This kernel is used for testing derivatives of a material property.
const MaterialProperty< RankTwoTensor > & _p
material property for which to test derivatives
const MaterialProperty< RankTwoTensor > & _p_diag_derivative
material property for the diagonal derivative of the tested property
static InputParameters validParams()
std::vector< const MaterialProperty< RankTwoTensor > * > _p_off_diag_derivatives
material properties for the off-diagonal derivatives of the tested property