| 67 |
|
eam_->setForceField(forceField_); |
| 68 |
|
sc_->setForceField(forceField_); |
| 69 |
|
morse_->setForceField(forceField_); |
| 70 |
+ |
electrostatic_->setSimInfo(info_); |
| 71 |
|
electrostatic_->setForceField(forceField_); |
| 72 |
|
maw_->setForceField(forceField_); |
| 73 |
|
|
| 268 |
|
} |
| 269 |
|
|
| 270 |
|
initialized_ = true; |
| 271 |
+ |
} |
| 272 |
+ |
|
| 273 |
+ |
void InteractionManager::setCutoffRadius(RealType rcut) { |
| 274 |
+ |
electrostatic_->setCutoffRadius(rcut); |
| 275 |
+ |
eam_->setCutoffRadius(rcut); |
| 276 |
+ |
} |
| 277 |
+ |
|
| 278 |
+ |
void InteractionManager::setSwitchingRadius(RealType rswitch) { |
| 279 |
+ |
electrostatic_->setSwitchingRadius(rswitch); |
| 280 |
|
} |
| 281 |
|
|
| 282 |
|
void InteractionManager::doPrePair(InteractionData idat){ |
| 327 |
|
void InteractionManager::doSkipCorrection(InteractionData idat){ |
| 328 |
|
|
| 329 |
|
if (!initialized_) initialize(); |
| 330 |
< |
|
| 330 |
> |
|
| 331 |
|
set<NonBondedInteraction*>::iterator it; |
| 332 |
|
|
| 333 |
|
for (it = interactions_[ idat.atypes ].begin(); |