public abstract class DSStencil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int |
dimensionality |
protected ISBounds |
space |
Modifier and Type | Method and Description |
---|---|
int |
dim()
Return the dimensionality of the stencil domain.
|
abstract boolean |
get(IndexSpaceID id)
Return true if the given id maps to an active stencil element, false otherwise.
|
ISBounds |
getIndexedBounds(int index)
Return a new ISBounds with shape equal to the indexed stencil element.
|
abstract ISBounds |
getIndexedBounds(ISBounds stencilBounds,
int index)
sets the argument ISBounds to the bounds of the stencil element stored in this stencil
list
|
ISBounds |
getSpaceBounds()
added by Sridhar
|
abstract boolean |
set(IndexSpaceID id)
Set the stencil element containing the id to "active".
|
abstract boolean |
setElement(IndexSpaceID id)
Set the stencil element with index corresponding to id to "active.
|
abstract int |
size()
return number of elements contained by this stencil
|
protected ISBounds space
protected int dimensionality
public DSStencil(ISBounds space)
public ISBounds getSpaceBounds()
public abstract boolean set(IndexSpaceID id)
public abstract boolean setElement(IndexSpaceID id)
public abstract boolean get(IndexSpaceID id)
public ISBounds getIndexedBounds(int index)
public abstract ISBounds getIndexedBounds(ISBounds stencilBounds, int index)
public abstract int size()
public final int dim()