From cdad7cad5efd6e8947a3b1127605e5010140286d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Szil=C3=A1rd=20P=C3=A1ll?= Date: Thu, 23 Jan 2020 18:04:24 +0100 Subject: [PATCH] Eliminate the legacyFlags manipulation in do_force() The override is redundant as it is implemented in the stepWorkload initialization. Change-Id: Idde50848c867cb558d4308522bc3e341d9054e82 --- src/gromacs/mdlib/sim_util.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/gromacs/mdlib/sim_util.cpp b/src/gromacs/mdlib/sim_util.cpp index 984df2b145..07644556aa 100644 --- a/src/gromacs/mdlib/sim_util.cpp +++ b/src/gromacs/mdlib/sim_util.cpp @@ -930,13 +930,6 @@ void do_force(FILE* fplog, interaction_const_t* ic = fr->ic; gmx::StatePropagatorDataGpu* stateGpu = fr->stateGpu; - // TODO remove the code below when the legacy flags are not in use anymore - /* modify force flag if not doing nonbonded */ - if (!fr->bNonbonded) - { - legacyFlags &= ~GMX_FORCE_NONBONDED; - } - const SimulationWorkload& simulationWork = runScheduleWork->simulationWork; -- 2.22.0