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

Comparing branches/development/src/brains/ForceManager.cpp (file contents):
Revision 1593 by gezelter, Fri Jul 15 21:35:14 2011 UTC vs.
Revision 1597 by gezelter, Tue Jul 26 15:49:24 2011 UTC

# Line 368 | Line 368 | namespace OpenMD {
368        for(atom = mol->beginAtom(ai); atom != NULL;
369            atom = mol->nextAtom(ai)) {
370          atom->zeroForcesAndTorques();
371 +        cerr << "apos = " << atom->getPos() << "\n";
372        }
373        
374        //change the positions of atoms which belong to the rigidbodies
# Line 381 | Line 382 | namespace OpenMD {
382              cg = mol->nextCutoffGroup(ci)) {
383            //calculate the center of mass of cutoff group
384            cg->updateCOM();
385 +          cerr << "cgpos = " << cg->getPos() << "\n";
386          }
387        }      
388      }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines