18 params.
addClassDescription(
"The Laplacian operator ($-\\nabla \\cdot \\nabla u$), with the weak "
19 "form of $(\\nabla \\phi_i, \\nabla u_h)$.");
registerMooseObject("MooseApp", Diffusion)
This kernel implements the Laplacian operator: $\nabla u \cdot \nabla \phi_i$.
virtual Real computeQpResidual() override
Compute this Kernel's contribution to the residual at the current quadrature point.
Diffusion(const InputParameters ¶meters)
static InputParameters validParams()
virtual Real computeQpJacobian() override
Compute this Kernel's contribution to the Jacobian at the current quadrature point.
unsigned int _qp
The current quadrature point index.
unsigned int _j
current index for the shape function
unsigned int _i
current index for the test function
const VariableGradient & _grad_u
Holds the solution gradient at the current quadrature points.
static InputParameters validParams()
const VariablePhiGradient & _grad_phi
gradient of the shape function
const VariableTestGradient & _grad_test
gradient of the test function