18 params.
addParam<MaterialPropertyName>(
"D",
"D",
"The diffusion coefficient.");
19 params.
addParam<MaterialPropertyName>(
20 "D_neighbor",
"D_neighbor",
"The neighboring diffusion coefficient.");
22 "The kernel is utilized to establish flux equivalence on an interface for variables.");
28 _D(getMaterialProperty<
Real>(
"D")),
29 _D_neighbor(getNeighborMaterialProperty<
Real>(
"D_neighbor"))
virtual Real computeQpJacobian(Moose::DGJacobianType type) override
Compute jacobians at quadrature points.
InterfaceKernel and VectorInterfaceKernel is responsible for interfacing physics across subdomains...
const MooseArray< Point > & _normals
Normal vectors at the quadrature points.
static InputParameters validParams()
unsigned int _qp
Current quadrature point.
registerMooseObject("MooseApp", InterfaceDiffusion)
const std::string & type() const
Get the type of this class.
const MaterialProperty< Real > & _D_neighbor
InterfaceDiffusion(const InputParameters ¶meters)
unsigned int _i
Index for test and trial functions.
const TemplateVariableTestValue & _test
Side shape function.
const TemplateVariablePhiGradient & _grad_phi_neighbor
Gradient of side neighbor shape function.
const TemplateVariableGradient & _grad_u
Holds the current solution gradient at the current quadrature point on the face.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
DG kernel for interfacing diffusion between two variables on adjacent blocks.
const TemplateVariablePhiGradient & _grad_phi
Shape function gradient.
virtual Real computeQpResidual(Moose::DGResidualType type) override
Compute residuals at quadrature points.
const TemplateVariableTestValue & _test_neighbor
Side neighbor test function.
const MaterialProperty< Real > & _D
static InputParameters validParams()
const TemplateVariableGradient & _grad_neighbor_value
Coupled neighbor variable gradient.