edu.unh.sdb.lattice
Class CellGroupGrid

java.lang.Object
  extended by edu.unh.sdb.lattice.CellGroupGrid
Direct Known Subclasses:
FileCellGroupGrid, InCoreArrayCellGroupGrid, WriteableInCoreArrayCellGroupGrid

public abstract class CellGroupGrid
extends java.lang.Object


Field Summary
protected  long[] axisWeights
           
protected  int dimensionality
           
protected  CellGroup[] groups
           
protected  AxisOrdering ordering
           
protected  Partitioning partitioning
           
 
Constructor Summary
CellGroupGrid()
           
CellGroupGrid(Partitioning partitioning, AxisOrdering ordering)
           
 
Method Summary
protected  int computeOffset2(IndexSpaceID dsid)
          Map the IndexSpaceID to a single integer that serves as as an offset into the physical file or network source.
 int dim()
           
 Cell findEnclosingCell(IndexSpaceID id, Point p)
           
 ISBounds getGridISBounds()
           
protected abstract  void makeCellGroups()
           
 CellGroup mapToCellGroup(IndexSpaceID id)
           
 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

partitioning

protected Partitioning partitioning

groups

protected CellGroup[] groups

ordering

protected AxisOrdering ordering

axisWeights

protected long[] axisWeights

dimensionality

protected int dimensionality
Constructor Detail

CellGroupGrid

public CellGroupGrid()

CellGroupGrid

public CellGroupGrid(Partitioning partitioning,
                     AxisOrdering ordering)
Method Detail

makeCellGroups

protected abstract void makeCellGroups()

mapToCellGroup

public final CellGroup mapToCellGroup(IndexSpaceID id)

findEnclosingCell

public Cell findEnclosingCell(IndexSpaceID id,
                              Point p)

dim

public int dim()

getGridISBounds

public ISBounds getGridISBounds()

computeOffset2

protected int computeOffset2(IndexSpaceID dsid)
Map the IndexSpaceID to a single integer that serves as as an offset into the physical file or network source.


toString

public java.lang.String toString()
Return a String representing the object.

Overrides:
toString in class java.lang.Object

toString

public java.lang.String toString(java.lang.String indent)
Return a String representing the object indented by the argument string.