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

Comparing trunk/src/constraints/Shake.cpp (file contents):
Revision 1983 by gezelter, Tue Apr 15 20:36:19 2014 UTC vs.
Revision 1989 by gezelter, Fri Apr 18 20:07:09 2014 UTC

# Line 52 | Line 52 | namespace OpenMD {
52      if (info_->getNGlobalConstraints() > 0)
53        doShake_ = true;
54      
55 +    if (!doShake_) return;
56 +
57      Globals* simParams = info_->getSimParams();
58  
59      currentSnapshot_ = info_->getSnapshotManager()->getCurrentSnapshot();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines