23#define usingDGKernelBaseMembers \
24 usingNeighborCoupleableMembers; \
25 usingFunctionInterfaceMembers; \
26 usingBlockRestrictableMembers; \
27 usingTransientInterfaceMembers
boundary_id_type BoundaryID
const Real & neighborVolume()
Returns the reference to the current neighbor volume.
An interface that restricts an object to subdomains via the 'blocks' input parameter.
/class BoundaryRestrictable /brief Provides functionality for limiting the object to certain boundary...
Serves as a base class for DGKernel and ADDGKernel.
const QBase *const & _qrule
Quadrature rule.
const Elem *const & _current_side_elem
Current side element.
static const BoundaryID InternalBndId
std::vector< AuxVariableName > _save_in_strings
const Moose::CoordinateSystemType & _coord_sys
Coordinate system.
virtual void computeJacobian() override
Computes the jacobian for the current side.
const Real & getNeighborElemVolume() const
The volume (or length) of the current neighbor.
std::set< BoundaryID > _excluded_boundaries
Broken boundaries.
std::vector< MooseVariableFEBase * > _diag_save_in
virtual void computeOffDiagElemNeighJacobian(Moose::DGJacobianType type, const MooseVariableFEBase &jvar)=0
Computes the element-element off-diagonal Jacobian.
const Real & _neighbor_elem_volume
The neighboring element volume.
virtual void computeElemNeighResidual(Moose::DGResidualType type)=0
Computes the residual for this element or the neighbor.
const MooseArray< Real > & _JxW
Jacobian det times quadrature weighting on quadrature points.
virtual void computeResidual() override
Computes the residual for the current side.
std::vector< AuxVariableName > _diag_save_in_strings
const unsigned int & _current_side
Current side.
bool _has_diag_save_in
The aux variables to save the diagonal Jacobian contributions to.
virtual void computeOffDiagJacobian(unsigned int jvar) override
Computes d-residual / d-jvar...
bool excludeBoundary() const
Check current element if it contains broken boundary.
std::vector< MooseVariableFEBase * > _save_in
const Real & _current_elem_volume
The volume (or length) of the current element.
const MooseArray< Point > & _q_point
Quadrature points.
static InputParameters validParams()
Factory constructor initializes all internal references needed for residual computation.
const Real & _current_side_volume
The volume (or length) of the current side.
const MooseArray< Real > & _coord
Coordinate transform mainly for curvilinear coordinates.
bool _has_save_in
The aux variables to save the residual contributions to.
const Elem *const & _current_elem
Current element.
virtual void computeElemNeighJacobian(Moose::DGJacobianType type)=0
Computes the element/neighbor-element/neighbor Jacobian.
const Elem *const & _neighbor_elem
The neighboring element.
const MooseArray< Point > & _normals
Normal vectors at the quadrature points.
void prepareShapes(unsigned int var_num) override final
Prepare shape functions.
const InputParameters & parameters() const
Get the parameters of the object.
const std::string & type() const
Get the type of this class.
This class provides an interface for common operations on field variables of both FE and FV types wit...
This is a base class for objects that can provide residual contributions for both local and neighbor ...
Assembly & _assembly
Reference to this Kernel's assembly object.
This interface is designed for DGKernel, InternalSideUserObject, InterfaceUserObject,...