Further gmxfio cleanup related to xdr handling
authorTeemu Murtola <teemu.murtola@gmail.com>
Tue, 30 Jun 2015 10:39:40 +0000 (13:39 +0300)
committerTeemu Murtola <teemu.murtola@gmail.com>
Thu, 2 Jul 2015 03:05:27 +0000 (05:05 +0200)
commitf05ab2395528b62c423ab9e6f72c0ceac561b3a3
tree06c768895b67c2b0f62076df20824669889d25b0
parent84fa371acd30024cfad09f704d92e87fd3f1ea5a
Further gmxfio cleanup related to xdr handling

- Remove unnecessary iotype redirection, since only XDR is used for
  this.  This removes a lot of repetitive code.
- Do not duplicate the list of XDR file types from filenm.c.
- Do not use string comparison for figuring out whether a file should be
  opened as text or binary.

Change-Id: I4522ce36b828283f02c56bb7920292019ae154fa
src/gromacs/fileio/filenm.c
src/gromacs/fileio/filenm.h
src/gromacs/fileio/gmxfio-impl.h
src/gromacs/fileio/gmxfio.c
src/gromacs/fileio/gmxfio_rw.c
src/gromacs/fileio/gmxfio_xdr.c