edu.unh.sdb.lattice
Class RegularPartitioning

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

public class RegularPartitioning
extends Partitioning


Field Summary
protected  float[] geomPartitionDimensions
           
 
Fields inherited from class edu.unh.sdb.lattice.Partitioning
dimensionality
 
Constructor Summary
RegularPartitioning(ISBounds topoBounds, GBounds geomBounds)
           
 
Method Summary
 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.
 
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

RegularPartitioning

public RegularPartitioning(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)
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)