33 virtual unsigned int bin(
const Point & p)
const override;
35 virtual unsigned int num_bins()
const override;
37 virtual Real
distanceFromGap(
const Point & point,
const unsigned int & gap_index)
const override;
39 virtual unsigned int gapIndex(
const Point & point)
const override;
42 gapIndexAndDistance(
const Point & point,
unsigned int & index, Real & distance)
const override;
46 virtual Real
adjustBinValue(
const unsigned int & i)
const override;
Definition LayeredGapBin.h:27
virtual unsigned int num_bins() const override
Definition LayeredGapBin.C:85
static InputParameters validParams()
Definition LayeredGapBin.C:24
virtual Real distanceFromGap(const Point &point, const unsigned int &gap_index) const override
Definition LayeredGapBin.C:97
const unsigned int _num_faces
Number of bins.
Definition LayeredGapBin.h:59
Real _direction_max
Maxium coordinate in the direction.
Definition LayeredGapBin.h:65
const unsigned int & _num_layers
Number of equal-size layers.
Definition LayeredGapBin.h:53
virtual unsigned int gapIndex(const Point &point) const override
Definition LayeredGapBin.C:91
virtual void gapIndexAndDistance(const Point &point, unsigned int &index, Real &distance) const override
Definition LayeredGapBin.C:104
virtual unsigned int bin(const Point &p) const override
Definition LayeredGapBin.C:78
std::vector< Point > _unit_normals
Unit normal vectors of the gaps.
Definition LayeredGapBin.h:74
virtual Real adjustBinValue(const unsigned int &i) const override
Definition LayeredGapBin.C:111
virtual const std::vector< Point > & gapUnitNormals() const override
Definition LayeredGapBin.h:44
std::vector< Real > _layer_pts
Bounds of the 1-D layering.
Definition LayeredGapBin.h:68
Real _direction_min
Minimum coordinate in the direction.
Definition LayeredGapBin.h:62
const SubProblem * _layered_subproblem
Underlying problem.
Definition LayeredGapBin.h:56
const unsigned int _direction
Direction of the bins (x, y, or z)
Definition LayeredGapBin.h:50
std::vector< Real > _effective_layer_pts
Bounds of the volume bins that achieve the same pairing of points to bins.
Definition LayeredGapBin.h:71
Definition PlaneSpatialBinUserObject.h:27