biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
edf4449
)
Use local variables instead of those in *ir.
author
Magnus Lundborg
<lundborg.magnus@gmail.com>
Wed, 25 Nov 2015 22:36:15 +0000
(23:36 +0100)
committer
Magnus Lundborg
<lundborg.magnus@gmail.com>
Wed, 25 Nov 2015 22:36:15 +0000
(23:36 +0100)
We set vout and fout to that values of ir->nstvout and ir->nstfout
Use the local variables.
Change-Id: I17dbc1f9c2fda7099cfa2f38da6600e2d175bd5a
src/gromacs/fileio/tngio.cpp
patch
|
blob
|
history
diff --git
a/src/gromacs/fileio/tngio.cpp
b/src/gromacs/fileio/tngio.cpp
index 6653dfaef9079e16cb145e94b8bc2236ae1c443f..ccfd2eb774e6157443308c4e5e8e860ebd5c6938 100644
(file)
--- a/
src/gromacs/fileio/tngio.cpp
+++ b/
src/gromacs/fileio/tngio.cpp
@@
-427,7
+427,7
@@
static void set_writing_intervals(tng_trajectory_t tng,
}
if (vout)
{
- set_writing_interval(tng,
ir->nst
vout, 3, TNG_TRAJ_VELOCITIES,
+ set_writing_interval(tng, vout, 3, TNG_TRAJ_VELOCITIES,
"VELOCITIES", TNG_PARTICLE_BLOCK_DATA,
compression);
@@
-440,7
+440,7
@@
static void set_writing_intervals(tng_trajectory_t tng,
}
if (fout)
{
- set_writing_interval(tng,
ir->nst
fout, 3, TNG_TRAJ_FORCES,
+ set_writing_interval(tng, fout, 3, TNG_TRAJ_FORCES,
"FORCES", TNG_PARTICLE_BLOCK_DATA,
TNG_GZIP_COMPRESSION);