Change t_extmass pointers to std::vector
authorKevin Boyd <kevin.boyd@uconn.edu>
Tue, 18 Dec 2018 03:18:16 +0000 (22:18 -0500)
committerDavid van der Spoel <spoel@xray.bmc.uu.se>
Fri, 28 Dec 2018 10:20:02 +0000 (11:20 +0100)
commit29da602dbec2c15eaeff04bcc6e174109e45d48a
treed3316433e02c258d3dfc385f6b581c3fe31a12b8
parent62b11995e20adc5688224bd144e89d4ef30ebd3a
Change t_extmass pointers to std::vector

Using std::vector in t_extmass fixes a leak in do_md.

Used arrayRefs to view arrays in NHC_trotter

Refs #2693

Change-Id: I6bd84952fb7a470879ddd665183680c865e22fc2
src/gromacs/mdlib/coupling.cpp
src/gromacs/mdtypes/state.h