--- trunk/src/nonbonded/Morse.cpp 2014/10/31 18:57:19 2032 +++ trunk/src/nonbonded/Morse.cpp 2014/11/01 14:12:16 2033 @@ -213,12 +213,10 @@ namespace OpenMD { } } - RealType pot_temp = *(idat.vdwMult) * (myPot - myPotC); *(idat.vpair) += pot_temp; RealType dudr = *(idat.sw) * *(idat.vdwMult) * (myDeriv - myDerivC); - (*(idat.pot))[VANDERWAALS_FAMILY] += *(idat.sw) * pot_temp; *(idat.f1) = *(idat.d) * dudr / *(idat.rij);