public class RegularPartitioning extends Partitioning
Modifier and Type | Field and Description |
---|---|
protected float[] |
geomPartitionDimensions |
dimensionality
Constructor and Description |
---|
RegularPartitioning(ISBounds topoBounds,
GBounds geomBounds) |
Modifier and Type | Method and Description |
---|---|
GBoundsIterator |
getPartitionIterator() |
GBoundsIterator |
getPartitionIterator(GBounds subSpace,
GBoundsIterator iter) |
static void |
main(java.lang.String argv) |
ISBounds |
map(GBounds gBounds) |
IndexSpaceID |
map(Point p)
Map the point onto the partitioning If p falls on a partition boundary, we choose the
partition with the lower index.
|
IndexSpaceID |
mapHigh(Point p)
Map the point onto the grid.
|
IndexSpaceID |
mapLow(Point p)
From RegularCellPartitioning.java
|
java.lang.String |
toString()
Return a String representing the object.
|
java.lang.String |
toString(java.lang.String indent)
Return a String representing the object indented by the argument string.
|
dim, getGBounds, getISBounds, getISIterator
public final IndexSpaceID map(Point p)
map
in class Partitioning
public final ISBounds map(GBounds gBounds)
map
in class Partitioning
public final IndexSpaceID mapLow(Point p)
public final IndexSpaceID mapHigh(Point p)
public GBoundsIterator getPartitionIterator()
getPartitionIterator
in class Partitioning
public GBoundsIterator getPartitionIterator(GBounds subSpace, GBoundsIterator iter)
public java.lang.String toString()
toString
in class Partitioning
public java.lang.String toString(java.lang.String indent)
toString
in class Partitioning
public static void main(java.lang.String argv)