Removed some direct output to stderr.
authorTeemu Murtola <teemu.murtola@cbr.su.se>
Sun, 25 Sep 2011 18:11:14 +0000 (21:11 +0300)
committerTeemu Murtola <teemu.murtola@gmail.com>
Sat, 3 Dec 2011 19:05:20 +0000 (21:05 +0200)
commit3ee636c5002184d95d9510ac077e26cea60aa640
tree64108e326c7b00566f2dd629aefd43ef2302f04d
parentd10a77b64c19f3741f90d3d40f30aa496646bce0
Removed some direct output to stderr.

Functions that used to print information directly to stderr now take a
FILE object such that the caller can decide where the information goes.
The caller for now still always prints to stderr, but this reduces the
number of direct references to stderr. Remaining references to stderr in
the selection module are either for 1) part of interactive input, 2)
debug output, or 3) rare error conditions that require some thought on
how to handle.

Related to issue #655.

Change-Id: If0d7b6c5ba36ad64f97ff2cfac8f7ab47b4d5a27
src/gromacs/selection/indexutil.cpp
src/gromacs/selection/indexutil.h
src/gromacs/selection/parsetree.cpp
src/gromacs/selection/selection.cpp
src/gromacs/selection/selection.h
src/gromacs/selection/selhelp.cpp
src/gromacs/selection/selhelp.h
src/gromacs/trajectoryanalysis/tests/test_selection.cpp