ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/branches/new_design/OOPSE-3.0/src/integrators/Integrator.cpp
(Generate patch)

Comparing branches/new_design/OOPSE-3.0/src/integrators/Integrator.cpp (file contents):
Revision 1864 by tim, Sun Dec 5 17:09:27 2004 UTC vs.
Revision 1865 by tim, Tue Dec 7 05:12:41 2004 UTC

# Line 23 | Line 23
23   *
24   */
25  
26 + #include "brains/Snapshot.hpp"
27   #include "integrators/Integrator.hpp"
28   #include "utils/simError.h"
29   namespace oopse {
# Line 61 | Line 62 | Integrator::Integrator(SimInfo* info)
62          thermalTime = simParams->getRunTime();
63      }
64  
65 <
65 >    if (!simParams->getUseInitXSstate()) {
66 >        currentSnapshot_->setTime(0.0);
67 >    }
68 >    
69      //create a default a ForceManager
70      //if the subclass want to using different ForceManager, use setForceManager
71      forceMan_ = new ForceManager(info);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines