public class DSThreadedPartitionedStencilIterator extends DSPartitionedStencilIterator
Modifier and Type | Class and Description |
---|---|
protected class |
DSThreadedPartitionedStencilIterator.IOThread |
leastSignificantAxis, steps
attributeOrder, axisOrdering, axisWeights, bounds, dataOrder, dimensionality, numAttributes, pointOrder, recordDesc
Constructor and Description |
---|
DSThreadedPartitionedStencilIterator(DSPartitionedStencil stencil,
DataSource ds) |
Modifier and Type | Method and Description |
---|---|
void |
datum(Datum dtm,
IndexSpaceID did)
Given an IndexSpaceID, copy the values of the Datum at that position to the
argument Datum.
|
void |
datum(Datum dtm,
IndexSpaceID did,
FieldIDMapper mp)
Given an IndexSpaceID and FieldIDMapper, copy the values of the Datum at
that position to the argument Datum.
|
void |
end()
Advance the iterator to the last valid value in the iteration.
|
void |
init()
Perform any necessary initialization, and set the iterator value
to the first value in the iteration.
|
protected void |
load(int index) |
boolean |
next()
Advance the iterator by one step.
|
void |
setDatum(IndexSpaceID isid,
Datum d)
Set the location specified by the IndexSpaceID to the given datum.
|
void |
subblock(DataBlock theBlock,
ISBounds dstBounds,
ISBounds srcBounds)
Reads a subblock defined by srcBounds into the region of the Datablock argument
defined by dstBounds.
|
void |
subblock(DataBlock theBlock,
ISBounds dstBounds,
ISBounds srcBounds,
FieldIDMapper mp)
Reads a subblock defined by srcBounds into the region of the Datablock argument
defined by dstBounds.
|
boolean |
valid()
Return true if the iterator currently has a valid value, false otherwise.
|
getStencil
copyData, copyData, copyData, datum, datum, datum, datum, datum, datum, getByte, getDouble, getDoubles, getFieldPos, getFloat, getFloats, getInt, getInts, getShort, getShorts, getValues, getValues, psubblock, setAttributeOrderRod, setBytes, setDoubles, setField, setField, setField, setField, setField, setField, setFloats, setFloats, setInts, setRod, setRod, setShorts, setValues, setValues, subblock, subblock, subblock
setByAttribute, setByte, setBytes, setBytesByAttribute, setBytesByPoint, setDouble, setDoubles, setDoublesByAttribute, setDoublesByPoint, setFloat, setFloats, setFloatsByAttribute, setFloatsByPoint, setInt, setInts, setIntsByAttribute, setIntsByPoint, setShort, setShorts, setShortsByAttribute, setShortsByPoint, setValuesByAttribute, setValuesByPoint, toString
byteSize, computeOffset, computeOffset, copyBounds, createDataBlock, createDataBlock, createDataBlock, createDatum, createDatum, createDatum, createDatum, createDatum, createDatum, datum, dim, getAttributeNames, getAxisOrdering, getAxisWeight, getAxisWeights, getBounds, getBytes, getBytes, getBytes, getBytes, getBytes, getBytes, getBytesByAttribute, getBytesByAttribute, getBytesByPoint, getBytesByPoint, getDataOrder, getDimensionsArray, getDoubles, getDoubles, getDoubles, getDoubles, getDoubles, getDoubles, getDoublesByAttribute, getDoublesByAttribute, getDoublesByPoint, getDoublesByPoint, getFloats, getFloats, getFloats, getFloats, getFloats, getFloats, getFloatsByAttribute, getFloatsByAttribute, getFloatsByPoint, getFloatsByPoint, getInts, getInts, getInts, getInts, getInts, getInts, getIntsByAttribute, getIntsByAttribute, getIntsByPoint, getIntsByPoint, getLowerBoundsArray, getNumAttributes, getRecordDescriptor, getShorts, getShorts, getShorts, getShorts, getShorts, getShorts, getShortsByAttribute, getShortsByAttribute, getShortsByPoint, getShortsByPoint, getStorageType, getUpperBoundsArray, getValuesByAttribute, getValuesByPoint, longVolume, setAxisOrdering, setBounds, setRecordDescriptor, size, subblock, subblock, subblock, subblock, subblock, subblock, subblock, subblock, subblock, useBytesOnly, volume
public DSThreadedPartitionedStencilIterator(DSPartitionedStencil stencil, DataSource ds)
public void init()
init
in interface SDBIterator
init
in class DSPartitionedStencilIterator
public boolean next()
next
in interface SDBIterator
next
in class DSPartitionedStencilIterator
public boolean valid()
valid
in interface SDBIterator
valid
in class DSPartitionedStencilIterator
public void end()
end
in interface SDBIterator
end
in class DSPartitionedStencilIterator
public void setDatum(IndexSpaceID isid, Datum d)
setDatum
in class BasicBlock
public void datum(Datum dtm, IndexSpaceID did)
datum
in interface Indexable
datum
in class BasicBlock
public void datum(Datum dtm, IndexSpaceID did, FieldIDMapper mp)
datum
in interface Indexable
datum
in class BasicBlock
public void subblock(DataBlock theBlock, ISBounds dstBounds, ISBounds srcBounds)
subblock
in interface Indexable
subblock
in class BasicBlock
public void subblock(DataBlock theBlock, ISBounds dstBounds, ISBounds srcBounds, FieldIDMapper mp)
subblock
in interface Indexable
subblock
in class BasicBlock
protected void load(int index)