2 real prec,time,potE,uconst,t_bath,qfrag(100)
3 integer ihpb(100),jhpb(100)
4 character*80 arg,ctime_start /"0"/,ctime_end /"1000000000"/,
6 integer time_start,time_end,freq
10 if (iargc().gt.1) then
11 call getarg(2,ctime_start)
12 read (ctime_start,*) time_start
16 if (iargc().gt.2) then
17 call getarg(3,ctime_end)
18 read (ctime_end,*) time_end
22 if (iargc().gt.3) then
29 call xdrfopen(ixdrf,arg, "r", iret)
33 call xdrffloat(ixdrf, time, iret)
34 c print *,"time",time," iret",iret
37 call xdrffloat(ixdrf, potE, iret)
38 call xdrffloat(ixdrf, uconst, iret)
39 c print *,"potE",potE," uconst",uconst
41 call xdrffloat(ixdrf, uconst_back, iret)
43 c print *,"uconst_back",uconst_back
44 call xdrffloat(ixdrf, t_bath, iret)
45 c print *,"t_bath",t_bath
46 call xdrfint(ixdrf, nss, iret)
48 call xdrfint(ixdrf, ihpb(j), iret)
49 call xdrfint(ixdrf, jhpb(j), iret)
52 call xdrfint(ixdrf, nfrag, iret)
54 call xdrffloat(ixdrf, qfrag(i), iret)
59 call xdrf3dfcoord(ixdrf, coord, isize, prec, iret)
62 c print *,licz,time_start,time_end,freq,mod(licz,freq)
63 if (licz.gt.time_end) exit
64 if (licz.ge.time_start .and. mod(licz,freq).eq.0) then
65 write (*,'(e15.8,2e15.5,f12.5,$)') time,potE,uconst,t_bath
66 write (*,'(i4,$)') nss,(ihpb(j),jhpb(j),j=1,nss)
67 write (*,'(i4,20f7.4)') nfrag,(qfrag(i),i=1,nfrag)
68 write (*,'(8f10.5)') ((coord(k,j),k=1,3),j=1,isize)