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

Comparing trunk/OOPSE/libmdtools/Integrator.cpp (file contents):
Revision 1125 by gezelter, Mon Apr 19 22:13:01 2004 UTC vs.
Revision 1144 by tim, Sat May 1 18:52:38 2004 UTC

# Line 178 | Line 178 | template<typename T> void Integrator<T>::integrate(voi
178    dt2 = 0.5 * dt;
179  
180    readyCheck();
181 +
182 +  // remove center of mass drift velocity (in case we passed in a configuration
183 +  // that was drifting
184 +  tStats->removeCOMdrift();
185  
186    // initialize the forces before the first step
187  
# Line 342 | Line 346 | template<typename T> void Integrator<T>::moveA(void){
346      integrableObjects[i]->getVel(vel);
347      integrableObjects[i]->getPos(pos);
348      integrableObjects[i]->getFrc(frc);
349 +
350 +    std::cerr << "i =\t" << i << "\t" << frc[0] << "\t" << frc[1]<< "\t" << frc[2] << "\n";
351      
352      mass = integrableObjects[i]->getMass();
353  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines