19 "sideset. Note that this cannot be used on the "
20 "centerline of an axisymmetric model.");
46 if (MooseUtils::absoluteFuzzyEqual(
_volume, 0.0))
49 mooseError(
"The total area of the boundary is zero. This could be due to "
50 "using a boundary on the centerline of an axisymmetric model.");
52 mooseError(
"The total area of the boundary is zero.");
void mooseError(Args &&... args)
Emit an error message with the given stringified, concatenated args and terminate the application.
registerMooseObject("MooseApp", SideAverageValue)
This postprocessor computes a volume integral of the specified variable.
virtual void finalize() override
This is called after execute() and after threadJoin()! This is probably where you want to do MPI comm...
virtual Real getValue() const override
This will get called to actually grab the final value the postprocessor has calculated.
virtual void initialize() override
Called before execute() is ever called so that data can be cleared.
SideAverageValue(const InputParameters ¶meters)
virtual Real volume()
Compute the volume of the current face.
virtual void execute() override
Execute method.
static InputParameters validParams()
virtual void threadJoin(const UserObject &y) override
Must override.
Real _volume
Volume of the entire surface to average over.
virtual void threadJoin(const UserObject &y) override
Must override.
virtual void initialize() override
Called before execute() is ever called so that data can be cleared.
Real _integral_value
Holds the postprocessor result, the integral.
virtual void execute() override
Execute method.
This postprocessor computes a surface integral of the specified variable.
static InputParameters validParams()
const Real & _current_side_volume
void gatherSum(T &value)
Gather the parallel sum of the variable passed in.
Base class for user-specific data.
const Moose::CoordinateSystemType & _coord_sys
Coordinate system.