Go to the documentation of this file.
22 params.
addRequiredParam<processor_id_type>(
"pid",
"The PID to see the ghosting for");
24 MooseEnum functor_type(
"geometric algebraic",
"geometric");
25 params.
addParam<
MooseEnum>(
"functor_type", functor_type,
"The type of ghosting functor to use");
27 params.
addParam<
bool>(
"include_local_elements",
29 "Whether or not to include local elements as part of the ghosting set");
32 "ghost_uo",
"The GhostUserObject from which to obtain ghosting information from.");
42 _pid(getParam<processor_id_type>(
"pid")),
43 _rm_type(getParam<
MooseEnum>(
"functor_type") ==
"geometric"
46 _include_local(getParam<bool>(
"include_local_elements")),
51 mooseError(
"GhostingAux only works on elemental fields.");
void mooseError(Args &&... args) const
const GhostingUserObject & _ghost_uo
The reference to the ghosting user object.
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
virtual void precalculateValue() override
This callback is used for AuxKernelTempls that need to perform a per-element calculation.
Base class for creating new auxiliary kernels and auxiliary boundary conditions.
Real getElementalValue(const Elem *elem, Moose::RelationshipManagerType rm_type, processor_id_type pid) const
Moose::RelationshipManagerType _rm_type
The type of ghosting functor to get.
This object loops over all of the underlying ghosting functors added by libMesh or MOOSE through Rela...
RelationshipManagerType
Main types of Relationship Managers.
const Elem *const & _current_elem
Current element (valid only for elemental kernels)
processor_id_type _pid
The PID to show the ghosting for.
const ExecFlagType EXEC_TIMESTEP_END
static InputParameters validParams()
bool isNodal() const
Nodal or elemental kernel?
GhostingAux(const InputParameters ¶meters)
registerMooseObject("MooseApp", GhostingAux)
const ExecFlagType EXEC_INITIAL
static InputParameters validParams()
bool _include_local
Whether or not to include local elements in the display field.
virtual Real computeValue() override
Compute and return the value of the aux variable.
defineLegacyParams(GhostingAux)
A MultiMooseEnum object to hold "execute_on" flags.
Real _value
precalculated element value