Implement velocity terms for virtual sites
[alexxy/gromacs.git] / src / gromacs / mdrun / mimic.cpp
index 5e996d769b067297f1193eb96f1b1bd30648f3b4..d65d8b7898064a76030bd31dabe3736de839b608 100644 (file)
@@ -472,7 +472,7 @@ void gmx::LegacySimulator::do_mimic()
             if (constructVsites)
             {
                 wallcycle_start(wcycle, ewcVSITECONSTR);
-                vsite->construct(state->x, ir->delta_t, state->v, state->box);
+                vsite->construct(state->x, state->v, state->box, VSiteOperation::PositionsAndVelocities);
                 wallcycle_stop(wcycle, ewcVSITECONSTR);
             }
         }