| 245 |
|
if (!initialized_) initialize(); |
| 246 |
|
|
| 247 |
|
map<pair<AtomType*, AtomType*>, LJInteractionData>::iterator it; |
| 248 |
< |
it = MixingMap.find( *(idat.atypes) ); |
| 248 |
> |
it = MixingMap.find( idat.atypes ); |
| 249 |
|
|
| 250 |
|
if (it != MixingMap.end()) { |
| 251 |
|
|
| 262 |
|
RealType myDerivC = 0.0; |
| 263 |
|
|
| 264 |
|
ros = *(idat.rij) * sigmai; |
| 265 |
+ |
|
| 266 |
+ |
cerr << "ros = " << ros << "\n"; |
| 267 |
|
|
| 268 |
|
getLJfunc(ros, myPot, myDeriv); |
| 269 |
|
|
| 280 |
|
myDerivC = 0.0; |
| 281 |
|
} |
| 282 |
|
|
| 283 |
+ |
cerr << "myPot = " << myPot << "\n"; |
| 284 |
+ |
cerr << "myPotC = " << myPotC << "\n"; |
| 285 |
+ |
cerr << "epsilon = " << epsilon << "\n"; |
| 286 |
+ |
cerr << "vdwm = " << *(idat.vdwMult) << "\n"; |
| 287 |
|
RealType pot_temp = *(idat.vdwMult) * epsilon * (myPot - myPotC); |
| 288 |
|
*(idat.vpair) += pot_temp; |
| 289 |
|
|