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