edu.unh.sdb.lattice
Class RegularCellPartitioning

java.lang.Object
  extended by edu.unh.sdb.lattice.Partitioning
      extended by edu.unh.sdb.lattice.RegularCellPartitioning

public class RegularCellPartitioning
extends Partitioning


Field Summary
protected  float[] geomPartitionDimensions
           
 
Fields inherited from class edu.unh.sdb.lattice.Partitioning
dimensionality
 
Constructor Summary
RegularCellPartitioning(ISBounds topoBounds, GBounds geomBounds)
           
 
Method Summary
 GBoundsIterator getPartitionIterator()
           
 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)
          Map the point onto the partitioning.
 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.
 
Methods inherited from class edu.unh.sdb.lattice.Partitioning
dim, getGBounds, getISBounds, getISIterator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

geomPartitionDimensions

protected float[] geomPartitionDimensions
Constructor Detail

RegularCellPartitioning

public RegularCellPartitioning(ISBounds topoBounds,
                               GBounds geomBounds)
Method Detail

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)
Map the point onto the partitioning. If p falls on a partition boundary, we choose the partition with the lower index.


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

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