26 virtual unsigned int divisionIndex(
const Point & pt)
const override;
27 virtual unsigned int divisionIndex(
const Elem & elem)
const override;
35 unsigned int getBinIndex(Real value,
const Point & pt)
const;
Divides the mesh based on the binned values of a functor.
static InputParameters validParams()
unsigned int getBinIndex(Real value, const Point &pt) const
Get the bin for that functor value.
const Real _max
Max functor bin value.
const Real _min
Min functor bin value.
const bool _oob_is_edge_bins
Whether to map functor values outside [min, max] onto the edge bins.
virtual void initialize() override
Set up any data members that would be necessary to obtain the division indices.
const Moose::Functor< Real > & _functor
Functor to use to subdivide the mesh.
const unsigned int _nbins
Number of value bins.
virtual unsigned int divisionIndex(const Point &pt) const override
Return the index of the division to which the point belongs.
Base class for MeshDivision objects.
const InputParameters & parameters() const
Get the parameters of the object.
This is a wrapper that forwards calls to the implementation, which can be switched out at any time wi...
An interface for accessing Moose::Functors for systems that do not care about automatic differentiati...