& d_a(3,0:MAXRES2),d_a_work(6*MAXRES),kinetic_force(MAXRES6),
& Gsqrp(MAXRES2,MAXRES2),Gsqrm(MAXRES2,MAXRES2),
& vtot(MAXRES2),Gvec(maxres2,maxres2),Geigen(maxres2)
+
+ real*8 odl(max_template,maxdim),sigma_odl(max_template,maxdim),
+ & dih(max_template,maxres),sigma_dih(max_template,maxres)
+
+ integer ires_homo(maxdim),jres_homo(maxdim)
+
double precision v_ini,d_time,d_time0,t_bath,tau_bath,
& EK,potE,potEcomp(0:n_ene+4),totE,totT,amax,kinetic_T,dvmax,damax,
& edriftmax,
integer n_timestep,ntwx,ntwe,lang,count_reset_moment,
& count_reset_vel,reset_fricmat,nfrag,npair,nfrag_back,
& ifrag_back(3,maxfrag_back,maxprocs/20),ntime_split,ntime_split0,
- & maxtime_split
+ & maxtime_split,lim_odl,lim_dih,link_start_homo,link_end_homo,
+ & idihconstr_start_homo,idihconstr_end_homo
integer nresn,nyosh,nnos
double precision glogs,qmass,vlogs,xlogs
logical large,print_compon,tbf,rest,reset_moment,reset_vel,
common /back_constr/ uconst_back,utheta,ugamma,uscdiff,
& dutheta,dugamma,duscdiff,duscdiffx,
& wfrag_back,nfrag_back,ifrag_back
+ common /homrestr/ odl,dih,sigma_dih,sigma_odl,
+ & lim_odl,lim_dih,ires_homo,jres_homo,link_start_homo,
+ & link_end_homo,idihconstr_start_homo,idihconstr_end_homo
common /qmeas/ qfrag,qpair,qinfrag,qinpair,wfrag,wpair,eq_time,
& Ucdfrag,Ucdpair,dUdconst,dUdxconst,dqwol,dxqwol,Uconst,
& iset,mset,nset,usampl,ifrag,ipair,npair,nfrag