& sigmaii(ntyp,ntyp),
& rs0(ntyp,ntyp),chi(ntyp,ntyp),chip(ntyp),alp(ntyp),sigma0(ntyp),
& sigii(ntyp),rr0(ntyp),r0(ntyp,ntyp),r0e(ntyp,ntyp),r0d(ntyp,2),
- & rpp(2,2),epp(2,2),elpp6(2,2),elpp3(2,2),eps_scp(20,2),rscp(20,2)
+ & rpp(2,2),epp(2,2),elpp6(2,2),elpp3(2,2),eps_scp(ntyp,2),
+ & rscp(ntyp,2)
c 12/5/03 modified 09/18/03 Bond stretching parameters.
double precision vbldp0,vbldsc0,akp,aksc,abond0,distchainmax
integer nbondterm
C Parameters of the SC rotamers (local) term
double precision sc_parmin
- common/scrot/sc_parmin(maxsccoef,20)
+ common/scrot/sc_parmin(maxsccoef,ntyp)
endif
evdwij=e1+e2
evdw2=evdw2+evdwij
- if (energy_dec) write (iout,'(a6,2i5,0pf7.3)')
- & 'evdw2',i,j,evdwij
+ if (energy_dec) write (iout,'(a6,2i5,0pf7.3,2i3,3e11.3)')
+ & 'evdw2',i,j,evdwij,iteli,itypj,fac,aad(itypj,iteli),
+ & bad(itypj,iteli)
C
C Calculate contributions to the gradient in the virtual-bond and SC vectors.
C
bad(i,1)=-2*eps_scp(i,1)*rscp(i,1)**6
bad(i,2)=-2*eps_scp(i,2)*rscp(i,2)**6
enddo
-
+ lprint=.true.
if (lprint) then
write (iout,*) "Parameters of SC-p interactions:"
do i=1,ntyp
& eps_scp(i,2),rscp(i,2),aad(i,1),bad(i,1),aad(i,2),bad(i,2)
enddo
endif
+ lprint=.false.
#endif
C
C Define the constants of the disulfide bridge
enddo
enddo
write (iout,*) chain_length
+ if (chain_length.eq.0) chain_length=nres
do j=1,3
chain_rep(j,chain_length,symetr)=chain_rep(j,chain_length,1)
chain_rep(j,chain_length+nres,symetr)
evdw2_14=evdw2_14+e1+e2
endif
evdwij=e1+e2
-c write (iout,*) i,j,evdwij
+ write (iout,'(a6,2i5,0pf7.3,2i3,3e11.3)')
+ & 'evdw2',i,j,evdwij,iteli,itypj,fac,aad(itypj,iteli),
+ & bad(itypj,iteli)
evdw2=evdw2+evdwij
if (calc_grad) then
C