| # | Line 213 | Line 213 | namespace OpenMD { | |
|---|---|---|
| 213 | } | |
| 214 | } | |
| 215 | ||
| 216 | – | |
| 216 | RealType pot_temp = *(idat.vdwMult) * (myPot - myPotC); | |
| 217 | *(idat.vpair) += pot_temp; | |
| 218 | ||
| 219 | RealType dudr = *(idat.sw) * *(idat.vdwMult) * (myDeriv - myDerivC); | |
| 221 | – | |
| 220 | ||
| 221 | (*(idat.pot))[VANDERWAALS_FAMILY] += *(idat.sw) * pot_temp; | |
| 222 | *(idat.f1) = *(idat.d) * dudr / *(idat.rij); | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |