Change TNG file opening
authorPaul Bauer <paul.bauer.q@gmail.com>
Fri, 23 Feb 2018 14:33:33 +0000 (15:33 +0100)
committerMark Abraham <mark.j.abraham@gmail.com>
Mon, 26 Feb 2018 15:08:46 +0000 (16:08 +0100)
commit0aec206f737adf7b50f1637a0085c6da53fc491c
tree648be002febeb4e2bac25d3b2abf003acd0aa6c4
parent40d8c458c584892f4c263143eb4a479ead1e00dc
Change TNG file opening

Change to TNG file opening to return a pointer the same way as open_trx
does. This is needed in a follow-up change so that no memory is lost
there.

Also made sure it is possible to open TNG files if no input file is
specified, or if the input file is not of TNG type.

Change-Id: I47cf1625815e640b399ed5a0ed5bbc9a3ead6e1b
src/gromacs/fileio/trxio.cpp
src/gromacs/fileio/trxio.h
src/gromacs/gmxana/gmx_trjcat.cpp
src/gromacs/gmxana/gmx_trjconv.cpp