edu.unh.sdb.lattice
Class CellGroupGrid
java.lang.Object
edu.unh.sdb.lattice.CellGroupGrid
- Direct Known Subclasses:
- FileCellGroupGrid, InCoreArrayCellGroupGrid, WriteableInCoreArrayCellGroupGrid
public abstract class CellGroupGrid
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
partitioning
protected Partitioning partitioning
groups
protected CellGroup[] groups
ordering
protected AxisOrdering ordering
axisWeights
protected long[] axisWeights
dimensionality
protected int dimensionality
CellGroupGrid
public CellGroupGrid()
CellGroupGrid
public CellGroupGrid(Partitioning partitioning,
AxisOrdering ordering)
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.