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

Comparing branches/development/src/brains/SimInfo.cpp (file contents):
Revision 1597 by gezelter, Tue Jul 26 15:49:24 2011 UTC vs.
Revision 1601 by gezelter, Thu Aug 4 20:04:35 2011 UTC

# Line 819 | Line 819 | namespace OpenMD {
819        
820        for (atom = mol->beginAtom(ai); atom != NULL; atom = mol->nextAtom(ai)) {
821          GlobalAtomIndices[atom->getLocalIndex()] = atom->getGlobalIndex();
822        cerr << "LI = " << atom->getLocalIndex() << "GAI = " << GlobalAtomIndices[atom->getLocalIndex()] << "\n";
822        }
823      }
824      return GlobalAtomIndices;
# Line 841 | Line 840 | namespace OpenMD {
840        for (cg = mol->beginCutoffGroup(ci); cg != NULL;
841             cg = mol->nextCutoffGroup(ci)) {
842          GlobalGroupIndices.push_back(cg->getGlobalIndex());
844        cerr << "LI, GGI = " << GlobalGroupIndices.size() << " " << cg->getGlobalIndex() << "\n";
843        }        
844      }
845      return GlobalGroupIndices;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines