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:
871d4f6
)
fixed a bug when fitting, the (in most cases) unitialized trajectory box was used...
author
hess
<hess>
Wed, 23 Jan 2002 13:24:11 +0000
(13:24 +0000)
committer
hess
<hess>
Wed, 23 Jan 2002 13:24:11 +0000
(13:24 +0000)
src/tools/trjconv.c
patch
|
blob
|
history
diff --git
a/src/tools/trjconv.c
b/src/tools/trjconv.c
index 3041ec94b51d5e98d0f75b50b48cd6f5776a0e82..32d5a7f2ac21941f65a1a5d5b3a9ee3b12338c70 100644
(file)
--- a/
src/tools/trjconv.c
+++ b/
src/tools/trjconv.c
@@
-471,7
+471,7
@@
int main(int argc,char *argv[])
/* Restore reference structure and set to origin,
store original location (to put structure back) */
- rm_pbc(&(top.idef),atoms->nr,
fr.
box,xp,xp);
+ rm_pbc(&(top.idef),atoms->nr,
top_
box,xp,xp);
copy_rvec(xp[index[0]],x_shift);
reset_x(ifit,ind_fit,atoms->nr,NULL,xp,w_rls);
rvec_dec(x_shift,xp[index[0]]);