https://mooseframework.inl.gov
DivDivField.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 #include "VectorKernel.h"
13 
17 class DivDivField : public VectorKernel
18 {
19 public:
21 
23 
24 protected:
25  virtual Real computeQpResidual() override;
26  virtual Real computeQpJacobian() override;
27 
30 
33 
36 
39 };
virtual Real computeQpResidual() override
Compute this Kernel's contribution to the residual at the current quadrature point.
Definition: DivDivField.C:36
OutputTools< RealVectorValue >::VariableDivergence VectorVariableDivergence
Definition: MooseTypes.h:364
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseBase.h:131
Weak form contribution corresponding to -grad(k*div(u))
Definition: DivDivField.h:17
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
static InputParameters validParams()
Definition: DivDivField.C:16
OutputTools< RealVectorValue >::VariablePhiDivergence VectorVariablePhiDivergence
Definition: MooseTypes.h:369
OutputTools< RealVectorValue >::VariableTestDivergence VectorVariableTestDivergence
Definition: MooseTypes.h:374
Real _coeff
scalar coefficient
Definition: DivDivField.h:38
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const VectorVariableTestDivergence & _div_test
div of the test function
Definition: DivDivField.h:29
const VectorVariableDivergence & _div_u
div of the variable
Definition: DivDivField.h:35
const VectorVariablePhiDivergence & _div_phi
div of the shape function
Definition: DivDivField.h:32
DivDivField(const InputParameters &parameters)
Definition: DivDivField.C:26
virtual Real computeQpJacobian() override
Compute this Kernel&#39;s contribution to the Jacobian at the current quadrature point.
Definition: DivDivField.C:42