ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/src/restraints/RestraintForceManager.cpp
(Generate patch)

Comparing trunk/src/restraints/RestraintForceManager.cpp (file contents):
Revision 2023 by gezelter, Mon Sep 22 19:18:35 2014 UTC vs.
Revision 2024 by gezelter, Thu Oct 16 19:13:51 2014 UTC

# Line 329 | Line 329 | namespace OpenMD {
329   #endif
330  
331      currSnapshot_ = info_->getSnapshotManager()->getCurrentSnapshot();
332    RealType pot = currSnapshot_->getLongRangePotential();
333    pot += restPot;
334    currSnapshot_->setLongRangePotential(pot);
332      currSnapshot_->setRestraintPotential(restPot);
333  
334      //write out forces and current positions of restrained molecules    

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines