From d073192d7b39eaf7e52a973bd449eeec7a602e3b Mon Sep 17 00:00:00 2001 From: PabloPalaciosAlonso Date: Wed, 6 Mar 2024 14:57:01 +0100 Subject: [PATCH] Add DPD integrator --- src/Integrator/DPD.cuh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Integrator/DPD.cuh b/src/Integrator/DPD.cuh index 2d152bad..ff814cb2 100644 --- a/src/Integrator/DPD.cuh +++ b/src/Integrator/DPD.cuh @@ -59,10 +59,11 @@ namespace uammd{ virtual void forwardTime() override { steps++; - if (steps == 1) + if (steps == 1){ for(auto forceComp: interactors){ verlet->addInteractor(forceComp); } + } verlet->forwardTime(); }