ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/nonbonded/InteractionManager.cpp
(Generate patch)

Comparing branches/development/src/nonbonded/InteractionManager.cpp (file contents):
Revision 1583 by gezelter, Thu Jun 16 22:00:08 2011 UTC vs.
Revision 1584 by gezelter, Fri Jun 17 20:16:35 2011 UTC

# Line 67 | Line 67 | namespace OpenMD {
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  
# Line 268 | Line 269 | namespace OpenMD {
269  
270      initialized_ = true;
271    }
272 +
273 +  void InteractionManager::setCutoffRadius(RealType rcut) {
274 +    electrostatic_->setCutoffRadius(rcut);
275 +  }
276 +
277 +  void InteractionManager::setSwitchingRadius(RealType rswitch) {
278 +    electrostatic_->setSwitchingRadius(rswitch);
279 +  }
280    
281    void InteractionManager::doPrePair(InteractionData idat){
282      

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines