edu.unh.sdb.lattice
Class Topology

java.lang.Object
  extended by edu.unh.sdb.lattice.Topology
Direct Known Subclasses:
RectilinearTopology, UnstructuredTopology

public abstract class Topology
extends java.lang.Object


Field Summary
protected  int dimensionality
           
 
Constructor Summary
protected Topology()
           
  Topology(int dimensionality)
           
 
Method Summary
abstract  void activate()
           
abstract  Datum datum(IndexSpaceID id)
          return a datum corresponding to the IndexSpaceID argument.
 int dim()
          Return the dimensionality of this topology.
abstract  Cell findEnclosingCell(IndexSpaceID partitionID, Point p)
           
abstract  ISBounds getBounds()
          Return a bounds for the Topology.
abstract  RecordDescriptor getRecordDescriptor()
          Return a RecordDescriptor for datums returned by this topology.
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

dimensionality

protected int dimensionality
Constructor Detail

Topology

protected Topology()

Topology

public Topology(int dimensionality)
Method Detail

dim

public int dim()
Return the dimensionality of this topology.


activate

public abstract void activate()

findEnclosingCell

public abstract Cell findEnclosingCell(IndexSpaceID partitionID,
                                       Point p)

datum

public abstract Datum datum(IndexSpaceID id)
return a datum corresponding to the IndexSpaceID argument.


getBounds

public abstract ISBounds getBounds()
Return a bounds for the Topology. This may be 1D for unstructured Topologies.


getRecordDescriptor

public abstract RecordDescriptor getRecordDescriptor()
Return a RecordDescriptor for datums returned by this topology.


toString

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

Overrides:
toString in class java.lang.Object

toString

public java.lang.String toString(java.lang.String indent)
Return a String representing the object indented by the argument string.