Use vector in atoms2md instead of pointer
authorJoe Jordan <ejjordan12@gmail.com>
Fri, 3 Jul 2020 09:55:37 +0000 (09:55 +0000)
committerJoe Jordan <ejjordan12@gmail.com>
Fri, 3 Jul 2020 09:55:37 +0000 (09:55 +0000)
commit313e858093e99292ac3c25b98821867f86e8aec0
treec5c1ac63f45b6328307989a51a4e4c09ecce9160
parent1b7049ad855aaa92bd4268d05b65e7547df289a1
Use vector in atoms2md instead of pointer

At all call sites for atoms2md the underlying vector was cast to an int pointer.
This change makes it easier to inspect the values passed to atoms2md in a
debugger while incurring no performance penalty.
src/gromacs/domdec/mdsetup.cpp
src/gromacs/gmxana/gmx_disre.cpp
src/gromacs/gmxpreprocess/readpull.cpp
src/gromacs/mdlib/mdatoms.cpp
src/gromacs/mdlib/mdatoms.h
src/gromacs/mdrun/tpi.cpp