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

Comparing trunk/src/integrators/LangevinDynamics.cpp (file contents):
Revision 963 by tim, Wed May 17 21:51:42 2006 UTC vs.
Revision 1237 by gezelter, Fri Apr 18 16:55:15 2008 UTC

# Line 56 | Line 56 | namespace oopse {
56    
57    LangevinDynamics::LangevinDynamics(SimInfo* info) : VelocityVerletIntegrator(info){
58      setForceManager(new LDForceManager(info));
59 +
60 +    // Langevin Dynamics Force Manager needs to know about the half-time step
61 +    // size to get convergence on the friction forces:
62 +    dynamic_cast<LDForceManager*>(forceMan_)->setDt2(dt2);
63    }
64    
65    void LangevinDynamics::moveA(){

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines