read (INP,'(a80)') titel
call card_concat(controlcard)
+ dyn_ss = index(controlcard,"DYN_SS").gt.0
energy_dec=(index(controlcard,'ENERGY_DEC').gt.0)
unres_pdb = index(controlcard,'UNRES_PDB') .gt. 0
call readi(controlcard,'TORMODE',tor_mode,0)
call reada(weightcard,'WDFAN',wdfa_nei,0.0d0)
call reada(weightcard,'WDFAB',wdfa_beta,0.0d0)
call reada(weightcard,'WLT',wliptran,0.0D0)
+ call reada(weightcard,'LIPSCALE',lipscale,1.0D0)
call reada(weightcard,"ATRISS",atriss,0.301D0)
call reada(weightcard,"BTRISS",btriss,0.021D0)
call reada(weightcard,"CTRISS",ctriss,1.001D0)
do i=1,maxres
dyn_ss_mask(i)=.false.
enddo
- do i=1,maxres-1
- do j=i+1,maxres
+ do i=1,max_cyst-1
+ do j=i+1,max_cyst
dyn_ssbond_ij(i,j)=1.0d300
enddo
enddo
C Read bridging residues.
read (inp,*) ns,(iss(i),i=1,ns)
c print *,'ns=',ns
+c 5/24/2020 Adam: Added a table to translate residue numbers to cysteine
+c numbers
+ icys=0
+ do i=1,ns
+ icys(iss(i))=i
+ enddo
C Check whether the specified bridging residues are cystines.
do i=1,ns
if (itype(iss(i)).ne.1) then