#include <HexagonalSubchannelBin.h>
Class that bins spatial coordinates into a hexagonal subchannel discretization with unique bins for each channel.
◆ HexagonalSubchannelBin()
HexagonalSubchannelBin::HexagonalSubchannelBin |
( |
const InputParameters & |
parameters | ) |
|
◆ bin()
unsigned int HexagonalSubchannelBin::bin |
( |
const Point & |
p | ) |
const |
|
overridevirtual |
◆ binFromBounds()
unsigned int SpatialBinUserObject::binFromBounds |
( |
const Real & |
pt, |
|
|
const std::vector< Real > & |
bounds |
|
) |
| const |
|
inherited |
Get the bin given a point in an array of bounding points between layers
- Parameters
-
[in] | pt | point along axis of the bounding points |
[in] | bounds | vector of bounding points |
- Returns
- layer
◆ directions()
virtual const std::vector<unsigned int> SpatialBinUserObject::directions |
( |
| ) |
const |
|
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.
◆ execute()
virtual void SpatialBinUserObject::execute |
( |
| ) |
|
|
inlinefinalvirtualinherited |
◆ finalize()
virtual void SpatialBinUserObject::finalize |
( |
| ) |
|
|
inlinefinalvirtualinherited |
◆ getBinCenters()
virtual const std::vector<Point>& SpatialBinUserObject::getBinCenters |
( |
| ) |
const |
|
inlinevirtualinherited |
Get the bin centers
- Returns
- bin centers
◆ initialize()
virtual void SpatialBinUserObject::initialize |
( |
| ) |
|
|
inlinefinalvirtualinherited |
◆ num_bins()
unsigned int HexagonalSubchannelBin::num_bins |
( |
| ) |
const |
|
overridevirtual |
◆ spatialValue()
Real SpatialBinUserObject::spatialValue |
( |
const Point & |
p | ) |
const |
|
overridevirtualinherited |
◆ validParams()
InputParameters HexagonalSubchannelBin::validParams |
( |
| ) |
|
|
static |
◆ _axis
const unsigned int HexagonalSubchannelBin::_axis |
|
protected |
Vertical axis of the bundle along which the pins are aligned.
◆ _bin_centers
std::vector<Point> SpatialBinUserObject::_bin_centers |
|
protectedinherited |
Center coordinates of the bins.
◆ _bundle_pitch
const Real& HexagonalSubchannelBin::_bundle_pitch |
|
protected |
◆ _directions
std::vector<unsigned int> SpatialBinUserObject::_directions |
|
protectedinherited |
Directions along which the bin defines points.
◆ _hex_lattice
std::unique_ptr<HexagonalLatticeUtils> HexagonalSubchannelBin::_hex_lattice |
|
protected |
Underlying utility providing hexagonal lattice capabilities.
◆ _n_rings
const unsigned int& HexagonalSubchannelBin::_n_rings |
|
protected |
Total number of rings of pins.
◆ _pin_centered_bins
const bool& HexagonalSubchannelBin::_pin_centered_bins |
|
protected |
Whether the bins should be pin-centered (as opposed to channel-centered)
◆ _pin_diameter
const Real& HexagonalSubchannelBin::_pin_diameter |
|
protected |
◆ _pin_pitch
const Real& HexagonalSubchannelBin::_pin_pitch |
|
protected |
The documentation for this class was generated from the following files: