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"))
ADDGDiffusion(const InputParameters ¶meters)
const Real & _current_side_volume
The volume (or length) of the current side.
virtual ADReal computeQpResidual(Moose::DGResidualType type) override
Compute this Kernel's contribution to the residual at the current quadrature point.
static InputParameters validParams()
auto max(const L &left, const R &right)
const ADVariableValue & _u
Holds the solution at current quadrature points.
const ADMaterialProperty< Real > & _diff
const VariableTestValue & _test_neighbor
Side test function.
const std::string & type() const
Get the type of this class.
const MooseArray< Point > & _normals
Normal vectors at the quadrature points.
registerMooseObject("MooseApp", ADDGDiffusion)
MooseVariable & _var
Variable this kernel operates on.
const ADVariableGradient & _grad_u_neighbor
Holds the current solution gradient at the current quadrature point.
Order order() const
Get the order of this variable Note: Order enum can be implicitly converted to unsigned int...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const ADMaterialProperty< Real > & _diff_neighbor
const ADVariableGradient & _grad_u
Holds the solution gradient at the current quadrature points.
const VariableTestGradient & _grad_test_neighbor
Gradient of side shape function.
const ADVariableValue & _u_neighbor
Holds the current solution at the current quadrature point.
static InputParameters validParams()
const VariableTestValue & _test
test functions
const Real & _current_elem_volume
The volume (or length) of the current element.
const VariableTestGradient & _grad_test
Gradient of side shape function.
CTSub CT_OPERATOR_BINARY CTMul CTCompareLess CTCompareGreater CTCompareEqual _arg template pow< 2 >(tan(_arg))+1.0) *_arg.template D< dtag >()) CT_SIMPLE_UNARY_FUNCTION(sqrt