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 1108 by gezelter, Tue Apr 13 16:26:03 2004 UTC vs.
Revision 1109 by gezelter, Wed Apr 14 16:32:15 2004 UTC

# Line 90 | Line 90 | double Molecule::getPotential( void ){
90    
91    int i;
92    double myPot = 0.0;
93 +
94 +  for(i=0; i<myRigidBodies.size(); i++) {
95 +    myRigidBodies[i]->updateAtoms();
96 +  }
97    
98    for(i=0; i<nBonds; i++){
99      myPot += myBonds[i]->get_potential();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines