--- trunk/src/nonbonded/LJ.cpp 2013/07/01 21:09:37 1895 +++ trunk/src/nonbonded/LJ.cpp 2015/03/05 16:30:23 2069 @@ -136,9 +136,6 @@ namespace OpenMD { void LJ::addType(AtomType* atomType){ LennardJonesAdapter lja1 = LennardJonesAdapter(atomType); - - RealType sigma1 = lja1.getSigma(); - RealType epsilon1 = lja1.getEpsilon(); // add it to the map: int atid = atomType->getIdent(); @@ -263,7 +260,6 @@ namespace OpenMD { RealType dudr = *(idat.sw) * *(idat.vdwMult) * epsilon * (myDeriv - myDerivC)*sigmai; - (*(idat.pot))[VANDERWAALS_FAMILY] += *(idat.sw) * pot_temp; *(idat.f1) += *(idat.d) * dudr / *(idat.rij);