edu.unh.sdb.lattice
Class RegularPartitioning
java.lang.Object
edu.unh.sdb.lattice.Partitioning
edu.unh.sdb.lattice.RegularPartitioning
public class RegularPartitioning
- extends Partitioning
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
geomPartitionDimensions
protected float[] geomPartitionDimensions
RegularPartitioning
public RegularPartitioning(ISBounds topoBounds,
GBounds geomBounds)
map
public final 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.
- Specified by:
map
in class Partitioning
map
public final ISBounds map(GBounds gBounds)
- Specified by:
map
in class Partitioning
mapLow
public final IndexSpaceID mapLow(Point p)
- From RegularCellPartitioning.java
mapHigh
public final IndexSpaceID mapHigh(Point p)
- Map the point onto the grid. If p falls on a partition boundary, we choose the
partition with the Higher index.
getPartitionIterator
public GBoundsIterator getPartitionIterator()
- Specified by:
getPartitionIterator
in class Partitioning
getPartitionIterator
public GBoundsIterator getPartitionIterator(GBounds subSpace,
GBoundsIterator iter)
toString
public java.lang.String toString()
- Return a String representing the object.
- Overrides:
toString
in class Partitioning
toString
public java.lang.String toString(java.lang.String indent)
- Return a String representing the object indented by the argument string.
- Overrides:
toString
in class Partitioning
main
public static void main(java.lang.String argv)