biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Split tpr header reading reading from tpr body
[alexxy/gromacs.git]
/
src
/
gromacs
/
fileio
/
confio.cpp
diff --git
a/src/gromacs/fileio/confio.cpp
b/src/gromacs/fileio/confio.cpp
index 2cc1e1472d7e33b5449eca56329e04d0b8f0d0f0..48960418e5d3348346632f14e6a8d321110e87cb 100644
(file)
--- a/
src/gromacs/fileio/confio.cpp
+++ b/
src/gromacs/fileio/confio.cpp
@@
-462,8
+462,7
@@
void readConfAndTopology(const char *infile,
*haveTopology = fn2bTPX(infile);
if (*haveTopology)
{
- t_tpxheader header;
- read_tpxheader(infile, &header, TRUE);
+ TpxFileHeader header = readTpxHeader(infile, true);
if (x)
{
snew(*x, header.natoms);