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

Comparing trunk/src/integrators/VelocityVerletIntegrator.cpp (file contents):
Revision 777 by gezelter, Fri Dec 2 20:10:56 2005 UTC vs.
Revision 963 by tim, Wed May 17 21:51:42 2006 UTC

# Line 135 | Line 135 | namespace oopse {
135  
136  
137    void VelocityVerletIntegrator::preStep() {
138 <    double difference = currentSnapshot_->getTime() + dt - currStatus;
138 >    RealType difference = currentSnapshot_->getTime() + dt - currStatus;
139    
140      if (difference > 0 || fabs(difference) < oopse::epsilon) {
141        needPotential = true;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines