20 "The grad-div operator optionally scaled by a constant scalar coefficient." 21 "Weak form: $(\\nabla \\cdot \\vec{\\psi_i}, k \\nabla \\cdot \\vec{u})$.");
22 params.
addParam<
Real>(
"coeff", 1.0,
"The constant coefficient");
28 _div_test(_var.divPhi()),
29 _div_phi(_assembly.divPhi(_var)),
30 _div_u(_is_implicit ? _var.divSln() : _var.divSlnOld()),
31 _coeff(getParam<
Real>(
"coeff"))
virtual Real computeQpResidual() override
Compute this Kernel's contribution to the residual at the current quadrature point.
registerMooseObject("MooseApp", DivDivField)
Weak form contribution corresponding to -grad(k*div(u))
static InputParameters validParams()
Real _coeff
scalar coefficient
unsigned int _i
current index for the test function
unsigned int _j
current index for the shape function
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
static InputParameters validParams()
const VectorVariableTestDivergence & _div_test
div of the test function
const VectorVariableDivergence & _div_u
div of the variable
const VectorVariablePhiDivergence & _div_phi
div of the shape function
DivDivField(const InputParameters ¶meters)
unsigned int _qp
The current quadrature point index.
virtual Real computeQpJacobian() override
Compute this Kernel's contribution to the Jacobian at the current quadrature point.