virtual Real getValue() const override
This will get called to actually grab the final value the postprocessor has calculated.
This postprocessor computes an average element size (h) for the whole domain.
static InputParameters validParams()
registerMooseObject("MooseApp", AverageElementSize)
virtual void initialize() override
Called before execute() is ever called so that data can be cleared.
AverageElementSize(const InputParameters ¶meters)
void gatherSum(T &value)
Gather the parallel sum of the variable passed in.
virtual void threadJoin(const UserObject &y) override
Must override.
virtual void finalize() override
This is called after execute() and after threadJoin()! This is probably where you want to do MPI comm...
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const Elem *const & _current_elem
The current element pointer (available during execute())
Base class for user-specific data.
virtual void execute() override
Execute method.