Move bNonbonded flag from t_forcerec to SimulationWorkload
commit543017dfaebacab4720bce6b6b9d9d3b7c5a9917
authorBerk Hess <hess@kth.se>
Thu, 17 Sep 2020 12:13:57 +0000 (17 14:13 +0200)
committerMark Abraham <mark.j.abraham@gmail.com>
Thu, 17 Sep 2020 14:31:39 +0000 (17 14:31 +0000)
tree9ea42dddb26dbf0076ca86117876fb689a65561b
parent7d3adea6e2c155829f8d2e67434ec16f783c2a12
Move bNonbonded flag from t_forcerec to SimulationWorkload

The flag to store whether nonbonded calculations are requested to be
skipped (set by env.var.) is move from t_forcerec to
SimulationWorkload. A minor side-effect of this change is that the
nbnxn module logs kernels choices when this option is set.
src/gromacs/mdlib/forcerec.cpp
src/gromacs/mdlib/sim_util.cpp
src/gromacs/mdrun/runner.cpp
src/gromacs/mdtypes/forcerec.h
src/gromacs/mdtypes/simulation_workload.h
src/gromacs/nbnxm/nbnxm_setup.cpp
src/gromacs/taskassignment/decidesimulationworkload.cpp
src/gromacs/taskassignment/decidesimulationworkload.h