Difference for src/ComputeMap.h from version 1.1036 to 1.1037

version 1.1036version 1.1037
Line 71
Line 71
  
   // numComputes() returns the number of compute objects known   // numComputes() returns the number of compute objects known
   // by the map.   // by the map.
   int numComputes(void);   inline int numComputes(void) {
      return nComputes;
    }
  
   // numPatchBased() returns the number of compute objects   // numPatchBased() returns the number of compute objects
   // that are patch-based   // that are patch-based
Line 90
Line 92
   int isAtomBased(ComputeID cid);   int isAtomBased(ComputeID cid);
  
   // node(cid) returns the node where the compute object currently exists.   // node(cid) returns the node where the compute object currently exists.
   int node(ComputeID cid);   inline int node(ComputeID cid) {
      return computeData[cid].node;
    }
  
   void setNode(ComputeID cid, NodeID node);   inline void setNode(ComputeID cid, NodeID node) {
      computeData[cid].node = node;
    }
  
   // newNode(cid,node) sets up map to tell WorkDistrib to send    // newNode(cid,node) sets up map to tell WorkDistrib to send 
   // compute to new node   // compute to new node
   NodeID newNode(ComputeID cid);   inline NodeID newNode(ComputeID cid) {
      return (computeData[cid].moveToNode);
    }
  
   void setNewNode(ComputeID cid, NodeID node);   inline void setNewNode(ComputeID cid, NodeID node) {
      computeData[cid].moveToNode = node;
    }
  
   // numPids(cid) returns the number of patch ids which are registered   // numPids(cid) returns the number of patch ids which are registered
   // with this compute object.   // with this compute object.


Legend:
Removed in v.1.1036 
changed lines
 Added in v.1.1037



Made by using version 1.53 of cvs2html