--- trunk/OOPSE/libmdtools/ForceFields.cpp 2003/07/14 21:28:54 597 +++ trunk/OOPSE/libmdtools/ForceFields.cpp 2003/07/16 21:30:56 626 @@ -26,16 +26,7 @@ void ForceFields::calcRcut( void ){ //calc rCut and rList - entry_plug->rCut = 2.5 * bigSigma; - if(entry_plug->rCut > (entry_plug->boxLx / 2.0)) - entry_plug->rCut = entry_plug->boxLx / 2.0; - if(entry_plug->rCut > (entry_plug->boxLy / 2.0)) - entry_plug->rCut = entry_plug->boxLy / 2.0; - if(entry_plug->rCut > (entry_plug->boxLz / 2.0)) - entry_plug->rCut = entry_plug->boxLz / 2.0; - - entry_plug->rList = entry_plug->rCut + 1.0; - + entry_plug->setRcut( 2.5 * bigSigma ); } void ForceFields::doForces( int calcPot, int calcStress ){