Add grompp check for usage of "define" field in mdp
authorKevin Boyd <kevin.boyd@uconn.edu>
Mon, 24 Dec 2018 20:53:17 +0000 (15:53 -0500)
committerMark Abraham <mark.j.abraham@gmail.com>
Sun, 13 Jan 2019 13:38:37 +0000 (14:38 +0100)
commit2363b5ffe45af1328720bdb79e4678269660bfb6
treeaf7e3876a1e5a740214ee73fe452ba0dc9faca8b
parent41aff7b69586566a82b6c91a38b9b320a5662a31
Add grompp check for usage of "define" field in mdp

Users can misspell the strings specified with -D in the topology. This  now
check that every -D field has a corresponding #ifdef and/or #ifndef and/or
C macro-style text replacement in the topology.

Fixed one unit test with unnecessary define field

refs #1975

Change-Id: Ie6329b234a60dde8efc34fb788e6296f241651ed
docs/release-notes/miscellaneous.rst
src/gromacs/gmxpreprocess/gmxcpp.cpp
src/gromacs/gmxpreprocess/gmxcpp.h
src/gromacs/gmxpreprocess/topio.cpp
src/programs/mdrun/tests/swapcoords.cpp