edu.unh.sdb.lattice
Class FileArrayCellGroup

java.lang.Object
  extended by edu.unh.sdb.lattice.CellGroup
      extended by edu.unh.sdb.lattice.FileCellGroup
          extended by edu.unh.sdb.lattice.FileArrayCellGroup
Direct Known Subclasses:
PartitionedFileArrayCellGroup

public class FileArrayCellGroup
extends FileCellGroup

This is an array implementation of the CellGroup Class.


Field Summary
protected  int[] borrowedVIndices
           
protected  FDLDescriptor borrowedVIndicesFDLD
           
protected  float[] data
           
protected  int numBorrowedCells
           
protected  int numOwnedCells
           
protected  int[] ownedVIndices
           
protected  FDLDescriptor ownedVIndicesFDLD
           
protected  float[] points
           
protected  FDLDescriptor vAttrFDLD
           
protected  FDLDescriptor vInfoFDLD
           
 
Fields inherited from class edu.unh.sdb.lattice.FileCellGroup
backedByFile, coordsRS, dataRS, inMemory, vIndexFdlName, vIndicesRS, vInfoFdlName
 
Fields inherited from class edu.unh.sdb.lattice.CellGroup
bounds, dimensionality, numCells
 
Constructor Summary
FileArrayCellGroup(GBounds bounds, java.lang.String vIndicesFDLName, RecordSpec vIndicesRS, java.lang.String pointInfoFDLName, RecordSpec pointRS, RecordSpec dataRS)
           
 
Method Summary
 void empty()
          Destroy references to cell data.
 Cell findEnclosingCell(Point p)
           
 int getNumCells()
           
 int readCells()
           
 boolean register(TriangleCell cell)
           
 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.
 int writeCells(java.lang.String dataFileName)
           
 
Methods inherited from class edu.unh.sdb.lattice.FileCellGroup
inMemory
 
Methods inherited from class edu.unh.sdb.lattice.CellGroup
dim, setNumCells
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ownedVIndices

protected int[] ownedVIndices

borrowedVIndices

protected int[] borrowedVIndices

points

protected float[] points

data

protected float[] data

numOwnedCells

protected int numOwnedCells

numBorrowedCells

protected int numBorrowedCells

vAttrFDLD

protected FDLDescriptor vAttrFDLD

ownedVIndicesFDLD

protected FDLDescriptor ownedVIndicesFDLD

borrowedVIndicesFDLD

protected FDLDescriptor borrowedVIndicesFDLD

vInfoFDLD

protected FDLDescriptor vInfoFDLD
Constructor Detail

FileArrayCellGroup

public FileArrayCellGroup(GBounds bounds,
                          java.lang.String vIndicesFDLName,
                          RecordSpec vIndicesRS,
                          java.lang.String pointInfoFDLName,
                          RecordSpec pointRS,
                          RecordSpec dataRS)
Method Detail

register

public boolean register(TriangleCell cell)

findEnclosingCell

public Cell findEnclosingCell(Point p)
Specified by:
findEnclosingCell in class CellGroup

getNumCells

public final int getNumCells()
Overrides:
getNumCells in class CellGroup

readCells

public int readCells()

writeCells

public int writeCells(java.lang.String dataFileName)
Specified by:
writeCells in class FileCellGroup

empty

public void empty()
Destroy references to cell data.


toString

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

Overrides:
toString in class CellGroup

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 CellGroup