https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ADDGKernel.h
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
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 "DGKernelBase.h"
13
DualNumber< Real, DNDerivativeType, true > ADReal
OutputTools< Real >::VariablePhiValue VariablePhiValue
Definition MooseTypes.h:353
OutputTools< Real >::VariableTestValue VariableTestValue
Definition MooseTypes.h:358
OutputTools< Real >::VariableTestGradient VariableTestGradient
Definition MooseTypes.h:359
OutputTools< Real >::VariablePhiGradient VariablePhiGradient
Definition MooseTypes.h:354
MooseVariable & _var
Variable this kernel operates on.
Definition ADDGKernel.h:36
const VariableTestValue & _test_neighbor
Side test function.
Definition ADDGKernel.h:50
const ADVariableGradient & _grad_u_neighbor
Holds the current solution gradient at the current quadrature point.
Definition ADDGKernel.h:64
const ADVariableGradient & _grad_u
Holds the solution gradient at the current quadrature points.
Definition ADDGKernel.h:58
static InputParameters validParams()
Definition ADDGKernel.C:22
const VariableTestGradient & _grad_test_neighbor
Gradient of side shape function.
Definition ADDGKernel.h:52
const VariableTestValue & _test
test functions
Definition ADDGKernel.h:42
const VariablePhiValue & _phi_neighbor
Side shape function.
Definition ADDGKernel.h:46
void computeElemNeighJacobian(Moose::DGJacobianType type) override final
Computes the element/neighbor-element/neighbor Jacobian.
Definition ADDGKernel.C:153
const ADVariableValue & _u
Holds the solution at current quadrature points.
Definition ADDGKernel.h:55
const VariableTestGradient & _grad_test
Gradient of side shape function.
Definition ADDGKernel.h:44
virtual ADReal computeQpResidual(Moose::DGResidualType type)=0
Compute this Kernel's contribution to the residual at the current quadrature point.
const VariablePhiGradient & _grad_phi
Gradient of shape function.
Definition ADDGKernel.h:40
const MooseVariableFEBase & variable() const override
Returns the variable that this object operates on.
Definition ADDGKernel.h:30
void computeElemNeighResidual(Moose::DGResidualType type) override final
Computes the residual for this element or the neighbor.
Definition ADDGKernel.C:109
const VariablePhiGradient & _grad_phi_neighbor
Gradient of side shape function.
Definition ADDGKernel.h:48
void computeJacobian() override final
Computes the jacobian for the current side.
Definition ADDGKernel.C:141
const VariablePhiValue & _phi
Shape functions.
Definition ADDGKernel.h:38
void computeOffDiagElemNeighJacobian(Moose::DGJacobianType type, const MooseVariableFEBase &jvar) override final
Computes the element-element off-diagonal Jacobian.
Definition ADDGKernel.C:205
void computeOffDiagJacobian(unsigned int jvar) override final
Computes d-residual / d-jvar...
Definition ADDGKernel.C:192
const ADVariableValue & _u_neighbor
Holds the current solution at the current quadrature point.
Definition ADDGKernel.h:61
Serves as a base class for DGKernel and ADDGKernel.
friend class ADDGKernel
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
const std::string & type() const
Get the type of this class.
Definition MooseBase.h:93
This class provides an interface for common operations on field variables of both FE and FV types wit...
Enhances MooseVariableInterface interface provide values from neighbor elements.
DGResidualType
Definition MooseTypes.h:798
DGJacobianType
Definition MooseTypes.h:804