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 1900 by tim, Wed Dec 8 17:03:50 2004 UTC vs.
Revision 1901 by tim, Tue Jan 4 22:18:36 2005 UTC

# Line 36 | Line 36 | VelocityVerletIntegrator::VelocityVerletIntegrator(Sim
36  
37   namespace oopse {
38   VelocityVerletIntegrator::VelocityVerletIntegrator(SimInfo *info) : Integrator(info), rotAlgo(NULL) {
39    rotAlgo = new DLM();
39      dt2 = 0.5 * dt;
40 +    rotAlgo = new DLM();
41 +    rattle = new Rattle(info);
42   }
43  
44   VelocityVerletIntegrator::~VelocityVerletIntegrator() {
45      delete rotAlgo;
46 +    delete rattle;
47   }
48  
49   void VelocityVerletIntegrator::initialize(){

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines