36 _mesh(_subproblem.
mesh()),
37 _q_point(_assembly.qPointsFace()),
38 _qrule(_assembly.qRuleFace()),
39 _JxW(_assembly.JxWFace()),
40 _coord(_assembly.coordTransformation()),
41 _normals(_assembly.normals()),
42 _current_elem(_assembly.elem()),
43 _current_elem_volume(_assembly.elemVolume()),
44 _current_side(_assembly.side()),
45 _current_side_elem(_assembly.sideElem()),
46 _current_side_volume(_assembly.sideElemVolume()),
47 _neighbor_elem(_assembly.neighbor()),
48 _current_neighbor_volume(_assembly.neighborVolume())
67 mooseAssert(
_current_elem->active(),
"The current element should be active");
72 std::vector<const Elem *> candidate_neighbors = {side_neighbor};
75 if (!side_neighbor->active())
76 side_neighbor->active_family_tree_by_neighbor(candidate_neighbors,
_current_elem);
78 for (
const Elem * neighbor : candidate_neighbors)
98 mooseAssert(fi,
"Face info must not be null.");
105 mooseAssert(fi,
"Face info must not be null.");
const Real & neighborVolume()
Returns the reference to the current neighbor volume.
An interface that restricts an object to subdomains via the 'blocks' input parameter.
static InputParameters validParams()
InternalSideUserObject(const InputParameters ¶meters)
void getFaceInfos()
Computes the local FaceInfo(s) to use in functor arguments and interpolations.
static InputParameters validParams()
const unsigned int & _current_side
current side of the current element
std::vector< const FaceInfo * > _face_infos
Holds the FaceInfos to loop on to consider all active neighbors of an element on a given side.
const Real & getNeighborElemVolume()
The volume (or length) of the current neighbor.
const Elem *const & _current_elem
pointer to the current element object
const std::vector< const FaceInfo * > & faceInfo() const
Accessor for local FaceInfo objects.
Interface for objects that needs transient capabilities.
static InputParameters validParams()
This interface is designed for DGKernel, InternalSideUserObject, InterfaceUserObject,...
static InputParameters validParams()
Assembly & _assembly
Reference to the assembly object for this user object.
Base class for user-specific data.
static InputParameters validParams()
MOOSE now contains C++17 code, so give a reasonable error message stating what the user can do to add...