--- trunk/OOPSE/libmdtools/ForceFields.cpp 2003/06/20 20:29:36 561 +++ trunk/OOPSE/libmdtools/ForceFields.cpp 2003/07/02 21:26:55 572 @@ -27,12 +27,12 @@ void ForceFields::calcRcut( void ){ //calc rCut and rList entry_plug->rCut = 2.5 * bigSigma; - if(entry_plug->rCut > (entry_plug->box_x / 2.0)) - entry_plug->rCut = entry_plug->box_x / 2.0; - if(entry_plug->rCut > (entry_plug->box_y / 2.0)) - entry_plug->rCut = entry_plug->box_y / 2.0; - if(entry_plug->rCut > (entry_plug->box_z / 2.0)) - entry_plug->rCut = entry_plug->box_z / 2.0; + 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;