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;
LayeredGapBin(const InputParameters ¶meters)
Definition: LayeredGapBin.C:40
virtual Real distanceFromGap(const Point &point, const unsigned int &gap_index) const override
Definition: LayeredGapBin.C:97
virtual unsigned int gapIndex(const Point &point) const override
Definition: LayeredGapBin.C:91
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
Real _direction_max
Maxium coordinate in the direction.
Definition: LayeredGapBin.h:65
virtual unsigned int num_bins() const override
Definition: LayeredGapBin.C:85
Real _direction_min
Minimum coordinate in the direction.
Definition: LayeredGapBin.h:62
const unsigned int & _num_layers
Number of equal-size layers.
Definition: LayeredGapBin.h:53
static InputParameters validParams()
Definition: LayeredGapBin.C:24
std::vector< Real > _layer_pts
Bounds of the 1-D layering.
Definition: LayeredGapBin.h:68
virtual Real adjustBinValue(const unsigned int &i) const override
Definition: LayeredGapBin.C:111
Definition: LayeredGapBin.h:26
const SubProblem * _layered_subproblem
Underlying problem.
Definition: LayeredGapBin.h:56
const unsigned int _num_faces
Number of bins.
Definition: LayeredGapBin.h:59
const unsigned int _direction
Direction of the bins (x, y, or z)
Definition: LayeredGapBin.h:50
virtual void gapIndexAndDistance(const Point &point, unsigned int &index, Real &distance) const override
Definition: LayeredGapBin.C:104
std::vector< Real > _effective_layer_pts
Bounds of the volume bins that achieve the same pairing of points to bins.
Definition: LayeredGapBin.h:71
virtual const std::vector< Point > & gapUnitNormals() const override
Definition: LayeredGapBin.h:44
Definition: PlaneSpatialBinUserObject.h:26