Clean up gmx solvate
authorKevin Boyd <kevin.boyd@uconn.edu>
Thu, 27 Jun 2019 02:38:22 +0000 (22:38 -0400)
committerPaul Bauer <paul.bauer.q@gmail.com>
Thu, 11 Jul 2019 06:09:55 +0000 (08:09 +0200)
commitd3190b9c3302266f94283253007b38803fb1ac21
treec88fa1ea95c0f2174de259cb8db20a5f7bb606a5
parent30b399fb73a6b9b7a24ddba921ce02bd468f44f7
Clean up gmx solvate

Changed c-style struct to C++ with defaults, and changed a char*
field to a string.

Used vector instead of pointer array, and associated changes
to appending.

Moved a number of incrementing variables to local scope

Removed some unused variables and renamed confusing increment variables

Change-Id: I4a8def5621e133d48dc3dfb82efa916cbffabce6
src/gromacs/gmxpreprocess/solvate.cpp