ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-1.0/utils/sysbuilder/MoLocator.cpp
(Generate patch)

Comparing trunk/OOPSE-1.0/utils/sysbuilder/MoLocator.cpp (file contents):
Revision 1427 by tim, Wed Jul 28 18:42:59 2004 UTC vs.
Revision 1429 by tim, Wed Jul 28 20:29:49 2004 UTC

# Line 127 | Line 127 | void MoLocator::calcRefCoords( void ){
127      refMolCom += refCoords[i] * mass[i];
128      totMass += mass[i];
129    }
130 <  refMolCom / = totMass;
130 >  
131 >  refMolCom /= totMass;
132  
133    //move the reference center of mass to (0,0,0) and adjust the reference coordinate
134    //of the integrabel objects

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines