ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/brains/SimInfo.hpp
(Generate patch)

Comparing branches/development/src/brains/SimInfo.hpp (file contents):
Revision 1546 by gezelter, Sun Apr 10 15:16:39 2011 UTC vs.
Revision 1549 by gezelter, Wed Apr 27 18:38:15 2011 UTC

# Line 341 | Line 341 | namespace OpenMD{
341      int getGlobalMolMembership(int id){
342        return globalMolMembership_[id];
343      }
344 +
345 +    /**
346 +     * returns a vector which maps the local atom index on this
347 +     * processor to the global atom index.  With only one processor,
348 +     * these should be identical.
349 +     */
350 +    vector<int> getGlobalAtomIndices();
351 +
352 +    /**
353 +     * returns a vector which maps the local cutoff group index on
354 +     * this processor to the global cutoff group index.  With only one
355 +     * processor, these should be identical.
356 +     */
357 +    vector<int> getGlobalGroupIndices();
358          
359      string getFinalConfigFileName() {
360        return finalConfigFileName_;
# Line 561 | Line 575 | namespace OpenMD{
575       * the simulation.  It should be nGlobalAtoms_ in size.
576       */
577      vector<int> globalGroupMembership_;
578 +  public:
579 +    vector<int> getGlobalGroupMembership() { return globalGroupMembership_; }
580 +  private:
581  
582      /**
583       * A vector that maps between the global index of an atom and the

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines