Predictor-corrector integrator with Langevin noise¶
-
class mdk::LangPredictorCorrector : public mdk::Integrator
Langevin predictor-corrector fifth-order integrator, combined with a Langevin noise. Apparently these two are combined because in the Fortran code, the velocities are set in
lang
orlang_mass
. Now, this looks like a bug, but we replicate it nonetheless.Public Functions
-
inline explicit LangPredictorCorrector(double dt)
-
virtual void bind(Simulation &simulation) override
Bind an object to a simulation.
- Parameters
simulation – Simulation to bind the object to.
-
virtual void init() override
Initialize the state of the integrator.
-
virtual void integrate() override
Private Functions
-
void generateNoise()
-
inline explicit LangPredictorCorrector(double dt)