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