Skip to content

Commit

Permalink
Add DPD integrator
Browse files Browse the repository at this point in the history
  • Loading branch information
PabloPalaciosAlonso committed Mar 6, 2024
1 parent 2de0490 commit d073192
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Integrator/DPD.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down

0 comments on commit d073192

Please sign in to comment.