Rework atom locality validity checks
authorArtem Zhmurov <zhmurov@gmail.com>
Wed, 10 Mar 2021 09:43:52 +0000 (12:43 +0300)
committerAndrey Alekseenko <al42and@gmail.com>
Wed, 10 Mar 2021 14:59:03 +0000 (14:59 +0000)
commit09aa3f7327d379e2e4908ce03ebbaeb92e237b1c
treed420dceb9c7e813775b9163254cd535958185f22
parentf5ae476deec4a02ff5a49e055de4733af030cd18
Rework atom locality validity checks

The function that checks the validity of atom locality partly
duplicates its callers logic. The chacks are done naturally in
the callers and the function is used to construct and print
an error message.
src/gromacs/nbnxm/gpu_common_utils.h