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

Comparing branches/new_design/OOPSE-2.0/src/integrators/VelocityVerletIntegrator.cpp (file contents):
Revision 1909 by tim, Thu Jan 6 22:31:07 2005 UTC vs.
Revision 1910 by tim, Fri Jan 7 21:50:13 2005 UTC

# Line 59 | Line 59 | void VelocityVerletIntegrator::initialize(){
59      if (info_->getNGlobalConstraints() > 0) {
60          rattle->constraintA();
61          calcForce(true, true);
62 <        rattle->constraintB();
62 >        rattle->constraintB();        
63 >        info_->getSnapshotManager()->advance();//copy the current snapshot to previous snapshot
64      }
65  
66      if (needVelocityScaling) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines