--- trunk/OOPSE/libmdtools/Integrator.cpp 2004/04/19 22:13:01 1125 +++ trunk/OOPSE/libmdtools/Integrator.cpp 2004/05/01 18:52:38 1144 @@ -178,6 +178,10 @@ template void Integrator::integrate(voi dt2 = 0.5 * dt; readyCheck(); + + // remove center of mass drift velocity (in case we passed in a configuration + // that was drifting + tStats->removeCOMdrift(); // initialize the forces before the first step @@ -342,6 +346,8 @@ template void Integrator::moveA(void){ integrableObjects[i]->getVel(vel); integrableObjects[i]->getPos(pos); integrableObjects[i]->getFrc(frc); + + std::cerr << "i =\t" << i << "\t" << frc[0] << "\t" << frc[1]<< "\t" << frc[2] << "\n"; mass = integrableObjects[i]->getMass();