Use std::vector in shellfc
authorBerk Hess <hess@kth.se>
Wed, 15 Jan 2020 16:35:15 +0000 (17:35 +0100)
committerChristian Blau <cblau@gerrit.gromacs.org>
Mon, 20 Jan 2020 14:13:32 +0000 (15:13 +0100)
commit0840a89038e9b3aa9c0d16bf96a8ab6689e2fdc9
tree350e5d5d45c22e33427146935eb9a0ecbed681b7
parenta3047228f0ea0deb2ef0ea47397bfd92f877678c
Use std::vector in shellfc

Replaced all C memory management in shellfc by std::vector and
one now. Also used more ArrayRef.
All allocated memory is now freed by done_shellfc().

Change-Id: Ic533d7b20ba7486f76148476b35986a3caec4b36
src/gromacs/mdlib/constr.h
src/gromacs/mdrun/shellfc.cpp
src/gromacs/mdrun/shellfc.h