Convert gmx_stochd_t to C++
authorKevin Boyd <kevin.boyd@uconn.edu>
Thu, 20 Dec 2018 14:43:30 +0000 (09:43 -0500)
committerDavid van der Spoel <spoel@xray.bmc.uu.se>
Fri, 28 Dec 2018 10:18:10 +0000 (11:18 +0100)
commit62b11995e20adc5688224bd144e89d4ef30ebd3a
tree7cf93c37f06522bcae35fc402552b8ea56a3c2bd
parent56ef8aa9667a8bd06b13765d55e3234d020d76e1
Convert gmx_stochd_t to C++

Changed raw arrays to std::vector

Moved init functionality into constructor

Made owning gmx_update_t use a unique_ptr

Changed functions using struct to take constant references

Change-Id: I3664d9cc2b7e89eba57ad36a89e9c44b7895a7ef
src/gromacs/mdlib/coupling.cpp
src/gromacs/mdlib/update.cpp
src/gromacs/mdlib/update.h