Remove extra device force getter from NBNXM
authorArtem Zhmurov <zhmurov@gmail.com>
Wed, 12 May 2021 08:16:47 +0000 (11:16 +0300)
committerPaul Bauer <paul.bauer.q@gmail.com>
Fri, 14 May 2021 09:13:37 +0000 (09:13 +0000)
commit9ecb956498671c90e7f05c8e831ae243fa917a37
tree54525256ad34f1df5788e2d81f196f03d582432d
parentaa04952d9466cb493573af9312dfbfc02cb66e14
Remove extra device force getter from NBNXM

Having two getters for the same device buffer is confusing and
polutes the name space. This removes the extra getter and
change to the calls to the other one where it was used.

Refs #2608
src/gromacs/mdlib/sim_util.cpp
src/gromacs/nbnxm/nbnxm.cpp
src/gromacs/nbnxm/nbnxm.h
src/gromacs/nbnxm/nbnxm_gpu.h
src/gromacs/nbnxm/nbnxm_gpu_buffer_ops.cpp
src/gromacs/nbnxm/nbnxm_gpu_buffer_ops_stubs.cpp