Cardinal
|
#include <PlaneSpatialBinUserObject.h>
Public Member Functions | |
PlaneSpatialBinUserObject (const InputParameters ¶meters) | |
virtual Real | distanceFromGap (const Point &point, const unsigned int &gap_index) const =0 |
virtual unsigned int | gapIndex (const Point &point) const =0 |
virtual void | gapIndexAndDistance (const Point &point, unsigned int &index, Real &distance) const =0 |
virtual const std::vector< Point > & | gapUnitNormals () const =0 |
virtual Real | adjustBinValue (const unsigned int &) const |
virtual void | execute () final |
virtual void | initialize () final |
virtual void | finalize () final |
virtual Real | spatialValue (const Point &p) const override |
virtual unsigned int | bin (const Point &p) const =0 |
virtual unsigned int | num_bins () const =0 |
unsigned int | binFromBounds (const Real &pt, const std::vector< Real > &bounds) const |
virtual const std::vector< Point > & | getBinCenters () const |
virtual const std::vector< unsigned int > | directions () const |
Static Public Member Functions | |
static InputParameters | validParams () |
Protected Attributes | |
std::vector< Point > | _bin_centers |
Center coordinates of the bins. More... | |
std::vector< unsigned int > | _directions |
Directions along which the bin defines points. More... | |
Class that provides a side bin index given a spatial coordinate
PlaneSpatialBinUserObject::PlaneSpatialBinUserObject | ( | const InputParameters & | parameters | ) |
|
inlinevirtual |
Apply an additional normalization factor to the bin value
[in] | bin | bin index |
Reimplemented in LayeredGapBin.
|
pure virtualinherited |
Get the bin index from a spatial point
[in] | p | point |
Implemented in HexagonalSubchannelBin, HexagonalSubchannelGapBin, LayeredBin, RadialBin, and LayeredGapBin.
|
inherited |
Get the bin given a point in an array of bounding points between layers
[in] | pt | point along axis of the bounding points |
[in] | bounds | vector of bounding points |
|
inlinevirtualinherited |
Get the coordinate directions (x, y, z) along which the bin distribution specifies the bins. For 1-D distributions, this will be just one of x, y, and z. For 2-D distributions, this will be a combination of x-y, y-z, or x-z.
|
pure virtual |
Distance between a point and a gap
[in] | point | point |
[in] | gap_index | gap index |
Implemented in HexagonalSubchannelGapBin, and LayeredGapBin.
|
inlinefinalvirtualinherited |
|
inlinefinalvirtualinherited |
|
pure virtual |
Gap index closest to the point
[in] | point | point |
Implemented in HexagonalSubchannelGapBin, and LayeredGapBin.
|
pure virtual |
Distance between a point and a gap
[in] | point | point |
[out] | index | index of the gap that the point is closest to |
[out] | distance | distance from point to the closest gap |
Implemented in HexagonalSubchannelGapBin, and LayeredGapBin.
|
pure virtual |
Get the unit normals for each gap
Implemented in HexagonalSubchannelGapBin, and LayeredGapBin.
|
inlinevirtualinherited |
Get the bin centers
|
inlinefinalvirtualinherited |
|
pure virtualinherited |
Get the total number of bins
Implemented in HexagonalSubchannelBin, HexagonalSubchannelGapBin, LayeredBin, RadialBin, and LayeredGapBin.
|
overridevirtualinherited |
|
static |
|
protectedinherited |
Center coordinates of the bins.
|
protectedinherited |
Directions along which the bin defines points.