19 "The name of the interface user object to use");
20 params.
addParam<
bool>(
"return_side_average",
22 "If true returns the elment side average rather than a single qp value");
23 params.
addClassDescription(
"Get stored value from the specified InterfaceQpUserObjectBase.");
31 _return_side_average(getParam<bool>(
"return_side_average"))
34 paramError(
"variable",
"This AuxKernel only supports Elemental fields");
registerMooseObject("MooseApp", InterfaceValueUserObjectAux)
bool isNodal() const
Nodal or elemental kernel?
const Elem *const & _current_elem
Current element (valid only for elemental kernels)
const unsigned int & _current_side
current side of the current element
unsigned int _qp
Quadrature point index.
static InputParameters validParams()
This is a base class for userobjects collecting values of variables or material properites across an ...
Real getSideAverageValue(const dof_id_type elem, const unsigned int side) const
function returning the element side average value
Real getQpValue(const dof_id_type elem, const unsigned int side, unsigned int qp) const
method returning the quadrature point value
AuxKernel creating an AuxVariable from values stored in an InterfaceQpUserObjectBase.
virtual Real computeValue() override
Compute and return the value of the aux variable.
const bool _return_side_average
switch asking the user object the return an elment side average value
const InterfaceQpUserObjectBase & _interface_uo
the coupled interface user object
InterfaceValueUserObjectAux(const InputParameters ¶meters)
Factory constructor, takes parameters so that all derived classes can be built using the same constru...
static InputParameters validParams()
void paramError(const std::string ¶m, Args... args) const
Emits an error prefixed with the file and line number of the given param (from the input file) along ...