130 const std::set<BoundaryID> * interfaces =
nullptr);
210 mooseError(
"Users of DomainUserObjects should call " 211 "executeOnElement/executeOnBoundary/executeOnInternalSide");
Interface for objects that need parallel consistent random numbers without patterns over the course o...
const MooseArray< Point > & _q_point_face
The quadrature points in physical space used on the element side/face.
DomainUserObject(const InputParameters ¶meters)
MooseMesh & _mesh
the Moose mesh
void execute() override final
Execute method.
bool shouldExecuteOnInterface() const
Return whether this object should run executeOnInterface.
std::map< BoundaryID, std::set< SubdomainID > > _interface_connected_blocks
The set of blocks connected to our blocks through boundaries of the _interface_bnd_ids data member...
virtual void executeOnElement()
execute method that is called during ComputeUserObjects::onElement
const Elem *const & _neighbor_elem
The neighboring element (available during executeOnInternalSide() and executeOnInterface()) ...
const MooseArray< Real > & coord() const
const Real & _current_elem_volume
The current element volume (available during all execute functions)
const MooseArray< Point > & normals() const
std::map< VariableName, std::set< BoundaryID > > _var_interfaces
A map storing the set of boundaries where variables we wish to evaluate.
const MooseVariableFieldBase * getInterfaceFieldVar(const std::string &var_name, unsigned int comp, const std::set< BoundaryID > *interfaces=nullptr)
Routes through to Coupleable::getFieldVar, but also inserts the return variable into a set of field v...
const MooseArray< Real > & _JxW
The elemental Jacobian times quadrature weights in the element interior.
This class provides an interface for common operations on field variables of both FE and FV types wit...
The following methods are specializations for using the libMesh::Parallel::packed_range_* routines fo...
const Real & _current_side_volume
Current side volume (available during executeOnInternalSide() and executeOnBoundary() and executeOnIn...
This user object allows related evaluations on elements, boundaries, internal sides, interfaces in one single place.
std::set< BoundaryID > _interface_bnd_ids
The set of boundary IDs on which this object should perform executeOnInterface.
const MooseArray< Real > & _coord
An array representing coordinate system volume modifications.
const MooseArray< Real > & _JxW_face
The side element Jacobian times quadrature weights on the element side/face.
const MooseArray< Point > & _normals
The unit norm at quadrature points on the element side/face from the current element perpendicular to...
virtual void executeOnInternalSide()
execute method that is called during ComputeUserObjects::onInternalSide
Interface for objects that needs transient capabilities.
const Elem *const & _current_side_elem
Current side of the current element (available during executeOnInternalSide() and executeOnBoundary()...
void preExecuteOnInterface()
method that is called right before executeOnInterface; sets the data to face
boundary_id_type BoundaryID
const MooseArray< Real > * _current_JxW
A pointer to the current JxW.
const MooseArray< Point > * _current_q_point
A pointer to the current volume/face quadrature points.
MooseMesh wraps a libMesh::Mesh object and enhances its capabilities by caching additional data and s...
static InputParameters validParams()
const MooseArray< Point > & qPoints() const
const Elem *const & _current_elem
The current element pointer (available during all execute functions)
void checkVariable(const MooseVariableFieldBase &variable) const override
Helper for checking that the ids for this object are in agreement with the variables on the supplied ...
const QBase * _current_q_rule
A pointer to the current volume/face quadrature rule.
This interface is designed currently for DomainUserObject where material properties on element...
void preExecuteOnBoundary()
method that is called right before executeOnBoundary; sets the data to face
const QBase *const & _qrule
The quadrature rule used in the element interior.
const MooseArray< Real > & JxW() const
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
An interface that restricts an object to subdomains via the 'blocks' input parameter.
void preExecuteOnElement()
method that is called right before executeOnElement; sets the data to volumetric
void mooseError(Args &&... args) const
Emits an error prefixed with object name and type.
const InputParameters & parameters() const
Get the parameters of the object.
const unsigned int & _current_side
Current side of the current element (available during executeOnInternalSide() and executeOnBoundary()...
const QBase *const & _qrule_face
The quadrature rule used on the element side/face.
const MooseArray< Point > & _q_point
The quadrature points in physical space used in the element interior.
virtual void executeOnInterface()
execute method that is called during ComputeUserObjects::onInterface
const QBase & qRule() const
virtual void executeOnExternalSide(const Elem *, unsigned int)
execute method that is called during ComputeUserObjects::onExternalSide
const BoundaryID & _current_boundary_id
The boundary ID (available during executeOnBoundary() and executeOnInterface())
const Real & _current_neighbor_volume
the neighboring element's volume (available during executeOnInternalSide() and executeOnInterface()) ...
Base class for user-specific data.
void preExecuteOnInternalSide()
method that is called right before executeOnInternalSide; sets the data to face
virtual void executeOnBoundary()
execute method that is called during ComputeUserObjects::onBoundary