https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
18{
19public:
21
23
24protected:
25 virtual Real computeQpResidual() override;
26 virtual Real computeQpJacobian() override;
27
30
33
36
38 Real _coeff;
39};
OutputTools< RealVectorValue >::VariableDivergence VectorVariableDivergence
Definition MooseTypes.h:369
OutputTools< RealVectorValue >::VariableTestDivergence VectorVariableTestDivergence
Definition MooseTypes.h:379
OutputTools< RealVectorValue >::VariablePhiDivergence VectorVariablePhiDivergence
Definition MooseTypes.h:374
Weak form contribution corresponding to -grad(k*div(u))
Definition DivDivField.h:18
Real _coeff
scalar coefficient
Definition DivDivField.h:38
static InputParameters validParams()
Definition DivDivField.C:16
const VectorVariableDivergence & _div_u
div of the variable
Definition DivDivField.h:35
virtual Real computeQpJacobian() override
Compute this Kernel's contribution to the Jacobian at the current quadrature point.
Definition DivDivField.C:42
const VectorVariableTestDivergence & _div_test
div of the test function
Definition DivDivField.h:29
virtual Real computeQpResidual() override
Compute this Kernel's contribution to the residual at the current quadrature point.
Definition DivDivField.C:36
const VectorVariablePhiDivergence & _div_phi
div of the shape function
Definition DivDivField.h:32
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
const InputParameters & parameters() const
Get the parameters of the object.
Definition MooseBase.h:131