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

Comparing branches/development/src/integrators/Integrator.cpp (file contents):
Revision 1763 by gezelter, Thu Jun 21 19:26:46 2012 UTC vs.
Revision 1764 by gezelter, Tue Jul 3 18:32:27 2012 UTC

# Line 52 | Line 52 | namespace OpenMD {
52        needReset(false), velocitizer_(NULL), needVelocityScaling(false),
53        rnemd_(NULL), useRNEMD(false), rotAlgo_(NULL), flucQ_(NULL),
54        rattle_(NULL), dumpWriter(NULL), statWriter(NULL), thermo(info),
55 <      currentSnapshot_(info->getSnapshotManager()->getCurrentSnapshot()) {
55 >      snap(info->getSnapshotManager()->getCurrentSnapshot()) {
56      
57      simParams = info->getSimParams();
58      
# Line 94 | Line 94 | namespace OpenMD {
94      }
95      
96      if (!simParams->getUseInitalTime()) {
97 <      currentSnapshot_->setTime(0.0);
97 >      snap->setTime(0.0);
98      }
99      
100      if (simParams->haveResetTime()) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines