19 "Class used for testing derivatives of a rank four tensor material property.");
30 _component_i(getParam<unsigned
int>(
"i")),
31 _component_j(getParam<unsigned
int>(
"j")),
32 _component_k(getParam<unsigned
int>(
"k")),
33 _component_l(getParam<unsigned
int>(
"l"))
47 _phi[_j][_qp] * _test[_i][_qp];
57 _phi[_j][_qp] * _test[_i][_qp];
registerMooseObject("MooseApp", MaterialDerivativeRankFourTestKernel)
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.
const unsigned int _component_i
virtual Real computeQpOffDiagJacobian(unsigned int jvar) override
const unsigned int _component_j
const unsigned int _component_l
virtual Real computeQpJacobian() override
MaterialDerivativeRankFourTestKernel(const InputParameters ¶meters)
virtual Real computeQpResidual() override
static InputParameters validParams()
const unsigned int _component_k
This kernel is used for testing derivatives of a material property.
const MaterialProperty< RankFourTensor > & _p
material property for which to test derivatives
const MaterialProperty< RankFourTensor > & _p_diag_derivative
material property for the diagonal derivative of the tested property
static InputParameters validParams()
std::vector< const MaterialProperty< RankFourTensor > * > _p_off_diag_derivatives
material properties for the off-diagonal derivatives of the tested property
RankFourTensorTempl is designed to handle any N-dimensional fourth order tensor, C.