integer nres,nsup,nstart_sup,nz_start,nz_end,iz_sc,
& nres0,nstart_seq,nchain,chain_length,chain_border,iprzes,
- & ireschain,tabpermchain,npermchain,afmend,afmbeg
+ & chain_border1,ireschain,tabpermchain,npermchain,afmend,afmbeg,
+ & nres_chomo,nmodel_start
double precision c,dc,dc_old,d_c_work,xloc,xrot,dc_norm,t,r,
& prod,rt,dc_work,cref,crefjlee,dc_norm2,velAFMconst,
& totTafm,chomo
+ character*256 pdbfiles_chomo(max_template)
common /chain/ c(3,maxres2+2),dc(3,0:maxres2),dc_old(3,0:maxres2),
& xloc(3,maxres),xrot(3,maxres),dc_norm(3,0:maxres2),
& dc_norm2(3,0:maxres2),
& nsup,nstart_sup,nstart_seq,iprzes,
& chain_length(maxchain),npermchain,ireschain(maxres),
& tabpermchain(maxchain,maxperm),
- & chain_border(2,maxchain),nchain
+ & chain_border(2,maxchain),chain_border1(2,maxchain),nchain
common /from_zscore/ nz_start,nz_end,iz_sc
double precision boxxsize,boxysize,boxzsize,enecut,sscut,
& sss,sssgrad,
& totTafm
common /tube/ tubecenter(3),tubeR0,
& buftubebot, buftubetop,bordtubebot,bordtubetop,tubebufthick
- common /chomo_models/ chomo(3,maxres2+2,max_template)
+ common /chomo_models/ chomo(3,maxres2+2,max_template),
+ & nres_chomo(max_template),nmodel_start
+ common /chomo_files/ pdbfiles_chomo