27 virtual void execute()
override;
37 virtual Real
spatialValue(
const Point & p)
const override;
57 std::vector<const Moose::Functor<Real> *>
_functors;
This MeshDivisionFunctorReductionVectorPostprocessor serves to integrate functors based on the index ...
const MeshDivision & _mesh_division
Mesh division providing the division.
std::vector< VectorPostprocessorValue * > _functor_reductions
Vectors holding functor reductions (integrals, averages, extrema..) over each mesh division.
const MooseEnum _reduction
Reduction operation to be performed.
virtual void finalize() override
Finalize.
std::vector< const Moose::Functor< Real > * > _functors
Functors that are evaluated to create the reduction.
const unsigned int _nfunctors
Number of functors to be integrated.
virtual void threadJoin(const UserObject &uo) override
Must override.
static InputParameters validParams()
const std::vector< VectorPostprocessorValue * > & getReductions() const
Return Integral values.
virtual Real spatialValue(const Point &p) const override
Optional interface function for "evaluating" a UserObject at a spatial position.
virtual void initialize() override
Called before execute() is ever called so that data can be cleared.
std::vector< Real > _volumes
Vectors holding the mesh division volumes.
virtual void execute() override
Execute method.
virtual bool hasBlocks(SubdomainID sub) const override
Returns whether the functor is defined on this block.
Base class for MeshDivision objects.
const InputParameters & parameters() const
Get the parameters of the object.
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
Base class for creating a user object with the SpatialUserObject and Moose::Functor APIs.
Base class for user-specific data.