integer nres,nres0,nsup,nstart_sup,nend_sup,nstart_seq, & lim_odl, lim_dih double precision c,cref,dc,xloc,xrot,dc_norm,t,r,prod,rt real*8 sigma_dih(499,19), odl(499,499,19), dih(499,19), & sigma_odl(499,499,19), ehomology_constr common /chain/ c(3,maxres2+2),dc(3,maxres2),xloc(3,maxres), & xrot(3,maxres),dc_norm(3,maxres2),nres,nres0 common /rotmat/ t(3,3,maxres),r(3,3,maxres),prod(3,3,maxres), & rt(3,3,maxres) common /refstruct/ cref(3,maxres2+2),nsup,nstart_sup,nstart_seq, & nend_sup common /hommol/ odl,dih,sigma_dih,sigma_odl,lim_odl, lim_dih