Move main.*, splitter.*, gmx_omp_nthreads.* to mdlib
commit01bc43bc6fb5e51016d1fe2a8e5a99a0ee6390e7
authorTeemu Murtola <teemu.murtola@gmail.com>
Mon, 14 Dec 2015 19:02:10 +0000 (14 21:02 +0200)
committerMark Abraham <mark.j.abraham@gmail.com>
Tue, 15 Dec 2015 09:18:02 +0000 (15 10:18 +0100)
treeb8a4bee59fe529caf6800170125c3866f328d452
parent23084d4d1a265f7951a55f1d4af34b71e05424a6
Move main.*, splitter.*, gmx_omp_nthreads.* to mdlib

Remove unused #includes for these headers, and remove some incorrect
uses, which showed that they are not actually used outside mdrun.
listed-forces -> mdlib dependency becomes slightly stronger with this,
but internal structure of mdrun code anyways needs a lot of work to
remove the dependency cycles.

Change-Id: If326c8da5a732ee725aa16ffad0ec72f9fefb371
43 files changed:
src/gromacs/domdec/domdec.cpp
src/gromacs/domdec/domdec_constraints.cpp
src/gromacs/domdec/domdec_specatomcomm.cpp
src/gromacs/domdec/domdec_topology.cpp
src/gromacs/domdec/domdec_vsite.cpp
src/gromacs/gmxana/gmx_disre.cpp
src/gromacs/gmxana/gmx_pme_error.cpp
src/gromacs/gmxpreprocess/grompp.cpp
src/gromacs/listed-forces/disre.cpp
src/gromacs/listed-forces/manage-threading.cpp
src/gromacs/listed-forces/orires.cpp
src/gromacs/mdlib/broadcaststructs.cpp
src/gromacs/mdlib/calcmu.cpp
src/gromacs/mdlib/clincs.cpp
src/gromacs/mdlib/constr.cpp
src/gromacs/mdlib/coupling.cpp
src/gromacs/mdlib/force.cpp
src/gromacs/mdlib/forcerec.cpp
src/gromacs/mdlib/gmx_omp_nthreads.cpp [moved from src/gromacs/gmxlib/gmx_omp_nthreads.cpp with 100% similarity]
src/gromacs/mdlib/gmx_omp_nthreads.h [moved from src/gromacs/gmxlib/gmx_omp_nthreads.h with 100% similarity]
src/gromacs/mdlib/main.cpp [moved from src/gromacs/gmxlib/main.cpp with 100% similarity]
src/gromacs/mdlib/main.h [moved from src/gromacs/gmxlib/main.h with 98% similarity]
src/gromacs/mdlib/mdatoms.cpp
src/gromacs/mdlib/minimize.cpp
src/gromacs/mdlib/nbnxn_atomdata.cpp
src/gromacs/mdlib/nbnxn_grid.cpp
src/gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_file_generator/nbnxn_kernel_simd_template.cpp.pre
src/gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref.cpp
src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.cpp
src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.cpp
src/gromacs/mdlib/nbnxn_search.cpp
src/gromacs/mdlib/sim_util.cpp
src/gromacs/mdlib/splitter.cpp [moved from src/gromacs/gmxlib/splitter.cpp with 100% similarity]
src/gromacs/mdlib/splitter.h [moved from src/gromacs/gmxlib/splitter.h with 97% similarity]
src/gromacs/mdlib/tgroup.cpp
src/gromacs/mdlib/update.cpp
src/gromacs/mdlib/vsite.cpp
src/gromacs/mdrunutility/handlerestart.cpp
src/gromacs/mdrunutility/threadaffinity.cpp
src/programs/mdrun/mdrun.cpp
src/programs/mdrun/repl_ex.cpp
src/programs/mdrun/resource-division.cpp
src/programs/mdrun/runner.cpp