--- trunk/OOPSE/libmdtools/ZConstraint.cpp 2003/08/22 20:04:39 711 +++ trunk/OOPSE/libmdtools/ZConstraint.cpp 2003/08/26 20:12:51 723 @@ -276,8 +276,8 @@ template ZConstraint::ZConstraint(SimIn massOfZConsMols.push_back(molecules[i].getTotalMass()); zPos.push_back((*parameters)[searchResult].zPos); - cout << "index: "<< (*parameters)[searchResult].zconsIndex - <<"\tzPos = " << (*parameters)[searchResult].zPos << endl; +// cout << "index: "<< (*parameters)[searchResult].zconsIndex +// <<"\tzPos = " << (*parameters)[searchResult].zPos << endl; kz.push_back((*parameters)[searchResult]. kRatio * zForceConst); molecules[i].getCOM(COM); @@ -536,11 +536,11 @@ template void ZConstraint::calcForce(in #ifdef IS_MPI if(worldRank == 0){ #endif - std::cerr << "\n" - << "*******************************************\n" - << " about to call zeroOutVel()\n" - << "*******************************************\n" - << "\n"; +// std::cerr << "\n" +// << "*******************************************\n" +// << " about to call zeroOutVel()\n" +// << "*******************************************\n" +// << "\n"; #ifdef IS_MPI } #endif @@ -549,11 +549,11 @@ template void ZConstraint::calcForce(in #ifdef IS_MPI if(worldRank == 0){ #endif - std::cerr << "\n" - << "*******************************************\n" - << " finished zeroOutVel()\n" - << "*******************************************\n" - << "\n"; +// std::cerr << "\n" +// << "*******************************************\n" +// << " finished zeroOutVel()\n" +// << "*******************************************\n" +// << "\n"; #ifdef IS_MPI } #endif @@ -566,10 +566,10 @@ template void ZConstraint::calcForce(in #ifdef IS_MPI if(worldRank == 0){ #endif - cout << "---------------------------------------------------------------------" <getTime() << endl; - cout << "center of mass at z: " << zsys << endl; - cout << "before calcForce, the COMVel of system is " << zSysCOMVel <getTime() << endl; +// cout << "center of mass at z: " << zsys << endl; +// cout << "before calcForce, the COMVel of system is " << zSysCOMVel < void ZConstraint::calcForce(in #ifdef IS_MPI if(worldRank == 0){ #endif - cout << "after calcForce, the COMVel of system is " << zSysCOMVel < void ZConstraint::zeroOutVel() #ifdef IS_MPI if(worldRank == 0){ #endif - cout << "before resetting the COMVel of sytem is " << zSysCOMVel << endl; +// cout << "before resetting the COMVel of sytem is " << zSysCOMVel << endl; #ifdef IS_MPI } #endif @@ -782,7 +782,7 @@ template void ZConstraint::zeroOutVel() #ifdef IS_MPI if(worldRank == 0){ #endif - cout << "after resetting the COMVel of moving molecules is " << zSysCOMVel << endl; +// cout << "after resetting the COMVel of moving molecules is " << zSysCOMVel << endl; #ifdef IS_MPI } #endif @@ -942,8 +942,8 @@ template void ZConstraint::doHarmonic() if (states[i] == zcsMoving){ zconsMols[i]->getCOM(COM); - cout << "Moving Molecule\tindex: " << indexOfZConsMols[i] - << "\tcurrent zpos: " << COM[whichDirection] << endl; +// cout << "Moving Molecule\tindex: " << indexOfZConsMols[i] +// << "\tcurrent zpos: " << COM[whichDirection] << endl; diff = COM[whichDirection] -zPos[i]; @@ -1207,11 +1207,11 @@ template void ZConstraint::PolicyByNumb #ifdef IS_MPI if(worldRank == 0){ #endif - std::cerr << "\n" - << "*******************************************\n" - << " fiished Policy by numbr()\n" - << "*******************************************\n" - << "\n"; + // std::cerr << "\n" +// << "*******************************************\n" +// << " fiished Policy by numbr()\n" +// << "*******************************************\n" +// << "\n"; #ifdef IS_MPI } #endif