1 double precision dcdv,dxdv,dxds,gradx,gradc,gvdwc,gelc,gelc_long,
2 & gvdwpp,gel_loc,gel_loc_long,gvdwc_scpp,gliptranc,gliptranx,
3 & gradx_scp,gvdwc_scp,ghpbx,ghpbc,gloc,gloc_x,dtheta,dphi,dalpha,
4 & domega,gscloc,gsclocx,gradcorr,gradcorr_long,gradcorr5_long,
5 & gradcorr6_long,gcorr6_turn_long,gvdwx,gradafm,gradxorr,gradcorr5,
6 &gradcorr6,gcorr3_turn,gcorr4_turn,gcorr6,gcorr6_turn,gradb,gradbx,
7 & gel_loc_loc,gel_loc_turn3,gel_loc_turn4,gel_loc_turn6,gcorr_loc,
8 & g_corr5_loc,g_corr6_loc,gsccorc,gsccorx,gsccor_loc,gsaxsC,gsaxsX
10 common /derivat/ dcdv(6,maxdim),dxdv(6,maxdim),dxds(6,maxres),
11 & gradx(3,-1:maxres,2),gradc(3,-1:maxres,2),gvdwx(3,-1:maxres),
12 & gvdwc(3,-1:maxres),gelc(3,-1:maxres),gelc_long(3,-1:maxres),
13 & gvdwpp(3,-1:maxres),gvdwc_scpp(3,-1:maxres),
14 & gliptranc(3,-1:maxres),
15 & gliptranx(3,-1:maxres),
16 & gradafm(3,-1:maxres),
17 & gradx_scp(3,-1:maxres),gvdwc_scp(3,-1:maxres),
18 & ghpbx(3,-1:maxres),ghpbc(3,-1:maxres),
19 & gsaxsC(3,-1:maxres),gsaxsX(3,-1:maxres),
20 & gloc(maxvar,2),gradcorr(3,-1:maxres),
21 & gradcorr_long(3,-1:maxres),gradcorr5_long(3,-1:maxres),
22 & gradcorr6_long(3,-1:maxres),gcorr6_turn_long(3,-1:maxres),
23 & gradxorr(3,-1:maxres),gradcorr5(3,-1:maxres),
24 & gradcorr6(3,-1:maxres),
25 & gloc_x(maxvar,2),gel_loc(3,-1:maxres),gel_loc_long(3,-1:maxres),
26 & gcorr3_turn(3,-1:maxres),
27 & gcorr4_turn(3,-1:maxres),gcorr6_turn(3,-1:maxres),
29 & gradbx(3,-1:maxres),gel_loc_loc(maxvar),gel_loc_turn3(maxvar),
30 & gel_loc_turn4(maxvar),gel_loc_turn6(maxvar),
32 & g_corr5_loc(maxvar),g_corr6_loc(maxvar),gsccorc(3,-1:maxres),
33 & gsccorx(3,-1:maxres),gsccor_loc(-1:maxres),
34 & dtheta(3,2,-1:maxres),
35 & gscloc(3,-1:maxres),gsclocx(3,-1:maxres),
36 & dphi(3,3,-1:maxres),dalpha(3,3,-1:maxres),domega(3,3,-1:maxres),
39 double precision derx,derx_turn
40 common /deriv_loc/ derx(3,5,2),derx_turn(3,5,2)
41 double precision dXX_C1tab(3,maxres),dYY_C1tab(3,maxres),
42 & dZZ_C1tab(3,maxres),dXX_Ctab(3,maxres),dYY_Ctab(3,maxres),
43 & dZZ_Ctab(3,maxres),dXX_XYZtab(3,maxres),dYY_XYZtab(3,maxres),
44 & dZZ_XYZtab(3,maxres)
45 common /deriv_scloc/ dXX_C1tab,dYY_C1tab,dZZ_C1tab,dXX_Ctab,
46 & dYY_Ctab,dZZ_Ctab,dXX_XYZtab,dYY_XYZtab,dZZ_XYZtab
47 integer igrad_start,igrad_end,jgrad_start(maxres),
49 common /mpgrad/ igrad_start,igrad_end,jgrad_start,jgrad_end