public class FileSplitterCellGroup extends FileCellGroup
Modifier and Type | Class and Description |
---|---|
protected class |
FileSplitterCellGroup.AList |
Modifier and Type | Field and Description |
---|---|
protected RecordDescriptor |
borrowedCellRD |
protected java.util.ArrayList<TriangleCell> |
borrowedCells |
protected java.lang.String |
borrowedTempVIndicesName |
protected OneDDataSink |
borrowedTempVIndicesSink |
protected boolean |
havePendingCell |
protected boolean |
isOwner |
protected int |
numBorrowedCells |
protected int |
numOwnedCells |
protected java.util.ArrayList<TriangleCell> |
ownedCells |
protected java.lang.String |
ownedTempVIndicesName |
protected OneDDataSink |
ownedTempVIndicesSink |
protected CellID |
pendingCellOwner |
protected RecordDescriptor |
pointInfoRD |
protected int[] |
vIndices |
protected RecordDescriptor |
vIndicesRD |
backedByFile, coordsRS, dataRS, inMemory, vIndexFdlName, vIndicesRS, vInfoFdlName
bounds, dimensionality, numCells
Constructor and Description |
---|
FileSplitterCellGroup(GBounds bounds,
RecordDescriptor pointInfoRD,
java.lang.String vIndicesFdlName,
RecordSpec vIndicesRS,
java.lang.String pointInfoFdlName,
RecordSpec pointRS,
RecordSpec dataRS,
IndexSpaceID partitionID) |
Modifier and Type | Method and Description |
---|---|
void |
doneRegistering() |
void |
empty() |
Cell |
findEnclosingCell(Point p) |
int |
getNumCells() |
int |
readCells() |
boolean |
register(TriangleCell cell) |
boolean |
register(TriangleCell cell,
edu.unh.sdb.lattice.OwnerInfo r) |
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 baseFileName) |
protected int |
writeTriangles(java.util.ArrayList triangles,
OneDDataSink vIndicesSink,
OneDDataSink pointGeomSink,
OneDDataSink vertexDataSink,
FileSplitterCellGroup.AList vertexList,
int currentIndex) |
inMemory
dim, setNumCells
protected java.util.ArrayList<TriangleCell> ownedCells
protected java.util.ArrayList<TriangleCell> borrowedCells
protected int numBorrowedCells
protected int numOwnedCells
protected int[] vIndices
protected boolean havePendingCell
protected boolean isOwner
protected CellID pendingCellOwner
protected RecordDescriptor pointInfoRD
protected RecordDescriptor borrowedCellRD
protected java.lang.String ownedTempVIndicesName
protected java.lang.String borrowedTempVIndicesName
protected OneDDataSink ownedTempVIndicesSink
protected OneDDataSink borrowedTempVIndicesSink
protected RecordDescriptor vIndicesRD
public FileSplitterCellGroup(GBounds bounds, RecordDescriptor pointInfoRD, java.lang.String vIndicesFdlName, RecordSpec vIndicesRS, java.lang.String pointInfoFdlName, RecordSpec pointRS, RecordSpec dataRS, IndexSpaceID partitionID)
public boolean register(TriangleCell cell)
public boolean register(TriangleCell cell, edu.unh.sdb.lattice.OwnerInfo r)
public void doneRegistering()
public Cell findEnclosingCell(Point p)
findEnclosingCell
in class CellGroup
public final int getNumCells()
getNumCells
in class CellGroup
public int writeCells(java.lang.String baseFileName)
writeCells
in class FileCellGroup
protected int writeTriangles(java.util.ArrayList triangles, OneDDataSink vIndicesSink, OneDDataSink pointGeomSink, OneDDataSink vertexDataSink, FileSplitterCellGroup.AList vertexList, int currentIndex)
public int readCells()
public void empty()
public java.lang.String toString()