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

Comparing branches/new_design/OOPSE-3.0/src/integrators/VelocityVerletIntegrator.cpp (file contents):
Revision 1906 by tim, Tue Jan 4 22:18:36 2005 UTC vs.
Revision 1907 by tim, Thu Jan 6 22:31:07 2005 UTC

# Line 56 | Line 56 | void VelocityVerletIntegrator::initialize(){
56      calcForce(true, true);
57  
58      //execute constraint algorithm to make sure at the very beginning the system is constrained  
59 <    //if (nConstrained) {
60 <    //    constrainA();
61 <    //    calcForce(true, true);
62 <    //    constrainB();
63 <    //}
59 >    if (info_->getNGlobalConstraints() > 0) {
60 >        rattle->constraintA();
61 >        calcForce(true, true);
62 >        rattle->constraintB();
63 >    }
64  
65      if (needVelocityScaling) {
66          velocitizer_->velocitize(targetScalingTemp);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines