27 virtual unsigned int divisionIndex(
const Point & pt)
const override;
28 virtual unsigned int divisionIndex(
const Elem & elem)
const override;
Divides the mesh based on a cylindrical grid.
virtual unsigned int divisionIndex(const Point &pt) const override
Return the index of the division to which the point belongs.
static InputParameters validParams()
const Real _min_r
Minimal radial extent of the cylinder.
const unsigned int _n_azim
Number of divisions in the azimuthal direction.
const Real _min_z
Minimal axial extent of the cylinder.
const Point *const _center
Point at the center of the cylinder, serving as the coordinate frame center.
Point _azim_dir
Azimuthal axis direction (angle = 0)
const unsigned int _n_axial
Number of divisions in the cylinder axial direction.
Point _direction
Axis direction of the cylinder.
const unsigned int _n_radial
Number of divisions in the radial direction.
const bool _outside_grid_counts_as_border
Whether to map outside the grid onto the inner/outer crowns (radially) or top/bottom bins (axially)
const Positions *const _center_positions
Positions giving all the centers of the cylinders, serving as the coordinate frame center.
const Real _max_r
Maximal radial extent of the cylinder.
const Real _max_z
Maximal axial extent of the cylinder.
virtual void initialize() override
Set up any data members that would be necessary to obtain the division indices.
Base class for MeshDivision objects.
const InputParameters & parameters() const
Get the parameters of the object.
Positions objects are under the hood Reporters.