# | 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(){ |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |