--- branches/development/src/nonbonded/InteractionManager.cpp 2011/06/16 22:00:08 1583 +++ branches/development/src/nonbonded/InteractionManager.cpp 2011/06/17 20:16:35 1584 @@ -67,6 +67,7 @@ namespace OpenMD { eam_->setForceField(forceField_); sc_->setForceField(forceField_); morse_->setForceField(forceField_); + electrostatic_->setSimInfo(info_); electrostatic_->setForceField(forceField_); maw_->setForceField(forceField_); @@ -268,6 +269,14 @@ namespace OpenMD { initialized_ = true; } + + void InteractionManager::setCutoffRadius(RealType rcut) { + electrostatic_->setCutoffRadius(rcut); + } + + void InteractionManager::setSwitchingRadius(RealType rswitch) { + electrostatic_->setSwitchingRadius(rswitch); + } void InteractionManager::doPrePair(InteractionData idat){