37 _mesh(_subproblem.
mesh()),
38 _q_point(_assembly.qPointsFace()),
39 _qrule(_assembly.qRuleFace()),
40 _JxW(_assembly.JxWFace()),
41 _coord(_assembly.coordTransformation()),
42 _normals(_assembly.normals()),
43 _current_elem(_assembly.elem()),
44 _current_elem_volume(_assembly.elemVolume()),
45 _current_side(_assembly.side()),
46 _current_side_elem(_assembly.sideElem()),
47 _current_side_volume(_assembly.sideElemVolume()),
48 _neighbor_elem(_assembly.neighbor()),
49 _current_neighbor_volume(_assembly.neighborVolume())
53 for (
const auto & var : coupled_vars)
72 mooseAssert(
_current_elem->active(),
"The current element should be active");
77 std::vector<const Elem *> candidate_neighbors = {side_neighbor};
80 if (!side_neighbor->active())
81 side_neighbor->active_family_tree_by_neighbor(candidate_neighbors,
_current_elem);
83 for (
const Elem * neighbor : candidate_neighbors)
103 mooseAssert(fi,
"Face info must not be null.");
110 mooseAssert(fi,
"Face info must not be null.");
const Real & neighborVolume()
Returns the reference to the current neighbor volume.
const unsigned int & _current_side
current side of the current element
const Real & getNeighborElemVolume()
The volume (or length) of the current neighbor.
void getFaceInfos()
Computes the local FaceInfo(s) to use in functor arguments and interpolations.
static InputParameters validParams()
static InputParameters validParams()
static InputParameters validParams()
Interface for objects that needs transient capabilities.
const std::vector< const FaceInfo * > & faceInfo() const
Accessor for local FaceInfo objects.
InternalSideUserObject(const InputParameters ¶meters)
const Elem *const & _current_elem
pointer to the current element object
const std::vector< MooseVariableFieldBase * > & getCoupledMooseVars() const
Get the list of all coupled variables.
void addMooseVariableDependency(MooseVariableFieldBase *var)
Call this function to add the passed in MooseVariableFieldBase as a variable that this object depends...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const std::set< BoundaryID > EMPTY_BOUNDARY_IDS
static InputParameters validParams()
std::vector< const FaceInfo * > _face_infos
Holds the FaceInfos to loop on to consider all active neighbors of an element on a given side...
An interface that restricts an object to subdomains via the 'blocks' input parameter.
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.
MOOSE now contains C++17 code, so give a reasonable error message stating what the user can do to add...
Base class for user-specific data.
Enhances Coupleable interface to also couple the values from neighbor elements.
static InputParameters validParams()