49 _n_vars(_coupled_moose_vars.size()),
51 _p(this->template getMaterialPropertyDerivative<T>(
"material_property", _derivative)),
52 _p_off_diag_derivatives(_n_vars),
53 _p_diag_derivative(this->template getMaterialPropertyDerivative<T>(
56 for (
unsigned int m = 0; m <
_n_vars; ++m)
69 "material_property",
"Name of material property for which derivatives are to be tested.");
71 "List of variables the material property depends on");
72 params.
addParam<std::vector<SymbolName>>(
75 "Select derivative to test derivatives of (leave empty for checking "
76 "derivatives of the original material property)");
Interface class ("Veneer") to provide generator methods for derivative material property names.
DerivativeMaterialPropertyNameInterface::SymbolName SymbolName
Interface class ("Veneer") for Kernel to provide a mapping from 'jvar' in computeQpOffDiagJacobian in...
static InputParameters validParams()
This kernel is used for testing derivatives of a material property.
const MaterialProperty< T > & _p
material property for which to test derivatives
const unsigned int _n_vars
number of nonlinear variables
const MaterialProperty< T > & _p_diag_derivative
material property for the diagonal derivative of the tested property
std::vector< SymbolName > _derivative
select material property derivative to test derivatives of
static InputParameters validParams()
std::vector< const MaterialProperty< T > * > _p_off_diag_derivatives
material properties for the off-diagonal derivatives of the tested property
MaterialDerivativeTestKernelBase(const InputParameters ¶meters)