include 'COMMON.SBRIDGE'
include 'COMMON.DISTFIT'
include 'COMMON.MD'
+ include 'COMMON.REMD'
include 'COMMON.SETUP'
integer itime
double precision energia(0:n_ene)
if (refstr) then
call rms_nac_nnc(rms,frac,frac_nn,co,.false.)
write (line1,'(i10,f15.2,3f12.3,f7.2,2f6.3,f12.3,f10.1,2f8.2,
- & f9.2,i5,$)')
+ & f9.3,i5,$)')
& itime,totT,EK,potE,totE,
& rms,frac,frac_nn,kinetic_T,t_bath,gyrate(),
& distance,potEcomp(23),me
line2=' '
endif
if (print_compon) then
+ if(itime.eq.0) then
+ write(format,'(a1,a4,a1,a4,a10)') "(",format1,",",format2,
+ & ",20a12)"
+ write (istat,format) "#","",
+ & (ename(print_order(i)),i=1,nprint_ene)
+ endif
write(format,'(a1,a4,a1,a4,a10)') "(",format1,",",format2,
& ",20f12.3)"
write (istat,format) line1,line2,