ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/libmdtools/Molecule.cpp
(Generate patch)

Comparing trunk/OOPSE/libmdtools/Molecule.cpp (file contents):
Revision 489 by mmeineke, Thu Apr 10 20:08:56 2003 UTC vs.
Revision 490 by gezelter, Fri Apr 11 15:16:59 2003 UTC

# Line 195 | Line 195 | double Molecule::getCOMvel( double COMvel[3] ) {
195    return mtot;
196  
197   }
198
199 void Molecule::atomicRollCall(int* molMembership) {
200  int i, which;
201
202  for (i=0; i < nAtoms; i++) {
203    if (myAtoms[i] != NULL) {
204      which = myAtoms[i]->getIndex();
205      molMembership[which] = globalIndex;
206    }
207  }
208 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines