Move nsgrid header/source from mdlib to domdec
authorJoe Jordan <ejjordan12@gmail.com>
Mon, 29 Mar 2021 08:35:17 +0000 (08:35 +0000)
committerMark Abraham <mark.j.abraham@gmail.com>
Mon, 29 Mar 2021 08:35:17 +0000 (08:35 +0000)
commitc5001464bb456f464ee6fc94e75c7cc4990a5139
treef1f90e45f8ebe2f0cf66521f2e4206b918c31c5b
parentcebe824809528632142a303bb2992349173d1f70
Move nsgrid header/source from mdlib to domdec

The function get_nsgrid_boundaries is only called in domdec module
so it should live there. Removed an unused constant and moved another
to the source which is the only consumer. Also removed a todo which
no longer makes sense.
src/gromacs/domdec/box.cpp
src/gromacs/domdec/nsgrid.cpp [moved from src/gromacs/mdlib/nsgrid.cpp with 92% similarity]
src/gromacs/domdec/nsgrid.h [moved from src/gromacs/mdlib/nsgrid.h with 86% similarity]
src/gromacs/domdec/partition.cpp
src/gromacs/domdec/redistribute.cpp