15#include "libmesh/utility.h"
26 params.
addParam<MaterialPropertyName>(
27 "diff", 1.,
"The diffusion (or thermal conductivity or viscosity) coefficient.");
34 _epsilon(getParam<Real>(
"epsilon")),
35 _sigma(getParam<Real>(
"sigma")),
36 _diff(getADMaterialProperty<Real>(
"diff")),
37 _diff_neighbor(getNeighborADMaterialProperty<Real>(
"diff"))
registerMooseObject("MooseApp", ADDGDiffusion)
DualNumber< Real, DNDerivativeType, true > ADReal
const ADMaterialProperty< Real > & _diff_neighbor
virtual ADReal computeQpResidual(Moose::DGResidualType type) override
Compute this Kernel's contribution to the residual at the current quadrature point.
ADDGDiffusion(const InputParameters ¶meters)
static InputParameters validParams()
const ADMaterialProperty< Real > & _diff
MooseVariable & _var
Variable this kernel operates on.
const VariableTestValue & _test_neighbor
Side test function.
const ADVariableGradient & _grad_u_neighbor
Holds the current solution gradient at the current quadrature point.
const ADVariableGradient & _grad_u
Holds the solution gradient at the current quadrature points.
static InputParameters validParams()
const VariableTestGradient & _grad_test_neighbor
Gradient of side shape function.
const VariableTestValue & _test
test functions
const ADVariableValue & _u
Holds the solution at current quadrature points.
const VariableTestGradient & _grad_test
Gradient of side shape function.
const ADVariableValue & _u_neighbor
Holds the current solution at the current quadrature point.
const Real & _current_elem_volume
The volume (or length) of the current element.
const Real & _current_side_volume
The volume (or length) of the current side.
const MooseArray< Point > & _normals
Normal vectors at the quadrature points.
const std::string & type() const
Get the type of this class.
libMesh::Order order() const
Get the order of this variable Note: Order enum can be implicitly converted to unsigned int.