public class BlockManager
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int[] |
accessHistory |
protected ISBounds[] |
blockBounds |
protected ISBounds |
bounds |
protected ComponentInfo[] |
components |
protected int |
dim |
protected boolean[] |
fmpFlags |
protected RecordDescriptor |
recordDesc |
protected int |
size |
protected int[] |
sortArray |
Constructor and Description |
---|
BlockManager(ComponentInfo[] cinfo)
Construct a BlockManager from an array of ComponentInfo.
|
Modifier and Type | Method and Description |
---|---|
ARBlock |
ARRep(ISBounds bounds)
Return a ARBlock, which is a AR representation of the requested
area of specified ISBounds
|
static ISBounds |
buildISBounds(ComponentInfo[] cinfo) |
boolean |
check(ComponentInfo[] cinfo) |
void |
datum(Datum d,
IndexSpaceID id)
Pass by reference datum method.
|
void |
datum(Datum d,
IndexSpaceID id,
FieldIDMapper fmap)
Pass by reference datum method.
|
void |
datum(Datum d,
IndexSpaceID id,
RecordSpec spec)
Pass by reference datum method.
|
Datum |
datum(IndexSpaceID id)
Deprecated.
|
Datum |
datum(IndexSpaceID id,
RecordSpec spec)
Deprecated.
|
int |
dim()
return the dimensionality of this BlockManager
|
ISBounds |
getBounds()
Return the Bounds of this BlockManager
|
ComponentInfo[] |
getComponentInfo()
Return the ComponentInfo array.
|
ComponentInfo |
getComponentInfo(int index)
Return the ComponentInfo specified by the index.
|
RecordDescriptor |
getRecordDescriptor()
Return the RecordDescriptor of this BlockManager
|
protected ISBounds |
hasIntersection(ISBounds isb1,
ISBounds isb2) |
static boolean |
isRegular(ComponentInfo[] cinfo)
Return true if the data is regular data, i.e.
|
int |
searchBlock(IndexSpaceID isid) |
int |
size()
Return the number of components within this BlockManager
|
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.
|
void |
subblock(DataBlock theBlock,
ISBounds dstBounds,
ISBounds srcBounds,
RecordSpec spec)
Reads a subblock defined by srcBounds into the region of the Datablock argument
defined by dstBounds.
|
protected ComponentInfo[] components
protected RecordDescriptor recordDesc
protected ISBounds bounds
protected int dim
protected int size
protected ISBounds[] blockBounds
protected boolean[] fmpFlags
protected int[] accessHistory
protected int[] sortArray
public BlockManager(ComponentInfo[] cinfo)
public static boolean isRegular(ComponentInfo[] cinfo)
public static ISBounds buildISBounds(ComponentInfo[] cinfo)
public boolean check(ComponentInfo[] cinfo)
public ISBounds getBounds()
public void datum(Datum d, IndexSpaceID id, FieldIDMapper fmap)
public void datum(Datum d, IndexSpaceID id)
public void datum(Datum d, IndexSpaceID id, RecordSpec spec)
public Datum datum(IndexSpaceID id)
public Datum datum(IndexSpaceID id, RecordSpec spec)
public void subblock(DataBlock theBlock, ISBounds dstBounds, ISBounds srcBounds, FieldIDMapper mp)
public void subblock(DataBlock theBlock, ISBounds dstBounds, ISBounds srcBounds)
public void subblock(DataBlock theBlock, ISBounds dstBounds, ISBounds srcBounds, RecordSpec spec)
public ComponentInfo[] getComponentInfo()
public ComponentInfo getComponentInfo(int index)
public RecordDescriptor getRecordDescriptor()
public int size()
public int dim()
public ARBlock ARRep(ISBounds bounds)
public int searchBlock(IndexSpaceID isid)