PVJU3BHR2KKVERLV3DNNRE4Q5FJYMVIQ2K6TRXK67CO73DL5D34QC
STORAGE: evol_variables[3] # Evolution variables
STORAGE: evol_variables_rhs[1] # Variables storing right-hand-sides
STORAGE: aux_variables[3] # Diagnostics variables
STORAGE: auxevol_variables[1] # Single-timelevel storage of variables needed for evolutions.
STORAGE: evol_variables # Evolution variables
STORAGE: evol_variables_rhs # Variables storing right-hand-sides
STORAGE: aux_variables # Diagnostics variables
STORAGE: auxevol_variables # Single-timelevel storage of variables needed for evolutions.
const double hDD22_i0_i1_i2p2 = hDD22GF_.ptr[hDD22GF_.offset(i0,i1,i2+2)];
const double hDD_dD000 = invdx0*(-2.0/3.0*hDD00_i0m1_i1_i2 + (1.0/12.0)*hDD00_i0m2_i1_i2 + (2.0/3.0)*hDD00_i0p1_i1_i2 - 1.0/12.0*hDD00_i0p2_i1_i2);
const double hDD_dD001 = invdx1*(-2.0/3.0*hDD00_i0_i1m1_i2 + (1.0/12.0)*hDD00_i0_i1m2_i2 + (2.0/3.0)*hDD00_i0_i1p1_i2 - 1.0/12.0*hDD00_i0_i1p2_i2);
const double hDD_dD002 = invdx2*(-2.0/3.0*hDD00_i0_i1_i2m1 + (1.0/12.0)*hDD00_i0_i1_i2m2 + (2.0/3.0)*hDD00_i0_i1_i2p1 - 1.0/12.0*hDD00_i0_i1_i2p2);
const double hDD_dD010 = invdx0*(-2.0/3.0*hDD01_i0m1_i1_i2 + (1.0/12.0)*hDD01_i0m2_i1_i2 + (2.0/3.0)*hDD01_i0p1_i1_i2 - 1.0/12.0*hDD01_i0p2_i1_i2);
const double hDD_dD011 = invdx1*(-2.0/3.0*hDD01_i0_i1m1_i2 + (1.0/12.0)*hDD01_i0_i1m2_i2 + (2.0/3.0)*hDD01_i0_i1p1_i2 - 1.0/12.0*hDD01_i0_i1p2_i2);
const double hDD_dD012 = invdx2*(-2.0/3.0*hDD01_i0_i1_i2m1 + (1.0/12.0)*hDD01_i0_i1_i2m2 + (2.0/3.0)*hDD01_i0_i1_i2p1 - 1.0/12.0*hDD01_i0_i1_i2p2);
const double hDD_dD020 = invdx0*(-2.0/3.0*hDD02_i0m1_i1_i2 + (1.0/12.0)*hDD02_i0m2_i1_i2 + (2.0/3.0)*hDD02_i0p1_i1_i2 - 1.0/12.0*hDD02_i0p2_i1_i2);
const double hDD_dD021 = invdx1*(-2.0/3.0*hDD02_i0_i1m1_i2 + (1.0/12.0)*hDD02_i0_i1m2_i2 + (2.0/3.0)*hDD02_i0_i1p1_i2 - 1.0/12.0*hDD02_i0_i1p2_i2);
const double hDD_dD022 = invdx2*(-2.0/3.0*hDD02_i0_i1_i2m1 + (1.0/12.0)*hDD02_i0_i1_i2m2 + (2.0/3.0)*hDD02_i0_i1_i2p1 - 1.0/12.0*hDD02_i0_i1_i2p2);
const double hDD_dD110 = invdx0*(-2.0/3.0*hDD11_i0m1_i1_i2 + (1.0/12.0)*hDD11_i0m2_i1_i2 + (2.0/3.0)*hDD11_i0p1_i1_i2 - 1.0/12.0*hDD11_i0p2_i1_i2);
const double hDD_dD111 = invdx1*(-2.0/3.0*hDD11_i0_i1m1_i2 + (1.0/12.0)*hDD11_i0_i1m2_i2 + (2.0/3.0)*hDD11_i0_i1p1_i2 - 1.0/12.0*hDD11_i0_i1p2_i2);
const double hDD_dD112 = invdx2*(-2.0/3.0*hDD11_i0_i1_i2m1 + (1.0/12.0)*hDD11_i0_i1_i2m2 + (2.0/3.0)*hDD11_i0_i1_i2p1 - 1.0/12.0*hDD11_i0_i1_i2p2);
const double hDD_dD120 = invdx0*(-2.0/3.0*hDD12_i0m1_i1_i2 + (1.0/12.0)*hDD12_i0m2_i1_i2 + (2.0/3.0)*hDD12_i0p1_i1_i2 - 1.0/12.0*hDD12_i0p2_i1_i2);
const double hDD_dD121 = invdx1*(-2.0/3.0*hDD12_i0_i1m1_i2 + (1.0/12.0)*hDD12_i0_i1m2_i2 + (2.0/3.0)*hDD12_i0_i1p1_i2 - 1.0/12.0*hDD12_i0_i1p2_i2);
const double hDD_dD122 = invdx2*(-2.0/3.0*hDD12_i0_i1_i2m1 + (1.0/12.0)*hDD12_i0_i1_i2m2 + (2.0/3.0)*hDD12_i0_i1_i2p1 - 1.0/12.0*hDD12_i0_i1_i2p2);
const double hDD_dD220 = invdx0*(-2.0/3.0*hDD22_i0m1_i1_i2 + (1.0/12.0)*hDD22_i0m2_i1_i2 + (2.0/3.0)*hDD22_i0p1_i1_i2 - 1.0/12.0*hDD22_i0p2_i1_i2);
const double hDD_dD221 = invdx1*(-2.0/3.0*hDD22_i0_i1m1_i2 + (1.0/12.0)*hDD22_i0_i1m2_i2 + (2.0/3.0)*hDD22_i0_i1p1_i2 - 1.0/12.0*hDD22_i0_i1p2_i2);
const double hDD_dD222 = invdx2*(-2.0/3.0*hDD22_i0_i1_i2m1 + (1.0/12.0)*hDD22_i0_i1_i2m2 + (2.0/3.0)*hDD22_i0_i1_i2p1 - 1.0/12.0*hDD22_i0_i1_i2p2);
const double hDD_dD000 = invdx0*(-1.0/2.0*hDD00_i0m1_i1_i2 + (1.0/2.0)*hDD00_i0p1_i1_i2);
const double hDD_dD001 = invdx1*(-1.0/2.0*hDD00_i0_i1m1_i2 + (1.0/2.0)*hDD00_i0_i1p1_i2);
const double hDD_dD002 = invdx2*(-1.0/2.0*hDD00_i0_i1_i2m1 + (1.0/2.0)*hDD00_i0_i1_i2p1);
const double hDD_dD010 = invdx0*(-1.0/2.0*hDD01_i0m1_i1_i2 + (1.0/2.0)*hDD01_i0p1_i1_i2);
const double hDD_dD011 = invdx1*(-1.0/2.0*hDD01_i0_i1m1_i2 + (1.0/2.0)*hDD01_i0_i1p1_i2);
const double hDD_dD012 = invdx2*(-1.0/2.0*hDD01_i0_i1_i2m1 + (1.0/2.0)*hDD01_i0_i1_i2p1);
const double hDD_dD020 = invdx0*(-1.0/2.0*hDD02_i0m1_i1_i2 + (1.0/2.0)*hDD02_i0p1_i1_i2);
const double hDD_dD021 = invdx1*(-1.0/2.0*hDD02_i0_i1m1_i2 + (1.0/2.0)*hDD02_i0_i1p1_i2);
const double hDD_dD022 = invdx2*(-1.0/2.0*hDD02_i0_i1_i2m1 + (1.0/2.0)*hDD02_i0_i1_i2p1);
const double hDD_dD110 = invdx0*(-1.0/2.0*hDD11_i0m1_i1_i2 + (1.0/2.0)*hDD11_i0p1_i1_i2);
const double hDD_dD111 = invdx1*(-1.0/2.0*hDD11_i0_i1m1_i2 + (1.0/2.0)*hDD11_i0_i1p1_i2);
const double hDD_dD112 = invdx2*(-1.0/2.0*hDD11_i0_i1_i2m1 + (1.0/2.0)*hDD11_i0_i1_i2p1);
const double hDD_dD120 = invdx0*(-1.0/2.0*hDD12_i0m1_i1_i2 + (1.0/2.0)*hDD12_i0p1_i1_i2);
const double hDD_dD121 = invdx1*(-1.0/2.0*hDD12_i0_i1m1_i2 + (1.0/2.0)*hDD12_i0_i1p1_i2);
const double hDD_dD122 = invdx2*(-1.0/2.0*hDD12_i0_i1_i2m1 + (1.0/2.0)*hDD12_i0_i1_i2p1);
const double hDD_dD220 = invdx0*(-1.0/2.0*hDD22_i0m1_i1_i2 + (1.0/2.0)*hDD22_i0p1_i1_i2);
const double hDD_dD221 = invdx1*(-1.0/2.0*hDD22_i0_i1m1_i2 + (1.0/2.0)*hDD22_i0_i1p1_i2);
const double hDD_dD222 = invdx2*(-1.0/2.0*hDD22_i0_i1_i2m1 + (1.0/2.0)*hDD22_i0_i1_i2p1);
const double lambdaU2_i0_i1_i2p3 = lambdaU2GF_.ptr[lambdaU2GF_.offset(i0,i1,i2+3)];
const double vetU0_i0_i1_i2m3 = vetU0GF_.ptr[vetU0GF_.offset(i0,i1,i2-3)];
const double vetU0_i0_i1m2_i2m2 = vetU0GF_.ptr[vetU0GF_.offset(i0,i1-2,i2-2)];
const double vetU0_i0_i1m1_i2m2 = vetU0GF_.ptr[vetU0GF_.offset(i0,i1-1,i2-2)];
const double vetU0_i0m2_i1_i2m2 = vetU0GF_.ptr[vetU0GF_.offset(i0-2,i1,i2-2)];
const double vetU0_i0m1_i1_i2m2 = vetU0GF_.ptr[vetU0GF_.offset(i0-1,i1,i2-2)];
const double vetU0_i0p1_i1_i2m2 = vetU0GF_.ptr[vetU0GF_.offset(i0+1,i1,i2-2)];
const double vetU0_i0p2_i1_i2m2 = vetU0GF_.ptr[vetU0GF_.offset(i0+2,i1,i2-2)];
const double vetU0_i0_i1p1_i2m2 = vetU0GF_.ptr[vetU0GF_.offset(i0,i1+1,i2-2)];
const double vetU0_i0_i1p2_i2m2 = vetU0GF_.ptr[vetU0GF_.offset(i0,i1+2,i2-2)];
const double vetU0_i0_i1m2_i2m1 = vetU0GF_.ptr[vetU0GF_.offset(i0,i1-2,i2-1)];
const double vetU0_i0_i1p2_i2m1 = vetU0GF_.ptr[vetU0GF_.offset(i0,i1+2,i2-1)];
const double vetU0_i0_i1m3_i2 = vetU0GF_.ptr[vetU0GF_.offset(i0,i1-3,i2)];
const double vetU0_i0m2_i1m2_i2 = vetU0GF_.ptr[vetU0GF_.offset(i0-2,i1-2,i2)];
const double vetU0_i0m1_i1m2_i2 = vetU0GF_.ptr[vetU0GF_.offset(i0-1,i1-2,i2)];
const double vetU0_i0p1_i1p2_i2 = vetU0GF_.ptr[vetU0GF_.offset(i0+1,i1+2,i2)];
const double vetU0_i0p2_i1p2_i2 = vetU0GF_.ptr[vetU0GF_.offset(i0+2,i1+2,i2)];
const double vetU0_i0_i1p3_i2 = vetU0GF_.ptr[vetU0GF_.offset(i0,i1+3,i2)];
const double vetU0_i0_i1m2_i2p1 = vetU0GF_.ptr[vetU0GF_.offset(i0,i1-2,i2+1)];
const double vetU0_i0_i1p2_i2p1 = vetU0GF_.ptr[vetU0GF_.offset(i0,i1+2,i2+1)];
const double vetU0_i0_i1m2_i2p2 = vetU0GF_.ptr[vetU0GF_.offset(i0,i1-2,i2+2)];
const double vetU0_i0_i1m1_i2p2 = vetU0GF_.ptr[vetU0GF_.offset(i0,i1-1,i2+2)];
const double vetU0_i0m2_i1_i2p2 = vetU0GF_.ptr[vetU0GF_.offset(i0-2,i1,i2+2)];
const double vetU0_i0m1_i1_i2p2 = vetU0GF_.ptr[vetU0GF_.offset(i0-1,i1,i2+2)];
const double vetU0_i0p1_i1_i2p2 = vetU0GF_.ptr[vetU0GF_.offset(i0+1,i1,i2+2)];
const double vetU0_i0p2_i1_i2p2 = vetU0GF_.ptr[vetU0GF_.offset(i0+2,i1,i2+2)];
const double vetU0_i0_i1p1_i2p2 = vetU0GF_.ptr[vetU0GF_.offset(i0,i1+1,i2+2)];
const double vetU0_i0_i1p2_i2p2 = vetU0GF_.ptr[vetU0GF_.offset(i0,i1+2,i2+2)];
const double vetU0_i0_i1_i2p3 = vetU0GF_.ptr[vetU0GF_.offset(i0,i1,i2+3)];
const double vetU1_i0_i1_i2m3 = vetU1GF_.ptr[vetU1GF_.offset(i0,i1,i2-3)];
const double vetU1_i0_i1m2_i2m2 = vetU1GF_.ptr[vetU1GF_.offset(i0,i1-2,i2-2)];
const double vetU1_i0_i1m1_i2m2 = vetU1GF_.ptr[vetU1GF_.offset(i0,i1-1,i2-2)];
const double vetU1_i0m2_i1_i2m2 = vetU1GF_.ptr[vetU1GF_.offset(i0-2,i1,i2-2)];
const double vetU1_i0m1_i1_i2m2 = vetU1GF_.ptr[vetU1GF_.offset(i0-1,i1,i2-2)];
const double vetU1_i0p1_i1_i2m2 = vetU1GF_.ptr[vetU1GF_.offset(i0+1,i1,i2-2)];
const double vetU1_i0p2_i1_i2m2 = vetU1GF_.ptr[vetU1GF_.offset(i0+2,i1,i2-2)];
const double vetU1_i0_i1p1_i2m2 = vetU1GF_.ptr[vetU1GF_.offset(i0,i1+1,i2-2)];
const double vetU1_i0_i1p2_i2m2 = vetU1GF_.ptr[vetU1GF_.offset(i0,i1+2,i2-2)];
const double vetU1_i0_i1m2_i2m1 = vetU1GF_.ptr[vetU1GF_.offset(i0,i1-2,i2-1)];
const double vetU1_i0_i1p2_i2m1 = vetU1GF_.ptr[vetU1GF_.offset(i0,i1+2,i2-1)];
const double vetU1_i0_i1m3_i2 = vetU1GF_.ptr[vetU1GF_.offset(i0,i1-3,i2)];
const double vetU1_i0m2_i1m2_i2 = vetU1GF_.ptr[vetU1GF_.offset(i0-2,i1-2,i2)];
const double vetU1_i0m1_i1m2_i2 = vetU1GF_.ptr[vetU1GF_.offset(i0-1,i1-2,i2)];
const double vetU1_i0p1_i1p2_i2 = vetU1GF_.ptr[vetU1GF_.offset(i0+1,i1+2,i2)];
const double vetU1_i0p2_i1p2_i2 = vetU1GF_.ptr[vetU1GF_.offset(i0+2,i1+2,i2)];
const double vetU1_i0_i1p3_i2 = vetU1GF_.ptr[vetU1GF_.offset(i0,i1+3,i2)];
const double vetU1_i0_i1m2_i2p1 = vetU1GF_.ptr[vetU1GF_.offset(i0,i1-2,i2+1)];
const double vetU1_i0_i1p2_i2p1 = vetU1GF_.ptr[vetU1GF_.offset(i0,i1+2,i2+1)];
const double vetU1_i0_i1m2_i2p2 = vetU1GF_.ptr[vetU1GF_.offset(i0,i1-2,i2+2)];
const double vetU1_i0_i1m1_i2p2 = vetU1GF_.ptr[vetU1GF_.offset(i0,i1-1,i2+2)];
const double vetU1_i0m2_i1_i2p2 = vetU1GF_.ptr[vetU1GF_.offset(i0-2,i1,i2+2)];
const double vetU1_i0m1_i1_i2p2 = vetU1GF_.ptr[vetU1GF_.offset(i0-1,i1,i2+2)];
const double vetU1_i0p1_i1_i2p2 = vetU1GF_.ptr[vetU1GF_.offset(i0+1,i1,i2+2)];
const double vetU1_i0p2_i1_i2p2 = vetU1GF_.ptr[vetU1GF_.offset(i0+2,i1,i2+2)];
const double vetU1_i0_i1p1_i2p2 = vetU1GF_.ptr[vetU1GF_.offset(i0,i1+1,i2+2)];
const double vetU1_i0_i1p2_i2p2 = vetU1GF_.ptr[vetU1GF_.offset(i0,i1+2,i2+2)];
const double vetU1_i0_i1_i2p3 = vetU1GF_.ptr[vetU1GF_.offset(i0,i1,i2+3)];
const double vetU2_i0_i1_i2m3 = vetU2GF_.ptr[vetU2GF_.offset(i0,i1,i2-3)];
const double vetU2_i0_i1m2_i2m2 = vetU2GF_.ptr[vetU2GF_.offset(i0,i1-2,i2-2)];
const double vetU2_i0_i1m1_i2m2 = vetU2GF_.ptr[vetU2GF_.offset(i0,i1-1,i2-2)];
const double vetU2_i0m2_i1_i2m2 = vetU2GF_.ptr[vetU2GF_.offset(i0-2,i1,i2-2)];
const double vetU2_i0m1_i1_i2m2 = vetU2GF_.ptr[vetU2GF_.offset(i0-1,i1,i2-2)];
const double vetU2_i0p1_i1_i2m2 = vetU2GF_.ptr[vetU2GF_.offset(i0+1,i1,i2-2)];
const double vetU2_i0p2_i1_i2m2 = vetU2GF_.ptr[vetU2GF_.offset(i0+2,i1,i2-2)];
const double vetU2_i0_i1p1_i2m2 = vetU2GF_.ptr[vetU2GF_.offset(i0,i1+1,i2-2)];
const double vetU2_i0_i1p2_i2m2 = vetU2GF_.ptr[vetU2GF_.offset(i0,i1+2,i2-2)];
const double vetU2_i0_i1m2_i2m1 = vetU2GF_.ptr[vetU2GF_.offset(i0,i1-2,i2-1)];
const double vetU2_i0_i1p2_i2m1 = vetU2GF_.ptr[vetU2GF_.offset(i0,i1+2,i2-1)];
const double vetU2_i0_i1m3_i2 = vetU2GF_.ptr[vetU2GF_.offset(i0,i1-3,i2)];
const double vetU2_i0m2_i1m2_i2 = vetU2GF_.ptr[vetU2GF_.offset(i0-2,i1-2,i2)];
const double vetU2_i0m1_i1m2_i2 = vetU2GF_.ptr[vetU2GF_.offset(i0-1,i1-2,i2)];
const double vetU2_i0p1_i1p2_i2 = vetU2GF_.ptr[vetU2GF_.offset(i0+1,i1+2,i2)];
const double vetU2_i0p2_i1p2_i2 = vetU2GF_.ptr[vetU2GF_.offset(i0+2,i1+2,i2)];
const double vetU2_i0_i1p3_i2 = vetU2GF_.ptr[vetU2GF_.offset(i0,i1+3,i2)];
const double vetU2_i0_i1m2_i2p1 = vetU2GF_.ptr[vetU2GF_.offset(i0,i1-2,i2+1)];
const double vetU2_i0_i1p2_i2p1 = vetU2GF_.ptr[vetU2GF_.offset(i0,i1+2,i2+1)];
const double vetU2_i0_i1m2_i2p2 = vetU2GF_.ptr[vetU2GF_.offset(i0,i1-2,i2+2)];
const double vetU2_i0_i1m1_i2p2 = vetU2GF_.ptr[vetU2GF_.offset(i0,i1-1,i2+2)];
const double vetU2_i0m2_i1_i2p2 = vetU2GF_.ptr[vetU2GF_.offset(i0-2,i1,i2+2)];
const double vetU2_i0m1_i1_i2p2 = vetU2GF_.ptr[vetU2GF_.offset(i0-1,i1,i2+2)];
const double vetU2_i0p1_i1_i2p2 = vetU2GF_.ptr[vetU2GF_.offset(i0+1,i1,i2+2)];
const double vetU2_i0p2_i1_i2p2 = vetU2GF_.ptr[vetU2GF_.offset(i0+2,i1,i2+2)];
const double vetU2_i0_i1p1_i2p2 = vetU2GF_.ptr[vetU2GF_.offset(i0,i1+1,i2+2)];
const double vetU2_i0_i1p2_i2p2 = vetU2GF_.ptr[vetU2GF_.offset(i0,i1+2,i2+2)];
const double vetU2_i0_i1_i2p3 = vetU2GF_.ptr[vetU2GF_.offset(i0,i1,i2+3)];
const double betU0_i0_i1_i2m3 = betU0GF_.ptr[betU0GF_.offset(i0,i1,i2-3)];
const double trK_i0_i1_i2p3 = trKGF_.ptr[trKGF_.offset(i0,i1,i2+3)];
const double cf_i0_i1_i2m3 = cfGF_.ptr[cfGF_.offset(i0,i1,i2-3)];
const double cf_i0_i1m2_i2m2 = cfGF_.ptr[cfGF_.offset(i0,i1-2,i2-2)];
const double cf_i0_i1m1_i2m2 = cfGF_.ptr[cfGF_.offset(i0,i1-1,i2-2)];
const double cf_i0m2_i1_i2m2 = cfGF_.ptr[cfGF_.offset(i0-2,i1,i2-2)];
const double cf_i0m1_i1_i2m2 = cfGF_.ptr[cfGF_.offset(i0-1,i1,i2-2)];
const double cf_i0p1_i1_i2m2 = cfGF_.ptr[cfGF_.offset(i0+1,i1,i2-2)];
const double cf_i0p2_i1_i2m2 = cfGF_.ptr[cfGF_.offset(i0+2,i1,i2-2)];
const double cf_i0_i1p1_i2m2 = cfGF_.ptr[cfGF_.offset(i0,i1+1,i2-2)];
const double cf_i0_i1p2_i2m2 = cfGF_.ptr[cfGF_.offset(i0,i1+2,i2-2)];
const double cf_i0_i1m2_i2m1 = cfGF_.ptr[cfGF_.offset(i0,i1-2,i2-1)];
const double cf_i0_i1p2_i2m1 = cfGF_.ptr[cfGF_.offset(i0,i1+2,i2-1)];
const double cf_i0_i1m3_i2 = cfGF_.ptr[cfGF_.offset(i0,i1-3,i2)];
const double cf_i0m2_i1m2_i2 = cfGF_.ptr[cfGF_.offset(i0-2,i1-2,i2)];
const double cf_i0m1_i1m2_i2 = cfGF_.ptr[cfGF_.offset(i0-1,i1-2,i2)];
const double cf_i0p1_i1p2_i2 = cfGF_.ptr[cfGF_.offset(i0+1,i1+2,i2)];
const double cf_i0p2_i1p2_i2 = cfGF_.ptr[cfGF_.offset(i0+2,i1+2,i2)];
const double cf_i0_i1p3_i2 = cfGF_.ptr[cfGF_.offset(i0,i1+3,i2)];
const double cf_i0_i1m2_i2p1 = cfGF_.ptr[cfGF_.offset(i0,i1-2,i2+1)];
const double cf_i0_i1p2_i2p1 = cfGF_.ptr[cfGF_.offset(i0,i1+2,i2+1)];
const double cf_i0_i1m2_i2p2 = cfGF_.ptr[cfGF_.offset(i0,i1-2,i2+2)];
const double cf_i0_i1m1_i2p2 = cfGF_.ptr[cfGF_.offset(i0,i1-1,i2+2)];
const double cf_i0m2_i1_i2p2 = cfGF_.ptr[cfGF_.offset(i0-2,i1,i2+2)];
const double cf_i0m1_i1_i2p2 = cfGF_.ptr[cfGF_.offset(i0-1,i1,i2+2)];
const double cf_i0p1_i1_i2p2 = cfGF_.ptr[cfGF_.offset(i0+1,i1,i2+2)];
const double cf_i0p2_i1_i2p2 = cfGF_.ptr[cfGF_.offset(i0+2,i1,i2+2)];
const double cf_i0_i1p1_i2p2 = cfGF_.ptr[cfGF_.offset(i0,i1+1,i2+2)];
const double cf_i0_i1p2_i2p2 = cfGF_.ptr[cfGF_.offset(i0,i1+2,i2+2)];
const double cf_i0_i1_i2p3 = cfGF_.ptr[cfGF_.offset(i0,i1,i2+3)];
const double alpha_i0_i1_i2m3 = alphaGF_.ptr[alphaGF_.offset(i0,i1,i2-3)];
const double alpha_i0_i1m2_i2m2 = alphaGF_.ptr[alphaGF_.offset(i0,i1-2,i2-2)];
const double alpha_i0_i1m1_i2m2 = alphaGF_.ptr[alphaGF_.offset(i0,i1-1,i2-2)];
const double alpha_i0m2_i1_i2m2 = alphaGF_.ptr[alphaGF_.offset(i0-2,i1,i2-2)];
const double alpha_i0m1_i1_i2m2 = alphaGF_.ptr[alphaGF_.offset(i0-1,i1,i2-2)];
const double alpha_i0p1_i1_i2m2 = alphaGF_.ptr[alphaGF_.offset(i0+1,i1,i2-2)];
const double alpha_i0p2_i1_i2m2 = alphaGF_.ptr[alphaGF_.offset(i0+2,i1,i2-2)];
const double alpha_i0_i1p1_i2m2 = alphaGF_.ptr[alphaGF_.offset(i0,i1+1,i2-2)];
const double alpha_i0_i1p2_i2m2 = alphaGF_.ptr[alphaGF_.offset(i0,i1+2,i2-2)];
const double alpha_i0_i1m2_i2m1 = alphaGF_.ptr[alphaGF_.offset(i0,i1-2,i2-1)];
const double alpha_i0_i1p2_i2m1 = alphaGF_.ptr[alphaGF_.offset(i0,i1+2,i2-1)];
const double alpha_i0_i1m3_i2 = alphaGF_.ptr[alphaGF_.offset(i0,i1-3,i2)];
const double alpha_i0m2_i1m2_i2 = alphaGF_.ptr[alphaGF_.offset(i0-2,i1-2,i2)];
const double alpha_i0m1_i1m2_i2 = alphaGF_.ptr[alphaGF_.offset(i0-1,i1-2,i2)];
const double alpha_i0p1_i1p2_i2 = alphaGF_.ptr[alphaGF_.offset(i0+1,i1+2,i2)];
const double alpha_i0p2_i1p2_i2 = alphaGF_.ptr[alphaGF_.offset(i0+2,i1+2,i2)];
const double alpha_i0_i1p3_i2 = alphaGF_.ptr[alphaGF_.offset(i0,i1+3,i2)];
const double alpha_i0_i1m2_i2p1 = alphaGF_.ptr[alphaGF_.offset(i0,i1-2,i2+1)];
const double alpha_i0_i1p2_i2p1 = alphaGF_.ptr[alphaGF_.offset(i0,i1+2,i2+1)];
const double alpha_i0_i1m2_i2p2 = alphaGF_.ptr[alphaGF_.offset(i0,i1-2,i2+2)];
const double alpha_i0_i1m1_i2p2 = alphaGF_.ptr[alphaGF_.offset(i0,i1-1,i2+2)];
const double alpha_i0m2_i1_i2p2 = alphaGF_.ptr[alphaGF_.offset(i0-2,i1,i2+2)];
const double alpha_i0m1_i1_i2p2 = alphaGF_.ptr[alphaGF_.offset(i0-1,i1,i2+2)];
const double alpha_i0p1_i1_i2p2 = alphaGF_.ptr[alphaGF_.offset(i0+1,i1,i2+2)];
const double alpha_i0p2_i1_i2p2 = alphaGF_.ptr[alphaGF_.offset(i0+2,i1,i2+2)];
const double alpha_i0_i1p1_i2p2 = alphaGF_.ptr[alphaGF_.offset(i0,i1+1,i2+2)];
const double alpha_i0_i1p2_i2p2 = alphaGF_.ptr[alphaGF_.offset(i0,i1+2,i2+2)];
const double alpha_i0_i1_i2p3 = alphaGF_.ptr[alphaGF_.offset(i0,i1,i2+3)];
const double tmpFD0 = -5.0/16.0*aDD00;
const double tmpFD1 = -5.0/16.0*aDD01;
const double tmpFD2 = -5.0/16.0*aDD02;
const double tmpFD3 = -5.0/16.0*aDD11;
const double tmpFD4 = -5.0/16.0*aDD12;
const double tmpFD5 = -5.0/16.0*aDD22;
const double tmpFD6 = (5.0/6.0)*aDD00;
const double tmpFD7 = (5.0/6.0)*aDD01;
const double tmpFD8 = (5.0/6.0)*aDD02;
const double tmpFD9 = (5.0/6.0)*aDD11;
const double tmpFD10 = (5.0/6.0)*aDD12;
const double tmpFD11 = (5.0/6.0)*aDD22;
const double tmpFD0 = -3.0/8.0*aDD00;
const double tmpFD1 = -3.0/8.0*aDD01;
const double tmpFD2 = -3.0/8.0*aDD02;
const double tmpFD3 = -3.0/8.0*aDD11;
const double tmpFD4 = -3.0/8.0*aDD12;
const double tmpFD5 = -3.0/8.0*aDD22;
const double tmpFD6 = (3.0/2.0)*aDD00;
const double tmpFD7 = (3.0/2.0)*aDD01;
const double tmpFD8 = (3.0/2.0)*aDD02;
const double tmpFD9 = (3.0/2.0)*aDD11;
const double tmpFD10 = (3.0/2.0)*aDD12;
const double tmpFD11 = (3.0/2.0)*aDD22;
const double tmpFD18 = (1.0/12.0)*alpha_i0m2_i1_i2;
const double tmpFD19 = -1.0/12.0*alpha_i0p2_i1_i2;
const double tmpFD20 = (1.0/12.0)*alpha_i0_i1m2_i2;
const double tmpFD21 = -1.0/12.0*alpha_i0_i1p2_i2;
const double tmpFD22 = (1.0/12.0)*alpha_i0_i1_i2m2;
const double tmpFD23 = -1.0/12.0*alpha_i0_i1_i2p2;
const double tmpFD24 = ((invdx0)*(invdx0));
const double tmpFD25 = -5.0/2.0*alpha;
const double tmpFD26 = invdx0*invdx1;
const double tmpFD27 = invdx0*invdx2;
const double tmpFD28 = ((invdx1)*(invdx1));
const double tmpFD29 = invdx1*invdx2;
const double tmpFD30 = ((invdx2)*(invdx2));
const double tmpFD31 = -5.0/16.0*alpha;
const double tmpFD32 = (5.0/6.0)*alpha;
const double tmpFD33 = -tmpFD32;
const double tmpFD34 = -5.0/16.0*betU0;
const double tmpFD35 = -5.0/16.0*betU1;
const double tmpFD36 = -5.0/16.0*betU2;
const double tmpFD37 = (5.0/6.0)*betU0;
const double tmpFD38 = (5.0/6.0)*betU1;
const double tmpFD39 = (5.0/6.0)*betU2;
const double tmpFD40 = -tmpFD37;
const double tmpFD41 = -tmpFD38;
const double tmpFD42 = -tmpFD39;
const double tmpFD43 = (1.0/12.0)*cf_i0m2_i1_i2;
const double tmpFD44 = -1.0/12.0*cf_i0p2_i1_i2;
const double tmpFD45 = (1.0/12.0)*cf_i0_i1m2_i2;
const double tmpFD46 = -1.0/12.0*cf_i0_i1p2_i2;
const double tmpFD47 = (1.0/12.0)*cf_i0_i1_i2m2;
const double tmpFD48 = -1.0/12.0*cf_i0_i1_i2p2;
const double tmpFD49 = -5.0/2.0*cf;
const double tmpFD50 = -5.0/16.0*cf;
const double tmpFD51 = (5.0/6.0)*cf;
const double tmpFD52 = -tmpFD51;
const double tmpFD53 = -5.0/16.0*hDD00;
const double tmpFD54 = -5.0/16.0*hDD01;
const double tmpFD55 = -5.0/16.0*hDD02;
const double tmpFD56 = -5.0/16.0*hDD11;
const double tmpFD57 = -5.0/16.0*hDD12;
const double tmpFD58 = -5.0/16.0*hDD22;
const double tmpFD59 = (5.0/6.0)*hDD00;
const double tmpFD60 = (5.0/6.0)*hDD01;
const double tmpFD61 = (5.0/6.0)*hDD02;
const double tmpFD62 = (5.0/6.0)*hDD11;
const double tmpFD63 = (5.0/6.0)*hDD12;
const double tmpFD64 = (5.0/6.0)*hDD22;
const double tmpFD65 = -tmpFD59;
const double tmpFD66 = -tmpFD60;
const double tmpFD67 = -tmpFD61;
const double tmpFD68 = -tmpFD62;
const double tmpFD69 = -tmpFD63;
const double tmpFD70 = -tmpFD64;
const double tmpFD71 = -5.0/16.0*lambdaU0;
const double tmpFD72 = -5.0/16.0*lambdaU1;
const double tmpFD73 = -5.0/16.0*lambdaU2;
const double tmpFD74 = (5.0/6.0)*lambdaU0;
const double tmpFD75 = (5.0/6.0)*lambdaU1;
const double tmpFD76 = (5.0/6.0)*lambdaU2;
const double tmpFD77 = -tmpFD74;
const double tmpFD78 = -tmpFD75;
const double tmpFD79 = -tmpFD76;
const double tmpFD80 = -5.0/16.0*trK;
const double tmpFD81 = (5.0/6.0)*trK;
const double tmpFD82 = -tmpFD81;
const double tmpFD83 = (1.0/12.0)*vetU0_i0m2_i1_i2;
const double tmpFD84 = -1.0/12.0*vetU0_i0p2_i1_i2;
const double tmpFD85 = (1.0/12.0)*vetU0_i0_i1m2_i2;
const double tmpFD86 = -1.0/12.0*vetU0_i0_i1p2_i2;
const double tmpFD87 = (1.0/12.0)*vetU0_i0_i1_i2m2;
const double tmpFD88 = -1.0/12.0*vetU0_i0_i1_i2p2;
const double tmpFD89 = (1.0/12.0)*vetU1_i0m2_i1_i2;
const double tmpFD90 = -1.0/12.0*vetU1_i0p2_i1_i2;
const double tmpFD91 = (1.0/12.0)*vetU1_i0_i1m2_i2;
const double tmpFD92 = -1.0/12.0*vetU1_i0_i1p2_i2;
const double tmpFD93 = (1.0/12.0)*vetU1_i0_i1_i2m2;
const double tmpFD94 = -1.0/12.0*vetU1_i0_i1_i2p2;
const double tmpFD95 = (1.0/12.0)*vetU2_i0m2_i1_i2;
const double tmpFD96 = -1.0/12.0*vetU2_i0p2_i1_i2;
const double tmpFD97 = (1.0/12.0)*vetU2_i0_i1m2_i2;
const double tmpFD98 = -1.0/12.0*vetU2_i0_i1p2_i2;
const double tmpFD99 = (1.0/12.0)*vetU2_i0_i1_i2m2;
const double tmpFD100 = -1.0/12.0*vetU2_i0_i1_i2p2;
const double tmpFD101 = -5.0/2.0*vetU0;
const double tmpFD102 = -5.0/2.0*vetU1;
const double tmpFD103 = -5.0/2.0*vetU2;
const double tmpFD104 = -5.0/16.0*vetU0;
const double tmpFD105 = -5.0/16.0*vetU1;
const double tmpFD106 = -5.0/16.0*vetU2;
const double tmpFD107 = (5.0/6.0)*vetU0;
const double tmpFD108 = (5.0/6.0)*vetU1;
const double tmpFD109 = (5.0/6.0)*vetU2;
const double tmpFD110 = -tmpFD107;
const double tmpFD111 = -tmpFD108;
const double tmpFD112 = -tmpFD109;
const double aDD_dKOD000 = invdx0*((15.0/64.0)*aDD00_i0m1_i1_i2 - 3.0/32.0*aDD00_i0m2_i1_i2 + (1.0/64.0)*aDD00_i0m3_i1_i2 + (15.0/64.0)*aDD00_i0p1_i1_i2 - 3.0/32.0*aDD00_i0p2_i1_i2 + (1.0/64.0)*aDD00_i0p3_i1_i2 + tmpFD0);
const double aDD_dKOD001 = invdx1*((15.0/64.0)*aDD00_i0_i1m1_i2 - 3.0/32.0*aDD00_i0_i1m2_i2 + (1.0/64.0)*aDD00_i0_i1m3_i2 + (15.0/64.0)*aDD00_i0_i1p1_i2 - 3.0/32.0*aDD00_i0_i1p2_i2 + (1.0/64.0)*aDD00_i0_i1p3_i2 + tmpFD0);
const double aDD_dKOD002 = invdx2*((15.0/64.0)*aDD00_i0_i1_i2m1 - 3.0/32.0*aDD00_i0_i1_i2m2 + (1.0/64.0)*aDD00_i0_i1_i2m3 + (15.0/64.0)*aDD00_i0_i1_i2p1 - 3.0/32.0*aDD00_i0_i1_i2p2 + (1.0/64.0)*aDD00_i0_i1_i2p3 + tmpFD0);
const double aDD_dKOD010 = invdx0*((15.0/64.0)*aDD01_i0m1_i1_i2 - 3.0/32.0*aDD01_i0m2_i1_i2 + (1.0/64.0)*aDD01_i0m3_i1_i2 + (15.0/64.0)*aDD01_i0p1_i1_i2 - 3.0/32.0*aDD01_i0p2_i1_i2 + (1.0/64.0)*aDD01_i0p3_i1_i2 + tmpFD1);
const double aDD_dKOD011 = invdx1*((15.0/64.0)*aDD01_i0_i1m1_i2 - 3.0/32.0*aDD01_i0_i1m2_i2 + (1.0/64.0)*aDD01_i0_i1m3_i2 + (15.0/64.0)*aDD01_i0_i1p1_i2 - 3.0/32.0*aDD01_i0_i1p2_i2 + (1.0/64.0)*aDD01_i0_i1p3_i2 + tmpFD1);
const double aDD_dKOD012 = invdx2*((15.0/64.0)*aDD01_i0_i1_i2m1 - 3.0/32.0*aDD01_i0_i1_i2m2 + (1.0/64.0)*aDD01_i0_i1_i2m3 + (15.0/64.0)*aDD01_i0_i1_i2p1 - 3.0/32.0*aDD01_i0_i1_i2p2 + (1.0/64.0)*aDD01_i0_i1_i2p3 + tmpFD1);
const double aDD_dKOD020 = invdx0*((15.0/64.0)*aDD02_i0m1_i1_i2 - 3.0/32.0*aDD02_i0m2_i1_i2 + (1.0/64.0)*aDD02_i0m3_i1_i2 + (15.0/64.0)*aDD02_i0p1_i1_i2 - 3.0/32.0*aDD02_i0p2_i1_i2 + (1.0/64.0)*aDD02_i0p3_i1_i2 + tmpFD2);
const double aDD_dKOD021 = invdx1*((15.0/64.0)*aDD02_i0_i1m1_i2 - 3.0/32.0*aDD02_i0_i1m2_i2 + (1.0/64.0)*aDD02_i0_i1m3_i2 + (15.0/64.0)*aDD02_i0_i1p1_i2 - 3.0/32.0*aDD02_i0_i1p2_i2 + (1.0/64.0)*aDD02_i0_i1p3_i2 + tmpFD2);
const double aDD_dKOD022 = invdx2*((15.0/64.0)*aDD02_i0_i1_i2m1 - 3.0/32.0*aDD02_i0_i1_i2m2 + (1.0/64.0)*aDD02_i0_i1_i2m3 + (15.0/64.0)*aDD02_i0_i1_i2p1 - 3.0/32.0*aDD02_i0_i1_i2p2 + (1.0/64.0)*aDD02_i0_i1_i2p3 + tmpFD2);
const double aDD_dKOD110 = invdx0*((15.0/64.0)*aDD11_i0m1_i1_i2 - 3.0/32.0*aDD11_i0m2_i1_i2 + (1.0/64.0)*aDD11_i0m3_i1_i2 + (15.0/64.0)*aDD11_i0p1_i1_i2 - 3.0/32.0*aDD11_i0p2_i1_i2 + (1.0/64.0)*aDD11_i0p3_i1_i2 + tmpFD3);
const double aDD_dKOD111 = invdx1*((15.0/64.0)*aDD11_i0_i1m1_i2 - 3.0/32.0*aDD11_i0_i1m2_i2 + (1.0/64.0)*aDD11_i0_i1m3_i2 + (15.0/64.0)*aDD11_i0_i1p1_i2 - 3.0/32.0*aDD11_i0_i1p2_i2 + (1.0/64.0)*aDD11_i0_i1p3_i2 + tmpFD3);
const double aDD_dKOD112 = invdx2*((15.0/64.0)*aDD11_i0_i1_i2m1 - 3.0/32.0*aDD11_i0_i1_i2m2 + (1.0/64.0)*aDD11_i0_i1_i2m3 + (15.0/64.0)*aDD11_i0_i1_i2p1 - 3.0/32.0*aDD11_i0_i1_i2p2 + (1.0/64.0)*aDD11_i0_i1_i2p3 + tmpFD3);
const double aDD_dKOD120 = invdx0*((15.0/64.0)*aDD12_i0m1_i1_i2 - 3.0/32.0*aDD12_i0m2_i1_i2 + (1.0/64.0)*aDD12_i0m3_i1_i2 + (15.0/64.0)*aDD12_i0p1_i1_i2 - 3.0/32.0*aDD12_i0p2_i1_i2 + (1.0/64.0)*aDD12_i0p3_i1_i2 + tmpFD4);
const double aDD_dKOD121 = invdx1*((15.0/64.0)*aDD12_i0_i1m1_i2 - 3.0/32.0*aDD12_i0_i1m2_i2 + (1.0/64.0)*aDD12_i0_i1m3_i2 + (15.0/64.0)*aDD12_i0_i1p1_i2 - 3.0/32.0*aDD12_i0_i1p2_i2 + (1.0/64.0)*aDD12_i0_i1p3_i2 + tmpFD4);
const double aDD_dKOD122 = invdx2*((15.0/64.0)*aDD12_i0_i1_i2m1 - 3.0/32.0*aDD12_i0_i1_i2m2 + (1.0/64.0)*aDD12_i0_i1_i2m3 + (15.0/64.0)*aDD12_i0_i1_i2p1 - 3.0/32.0*aDD12_i0_i1_i2p2 + (1.0/64.0)*aDD12_i0_i1_i2p3 + tmpFD4);
const double aDD_dKOD220 = invdx0*((15.0/64.0)*aDD22_i0m1_i1_i2 - 3.0/32.0*aDD22_i0m2_i1_i2 + (1.0/64.0)*aDD22_i0m3_i1_i2 + (15.0/64.0)*aDD22_i0p1_i1_i2 - 3.0/32.0*aDD22_i0p2_i1_i2 + (1.0/64.0)*aDD22_i0p3_i1_i2 + tmpFD5);
const double aDD_dKOD221 = invdx1*((15.0/64.0)*aDD22_i0_i1m1_i2 - 3.0/32.0*aDD22_i0_i1m2_i2 + (1.0/64.0)*aDD22_i0_i1m3_i2 + (15.0/64.0)*aDD22_i0_i1p1_i2 - 3.0/32.0*aDD22_i0_i1p2_i2 + (1.0/64.0)*aDD22_i0_i1p3_i2 + tmpFD5);
const double aDD_dKOD222 = invdx2*((15.0/64.0)*aDD22_i0_i1_i2m1 - 3.0/32.0*aDD22_i0_i1_i2m2 + (1.0/64.0)*aDD22_i0_i1_i2m3 + (15.0/64.0)*aDD22_i0_i1_i2p1 - 3.0/32.0*aDD22_i0_i1_i2p2 + (1.0/64.0)*aDD22_i0_i1_i2p3 + tmpFD5);
const double UpwindAlgInputaDD_ddnD000 = invdx0*(-3.0/2.0*aDD00_i0m1_i1_i2 + (1.0/2.0)*aDD00_i0m2_i1_i2 - 1.0/12.0*aDD00_i0m3_i1_i2 + (1.0/4.0)*aDD00_i0p1_i1_i2 + tmpFD6);
const double UpwindAlgInputaDD_ddnD001 = invdx1*(-3.0/2.0*aDD00_i0_i1m1_i2 + (1.0/2.0)*aDD00_i0_i1m2_i2 - 1.0/12.0*aDD00_i0_i1m3_i2 + (1.0/4.0)*aDD00_i0_i1p1_i2 + tmpFD6);
const double UpwindAlgInputaDD_ddnD002 = invdx2*(-3.0/2.0*aDD00_i0_i1_i2m1 + (1.0/2.0)*aDD00_i0_i1_i2m2 - 1.0/12.0*aDD00_i0_i1_i2m3 + (1.0/4.0)*aDD00_i0_i1_i2p1 + tmpFD6);
const double UpwindAlgInputaDD_ddnD010 = invdx0*(-3.0/2.0*aDD01_i0m1_i1_i2 + (1.0/2.0)*aDD01_i0m2_i1_i2 - 1.0/12.0*aDD01_i0m3_i1_i2 + (1.0/4.0)*aDD01_i0p1_i1_i2 + tmpFD7);
const double UpwindAlgInputaDD_ddnD011 = invdx1*(-3.0/2.0*aDD01_i0_i1m1_i2 + (1.0/2.0)*aDD01_i0_i1m2_i2 - 1.0/12.0*aDD01_i0_i1m3_i2 + (1.0/4.0)*aDD01_i0_i1p1_i2 + tmpFD7);
const double UpwindAlgInputaDD_ddnD012 = invdx2*(-3.0/2.0*aDD01_i0_i1_i2m1 + (1.0/2.0)*aDD01_i0_i1_i2m2 - 1.0/12.0*aDD01_i0_i1_i2m3 + (1.0/4.0)*aDD01_i0_i1_i2p1 + tmpFD7);
const double UpwindAlgInputaDD_ddnD020 = invdx0*(-3.0/2.0*aDD02_i0m1_i1_i2 + (1.0/2.0)*aDD02_i0m2_i1_i2 - 1.0/12.0*aDD02_i0m3_i1_i2 + (1.0/4.0)*aDD02_i0p1_i1_i2 + tmpFD8);
const double UpwindAlgInputaDD_ddnD021 = invdx1*(-3.0/2.0*aDD02_i0_i1m1_i2 + (1.0/2.0)*aDD02_i0_i1m2_i2 - 1.0/12.0*aDD02_i0_i1m3_i2 + (1.0/4.0)*aDD02_i0_i1p1_i2 + tmpFD8);
const double UpwindAlgInputaDD_ddnD022 = invdx2*(-3.0/2.0*aDD02_i0_i1_i2m1 + (1.0/2.0)*aDD02_i0_i1_i2m2 - 1.0/12.0*aDD02_i0_i1_i2m3 + (1.0/4.0)*aDD02_i0_i1_i2p1 + tmpFD8);
const double UpwindAlgInputaDD_ddnD110 = invdx0*(-3.0/2.0*aDD11_i0m1_i1_i2 + (1.0/2.0)*aDD11_i0m2_i1_i2 - 1.0/12.0*aDD11_i0m3_i1_i2 + (1.0/4.0)*aDD11_i0p1_i1_i2 + tmpFD9);
const double UpwindAlgInputaDD_ddnD111 = invdx1*(-3.0/2.0*aDD11_i0_i1m1_i2 + (1.0/2.0)*aDD11_i0_i1m2_i2 - 1.0/12.0*aDD11_i0_i1m3_i2 + (1.0/4.0)*aDD11_i0_i1p1_i2 + tmpFD9);
const double UpwindAlgInputaDD_ddnD112 = invdx2*(-3.0/2.0*aDD11_i0_i1_i2m1 + (1.0/2.0)*aDD11_i0_i1_i2m2 - 1.0/12.0*aDD11_i0_i1_i2m3 + (1.0/4.0)*aDD11_i0_i1_i2p1 + tmpFD9);
const double UpwindAlgInputaDD_ddnD120 = invdx0*(-3.0/2.0*aDD12_i0m1_i1_i2 + (1.0/2.0)*aDD12_i0m2_i1_i2 - 1.0/12.0*aDD12_i0m3_i1_i2 + (1.0/4.0)*aDD12_i0p1_i1_i2 + tmpFD10);
const double UpwindAlgInputaDD_ddnD121 = invdx1*(-3.0/2.0*aDD12_i0_i1m1_i2 + (1.0/2.0)*aDD12_i0_i1m2_i2 - 1.0/12.0*aDD12_i0_i1m3_i2 + (1.0/4.0)*aDD12_i0_i1p1_i2 + tmpFD10);
const double UpwindAlgInputaDD_ddnD122 = invdx2*(-3.0/2.0*aDD12_i0_i1_i2m1 + (1.0/2.0)*aDD12_i0_i1_i2m2 - 1.0/12.0*aDD12_i0_i1_i2m3 + (1.0/4.0)*aDD12_i0_i1_i2p1 + tmpFD10);
const double UpwindAlgInputaDD_ddnD220 = invdx0*(-3.0/2.0*aDD22_i0m1_i1_i2 + (1.0/2.0)*aDD22_i0m2_i1_i2 - 1.0/12.0*aDD22_i0m3_i1_i2 + (1.0/4.0)*aDD22_i0p1_i1_i2 + tmpFD11);
const double UpwindAlgInputaDD_ddnD221 = invdx1*(-3.0/2.0*aDD22_i0_i1m1_i2 + (1.0/2.0)*aDD22_i0_i1m2_i2 - 1.0/12.0*aDD22_i0_i1m3_i2 + (1.0/4.0)*aDD22_i0_i1p1_i2 + tmpFD11);
const double UpwindAlgInputaDD_ddnD222 = invdx2*(-3.0/2.0*aDD22_i0_i1_i2m1 + (1.0/2.0)*aDD22_i0_i1_i2m2 - 1.0/12.0*aDD22_i0_i1_i2m3 + (1.0/4.0)*aDD22_i0_i1_i2p1 + tmpFD11);
const double UpwindAlgInputaDD_dupD000 = invdx0*(-1.0/4.0*aDD00_i0m1_i1_i2 + (3.0/2.0)*aDD00_i0p1_i1_i2 - 1.0/2.0*aDD00_i0p2_i1_i2 + (1.0/12.0)*aDD00_i0p3_i1_i2 + tmpFD12);
const double UpwindAlgInputaDD_dupD001 = invdx1*(-1.0/4.0*aDD00_i0_i1m1_i2 + (3.0/2.0)*aDD00_i0_i1p1_i2 - 1.0/2.0*aDD00_i0_i1p2_i2 + (1.0/12.0)*aDD00_i0_i1p3_i2 + tmpFD12);
const double UpwindAlgInputaDD_dupD002 = invdx2*(-1.0/4.0*aDD00_i0_i1_i2m1 + (3.0/2.0)*aDD00_i0_i1_i2p1 - 1.0/2.0*aDD00_i0_i1_i2p2 + (1.0/12.0)*aDD00_i0_i1_i2p3 + tmpFD12);
const double UpwindAlgInputaDD_dupD010 = invdx0*(-1.0/4.0*aDD01_i0m1_i1_i2 + (3.0/2.0)*aDD01_i0p1_i1_i2 - 1.0/2.0*aDD01_i0p2_i1_i2 + (1.0/12.0)*aDD01_i0p3_i1_i2 + tmpFD13);
const double UpwindAlgInputaDD_dupD011 = invdx1*(-1.0/4.0*aDD01_i0_i1m1_i2 + (3.0/2.0)*aDD01_i0_i1p1_i2 - 1.0/2.0*aDD01_i0_i1p2_i2 + (1.0/12.0)*aDD01_i0_i1p3_i2 + tmpFD13);
const double UpwindAlgInputaDD_dupD012 = invdx2*(-1.0/4.0*aDD01_i0_i1_i2m1 + (3.0/2.0)*aDD01_i0_i1_i2p1 - 1.0/2.0*aDD01_i0_i1_i2p2 + (1.0/12.0)*aDD01_i0_i1_i2p3 + tmpFD13);
const double UpwindAlgInputaDD_dupD020 = invdx0*(-1.0/4.0*aDD02_i0m1_i1_i2 + (3.0/2.0)*aDD02_i0p1_i1_i2 - 1.0/2.0*aDD02_i0p2_i1_i2 + (1.0/12.0)*aDD02_i0p3_i1_i2 + tmpFD14);
const double UpwindAlgInputaDD_dupD021 = invdx1*(-1.0/4.0*aDD02_i0_i1m1_i2 + (3.0/2.0)*aDD02_i0_i1p1_i2 - 1.0/2.0*aDD02_i0_i1p2_i2 + (1.0/12.0)*aDD02_i0_i1p3_i2 + tmpFD14);
const double UpwindAlgInputaDD_dupD022 = invdx2*(-1.0/4.0*aDD02_i0_i1_i2m1 + (3.0/2.0)*aDD02_i0_i1_i2p1 - 1.0/2.0*aDD02_i0_i1_i2p2 + (1.0/12.0)*aDD02_i0_i1_i2p3 + tmpFD14);
const double UpwindAlgInputaDD_dupD110 = invdx0*(-1.0/4.0*aDD11_i0m1_i1_i2 + (3.0/2.0)*aDD11_i0p1_i1_i2 - 1.0/2.0*aDD11_i0p2_i1_i2 + (1.0/12.0)*aDD11_i0p3_i1_i2 + tmpFD15);
const double UpwindAlgInputaDD_dupD111 = invdx1*(-1.0/4.0*aDD11_i0_i1m1_i2 + (3.0/2.0)*aDD11_i0_i1p1_i2 - 1.0/2.0*aDD11_i0_i1p2_i2 + (1.0/12.0)*aDD11_i0_i1p3_i2 + tmpFD15);
const double UpwindAlgInputaDD_dupD112 = invdx2*(-1.0/4.0*aDD11_i0_i1_i2m1 + (3.0/2.0)*aDD11_i0_i1_i2p1 - 1.0/2.0*aDD11_i0_i1_i2p2 + (1.0/12.0)*aDD11_i0_i1_i2p3 + tmpFD15);
const double UpwindAlgInputaDD_dupD120 = invdx0*(-1.0/4.0*aDD12_i0m1_i1_i2 + (3.0/2.0)*aDD12_i0p1_i1_i2 - 1.0/2.0*aDD12_i0p2_i1_i2 + (1.0/12.0)*aDD12_i0p3_i1_i2 + tmpFD16);
const double UpwindAlgInputaDD_dupD121 = invdx1*(-1.0/4.0*aDD12_i0_i1m1_i2 + (3.0/2.0)*aDD12_i0_i1p1_i2 - 1.0/2.0*aDD12_i0_i1p2_i2 + (1.0/12.0)*aDD12_i0_i1p3_i2 + tmpFD16);
const double UpwindAlgInputaDD_dupD122 = invdx2*(-1.0/4.0*aDD12_i0_i1_i2m1 + (3.0/2.0)*aDD12_i0_i1_i2p1 - 1.0/2.0*aDD12_i0_i1_i2p2 + (1.0/12.0)*aDD12_i0_i1_i2p3 + tmpFD16);
const double UpwindAlgInputaDD_dupD220 = invdx0*(-1.0/4.0*aDD22_i0m1_i1_i2 + (3.0/2.0)*aDD22_i0p1_i1_i2 - 1.0/2.0*aDD22_i0p2_i1_i2 + (1.0/12.0)*aDD22_i0p3_i1_i2 + tmpFD17);
const double UpwindAlgInputaDD_dupD221 = invdx1*(-1.0/4.0*aDD22_i0_i1m1_i2 + (3.0/2.0)*aDD22_i0_i1p1_i2 - 1.0/2.0*aDD22_i0_i1p2_i2 + (1.0/12.0)*aDD22_i0_i1p3_i2 + tmpFD17);
const double UpwindAlgInputaDD_dupD222 = invdx2*(-1.0/4.0*aDD22_i0_i1_i2m1 + (3.0/2.0)*aDD22_i0_i1_i2p1 - 1.0/2.0*aDD22_i0_i1_i2p2 + (1.0/12.0)*aDD22_i0_i1_i2p3 + tmpFD17);
const double alpha_dD0 = invdx0*(-2.0/3.0*alpha_i0m1_i1_i2 + (2.0/3.0)*alpha_i0p1_i1_i2 + tmpFD18 + tmpFD19);
const double alpha_dD1 = invdx1*(-2.0/3.0*alpha_i0_i1m1_i2 + (2.0/3.0)*alpha_i0_i1p1_i2 + tmpFD20 + tmpFD21);
const double alpha_dD2 = invdx2*(-2.0/3.0*alpha_i0_i1_i2m1 + (2.0/3.0)*alpha_i0_i1_i2p1 + tmpFD22 + tmpFD23);
const double alpha_dDD00 = tmpFD24*((4.0/3.0)*alpha_i0m1_i1_i2 + (4.0/3.0)*alpha_i0p1_i1_i2 - tmpFD18 + tmpFD19 + tmpFD25);
const double alpha_dDD01 = tmpFD26*((4.0/9.0)*alpha_i0m1_i1m1_i2 - 1.0/18.0*alpha_i0m1_i1m2_i2 - 4.0/9.0*alpha_i0m1_i1p1_i2 + (1.0/18.0)*alpha_i0m1_i1p2_i2 - 1.0/18.0*alpha_i0m2_i1m1_i2 + (1.0/144.0)*alpha_i0m2_i1m2_i2 + (1.0/18.0)*alpha_i0m2_i1p1_i2 - 1.0/144.0*alpha_i0m2_i1p2_i2 - 4.0/9.0*alpha_i0p1_i1m1_i2 + (1.0/18.0)*alpha_i0p1_i1m2_i2 + (4.0/9.0)*alpha_i0p1_i1p1_i2 - 1.0/18.0*alpha_i0p1_i1p2_i2 + (1.0/18.0)*alpha_i0p2_i1m1_i2 - 1.0/144.0*alpha_i0p2_i1m2_i2 - 1.0/18.0*alpha_i0p2_i1p1_i2 + (1.0/144.0)*alpha_i0p2_i1p2_i2);
const double alpha_dDD02 = tmpFD27*((4.0/9.0)*alpha_i0m1_i1_i2m1 - 1.0/18.0*alpha_i0m1_i1_i2m2 - 4.0/9.0*alpha_i0m1_i1_i2p1 + (1.0/18.0)*alpha_i0m1_i1_i2p2 - 1.0/18.0*alpha_i0m2_i1_i2m1 + (1.0/144.0)*alpha_i0m2_i1_i2m2 + (1.0/18.0)*alpha_i0m2_i1_i2p1 - 1.0/144.0*alpha_i0m2_i1_i2p2 - 4.0/9.0*alpha_i0p1_i1_i2m1 + (1.0/18.0)*alpha_i0p1_i1_i2m2 + (4.0/9.0)*alpha_i0p1_i1_i2p1 - 1.0/18.0*alpha_i0p1_i1_i2p2 + (1.0/18.0)*alpha_i0p2_i1_i2m1 - 1.0/144.0*alpha_i0p2_i1_i2m2 - 1.0/18.0*alpha_i0p2_i1_i2p1 + (1.0/144.0)*alpha_i0p2_i1_i2p2);
const double alpha_dDD11 = tmpFD28*((4.0/3.0)*alpha_i0_i1m1_i2 + (4.0/3.0)*alpha_i0_i1p1_i2 - tmpFD20 + tmpFD21 + tmpFD25);
const double alpha_dDD12 = tmpFD29*((4.0/9.0)*alpha_i0_i1m1_i2m1 - 1.0/18.0*alpha_i0_i1m1_i2m2 - 4.0/9.0*alpha_i0_i1m1_i2p1 + (1.0/18.0)*alpha_i0_i1m1_i2p2 - 1.0/18.0*alpha_i0_i1m2_i2m1 + (1.0/144.0)*alpha_i0_i1m2_i2m2 + (1.0/18.0)*alpha_i0_i1m2_i2p1 - 1.0/144.0*alpha_i0_i1m2_i2p2 - 4.0/9.0*alpha_i0_i1p1_i2m1 + (1.0/18.0)*alpha_i0_i1p1_i2m2 + (4.0/9.0)*alpha_i0_i1p1_i2p1 - 1.0/18.0*alpha_i0_i1p1_i2p2 + (1.0/18.0)*alpha_i0_i1p2_i2m1 - 1.0/144.0*alpha_i0_i1p2_i2m2 - 1.0/18.0*alpha_i0_i1p2_i2p1 + (1.0/144.0)*alpha_i0_i1p2_i2p2);
const double alpha_dDD22 = tmpFD30*((4.0/3.0)*alpha_i0_i1_i2m1 + (4.0/3.0)*alpha_i0_i1_i2p1 - tmpFD22 + tmpFD23 + tmpFD25);
const double alpha_dKOD0 = invdx0*((15.0/64.0)*alpha_i0m1_i1_i2 - 3.0/32.0*alpha_i0m2_i1_i2 + (1.0/64.0)*alpha_i0m3_i1_i2 + (15.0/64.0)*alpha_i0p1_i1_i2 - 3.0/32.0*alpha_i0p2_i1_i2 + (1.0/64.0)*alpha_i0p3_i1_i2 + tmpFD31);
const double alpha_dKOD1 = invdx1*((15.0/64.0)*alpha_i0_i1m1_i2 - 3.0/32.0*alpha_i0_i1m2_i2 + (1.0/64.0)*alpha_i0_i1m3_i2 + (15.0/64.0)*alpha_i0_i1p1_i2 - 3.0/32.0*alpha_i0_i1p2_i2 + (1.0/64.0)*alpha_i0_i1p3_i2 + tmpFD31);
const double alpha_dKOD2 = invdx2*((15.0/64.0)*alpha_i0_i1_i2m1 - 3.0/32.0*alpha_i0_i1_i2m2 + (1.0/64.0)*alpha_i0_i1_i2m3 + (15.0/64.0)*alpha_i0_i1_i2p1 - 3.0/32.0*alpha_i0_i1_i2p2 + (1.0/64.0)*alpha_i0_i1_i2p3 + tmpFD31);
const double UpwindAlgInputalpha_ddnD0 = invdx0*(-3.0/2.0*alpha_i0m1_i1_i2 + (1.0/2.0)*alpha_i0m2_i1_i2 - 1.0/12.0*alpha_i0m3_i1_i2 + (1.0/4.0)*alpha_i0p1_i1_i2 + tmpFD32);
const double UpwindAlgInputalpha_ddnD1 = invdx1*(-3.0/2.0*alpha_i0_i1m1_i2 + (1.0/2.0)*alpha_i0_i1m2_i2 - 1.0/12.0*alpha_i0_i1m3_i2 + (1.0/4.0)*alpha_i0_i1p1_i2 + tmpFD32);
const double UpwindAlgInputalpha_ddnD2 = invdx2*(-3.0/2.0*alpha_i0_i1_i2m1 + (1.0/2.0)*alpha_i0_i1_i2m2 - 1.0/12.0*alpha_i0_i1_i2m3 + (1.0/4.0)*alpha_i0_i1_i2p1 + tmpFD32);
const double UpwindAlgInputalpha_dupD0 = invdx0*(-1.0/4.0*alpha_i0m1_i1_i2 + (3.0/2.0)*alpha_i0p1_i1_i2 - 1.0/2.0*alpha_i0p2_i1_i2 + (1.0/12.0)*alpha_i0p3_i1_i2 + tmpFD33);
const double UpwindAlgInputalpha_dupD1 = invdx1*(-1.0/4.0*alpha_i0_i1m1_i2 + (3.0/2.0)*alpha_i0_i1p1_i2 - 1.0/2.0*alpha_i0_i1p2_i2 + (1.0/12.0)*alpha_i0_i1p3_i2 + tmpFD33);
const double UpwindAlgInputalpha_dupD2 = invdx2*(-1.0/4.0*alpha_i0_i1_i2m1 + (3.0/2.0)*alpha_i0_i1_i2p1 - 1.0/2.0*alpha_i0_i1_i2p2 + (1.0/12.0)*alpha_i0_i1_i2p3 + tmpFD33);
const double betU_dKOD00 = invdx0*((15.0/64.0)*betU0_i0m1_i1_i2 - 3.0/32.0*betU0_i0m2_i1_i2 + (1.0/64.0)*betU0_i0m3_i1_i2 + (15.0/64.0)*betU0_i0p1_i1_i2 - 3.0/32.0*betU0_i0p2_i1_i2 + (1.0/64.0)*betU0_i0p3_i1_i2 + tmpFD34);
const double betU_dKOD01 = invdx1*((15.0/64.0)*betU0_i0_i1m1_i2 - 3.0/32.0*betU0_i0_i1m2_i2 + (1.0/64.0)*betU0_i0_i1m3_i2 + (15.0/64.0)*betU0_i0_i1p1_i2 - 3.0/32.0*betU0_i0_i1p2_i2 + (1.0/64.0)*betU0_i0_i1p3_i2 + tmpFD34);
const double betU_dKOD02 = invdx2*((15.0/64.0)*betU0_i0_i1_i2m1 - 3.0/32.0*betU0_i0_i1_i2m2 + (1.0/64.0)*betU0_i0_i1_i2m3 + (15.0/64.0)*betU0_i0_i1_i2p1 - 3.0/32.0*betU0_i0_i1_i2p2 + (1.0/64.0)*betU0_i0_i1_i2p3 + tmpFD34);
const double betU_dKOD10 = invdx0*((15.0/64.0)*betU1_i0m1_i1_i2 - 3.0/32.0*betU1_i0m2_i1_i2 + (1.0/64.0)*betU1_i0m3_i1_i2 + (15.0/64.0)*betU1_i0p1_i1_i2 - 3.0/32.0*betU1_i0p2_i1_i2 + (1.0/64.0)*betU1_i0p3_i1_i2 + tmpFD35);
const double betU_dKOD11 = invdx1*((15.0/64.0)*betU1_i0_i1m1_i2 - 3.0/32.0*betU1_i0_i1m2_i2 + (1.0/64.0)*betU1_i0_i1m3_i2 + (15.0/64.0)*betU1_i0_i1p1_i2 - 3.0/32.0*betU1_i0_i1p2_i2 + (1.0/64.0)*betU1_i0_i1p3_i2 + tmpFD35);
const double betU_dKOD12 = invdx2*((15.0/64.0)*betU1_i0_i1_i2m1 - 3.0/32.0*betU1_i0_i1_i2m2 + (1.0/64.0)*betU1_i0_i1_i2m3 + (15.0/64.0)*betU1_i0_i1_i2p1 - 3.0/32.0*betU1_i0_i1_i2p2 + (1.0/64.0)*betU1_i0_i1_i2p3 + tmpFD35);
const double betU_dKOD20 = invdx0*((15.0/64.0)*betU2_i0m1_i1_i2 - 3.0/32.0*betU2_i0m2_i1_i2 + (1.0/64.0)*betU2_i0m3_i1_i2 + (15.0/64.0)*betU2_i0p1_i1_i2 - 3.0/32.0*betU2_i0p2_i1_i2 + (1.0/64.0)*betU2_i0p3_i1_i2 + tmpFD36);
const double betU_dKOD21 = invdx1*((15.0/64.0)*betU2_i0_i1m1_i2 - 3.0/32.0*betU2_i0_i1m2_i2 + (1.0/64.0)*betU2_i0_i1m3_i2 + (15.0/64.0)*betU2_i0_i1p1_i2 - 3.0/32.0*betU2_i0_i1p2_i2 + (1.0/64.0)*betU2_i0_i1p3_i2 + tmpFD36);
const double betU_dKOD22 = invdx2*((15.0/64.0)*betU2_i0_i1_i2m1 - 3.0/32.0*betU2_i0_i1_i2m2 + (1.0/64.0)*betU2_i0_i1_i2m3 + (15.0/64.0)*betU2_i0_i1_i2p1 - 3.0/32.0*betU2_i0_i1_i2p2 + (1.0/64.0)*betU2_i0_i1_i2p3 + tmpFD36);
const double UpwindAlgInputbetU_ddnD00 = invdx0*(-3.0/2.0*betU0_i0m1_i1_i2 + (1.0/2.0)*betU0_i0m2_i1_i2 - 1.0/12.0*betU0_i0m3_i1_i2 + (1.0/4.0)*betU0_i0p1_i1_i2 + tmpFD37);
const double UpwindAlgInputbetU_ddnD01 = invdx1*(-3.0/2.0*betU0_i0_i1m1_i2 + (1.0/2.0)*betU0_i0_i1m2_i2 - 1.0/12.0*betU0_i0_i1m3_i2 + (1.0/4.0)*betU0_i0_i1p1_i2 + tmpFD37);
const double UpwindAlgInputbetU_ddnD02 = invdx2*(-3.0/2.0*betU0_i0_i1_i2m1 + (1.0/2.0)*betU0_i0_i1_i2m2 - 1.0/12.0*betU0_i0_i1_i2m3 + (1.0/4.0)*betU0_i0_i1_i2p1 + tmpFD37);
const double UpwindAlgInputbetU_ddnD10 = invdx0*(-3.0/2.0*betU1_i0m1_i1_i2 + (1.0/2.0)*betU1_i0m2_i1_i2 - 1.0/12.0*betU1_i0m3_i1_i2 + (1.0/4.0)*betU1_i0p1_i1_i2 + tmpFD38);
const double UpwindAlgInputbetU_ddnD11 = invdx1*(-3.0/2.0*betU1_i0_i1m1_i2 + (1.0/2.0)*betU1_i0_i1m2_i2 - 1.0/12.0*betU1_i0_i1m3_i2 + (1.0/4.0)*betU1_i0_i1p1_i2 + tmpFD38);
const double UpwindAlgInputbetU_ddnD12 = invdx2*(-3.0/2.0*betU1_i0_i1_i2m1 + (1.0/2.0)*betU1_i0_i1_i2m2 - 1.0/12.0*betU1_i0_i1_i2m3 + (1.0/4.0)*betU1_i0_i1_i2p1 + tmpFD38);
const double UpwindAlgInputbetU_ddnD20 = invdx0*(-3.0/2.0*betU2_i0m1_i1_i2 + (1.0/2.0)*betU2_i0m2_i1_i2 - 1.0/12.0*betU2_i0m3_i1_i2 + (1.0/4.0)*betU2_i0p1_i1_i2 + tmpFD39);
const double UpwindAlgInputbetU_ddnD21 = invdx1*(-3.0/2.0*betU2_i0_i1m1_i2 + (1.0/2.0)*betU2_i0_i1m2_i2 - 1.0/12.0*betU2_i0_i1m3_i2 + (1.0/4.0)*betU2_i0_i1p1_i2 + tmpFD39);
const double UpwindAlgInputbetU_ddnD22 = invdx2*(-3.0/2.0*betU2_i0_i1_i2m1 + (1.0/2.0)*betU2_i0_i1_i2m2 - 1.0/12.0*betU2_i0_i1_i2m3 + (1.0/4.0)*betU2_i0_i1_i2p1 + tmpFD39);
const double UpwindAlgInputbetU_dupD00 = invdx0*(-1.0/4.0*betU0_i0m1_i1_i2 + (3.0/2.0)*betU0_i0p1_i1_i2 - 1.0/2.0*betU0_i0p2_i1_i2 + (1.0/12.0)*betU0_i0p3_i1_i2 + tmpFD40);
const double UpwindAlgInputbetU_dupD01 = invdx1*(-1.0/4.0*betU0_i0_i1m1_i2 + (3.0/2.0)*betU0_i0_i1p1_i2 - 1.0/2.0*betU0_i0_i1p2_i2 + (1.0/12.0)*betU0_i0_i1p3_i2 + tmpFD40);
const double UpwindAlgInputbetU_dupD02 = invdx2*(-1.0/4.0*betU0_i0_i1_i2m1 + (3.0/2.0)*betU0_i0_i1_i2p1 - 1.0/2.0*betU0_i0_i1_i2p2 + (1.0/12.0)*betU0_i0_i1_i2p3 + tmpFD40);
const double UpwindAlgInputbetU_dupD10 = invdx0*(-1.0/4.0*betU1_i0m1_i1_i2 + (3.0/2.0)*betU1_i0p1_i1_i2 - 1.0/2.0*betU1_i0p2_i1_i2 + (1.0/12.0)*betU1_i0p3_i1_i2 + tmpFD41);
const double UpwindAlgInputbetU_dupD11 = invdx1*(-1.0/4.0*betU1_i0_i1m1_i2 + (3.0/2.0)*betU1_i0_i1p1_i2 - 1.0/2.0*betU1_i0_i1p2_i2 + (1.0/12.0)*betU1_i0_i1p3_i2 + tmpFD41);
const double UpwindAlgInputbetU_dupD12 = invdx2*(-1.0/4.0*betU1_i0_i1_i2m1 + (3.0/2.0)*betU1_i0_i1_i2p1 - 1.0/2.0*betU1_i0_i1_i2p2 + (1.0/12.0)*betU1_i0_i1_i2p3 + tmpFD41);
const double UpwindAlgInputbetU_dupD20 = invdx0*(-1.0/4.0*betU2_i0m1_i1_i2 + (3.0/2.0)*betU2_i0p1_i1_i2 - 1.0/2.0*betU2_i0p2_i1_i2 + (1.0/12.0)*betU2_i0p3_i1_i2 + tmpFD42);
const double UpwindAlgInputbetU_dupD21 = invdx1*(-1.0/4.0*betU2_i0_i1m1_i2 + (3.0/2.0)*betU2_i0_i1p1_i2 - 1.0/2.0*betU2_i0_i1p2_i2 + (1.0/12.0)*betU2_i0_i1p3_i2 + tmpFD42);
const double UpwindAlgInputbetU_dupD22 = invdx2*(-1.0/4.0*betU2_i0_i1_i2m1 + (3.0/2.0)*betU2_i0_i1_i2p1 - 1.0/2.0*betU2_i0_i1_i2p2 + (1.0/12.0)*betU2_i0_i1_i2p3 + tmpFD42);
const double cf_dD0 = invdx0*(-2.0/3.0*cf_i0m1_i1_i2 + (2.0/3.0)*cf_i0p1_i1_i2 + tmpFD43 + tmpFD44);
const double cf_dD1 = invdx1*(-2.0/3.0*cf_i0_i1m1_i2 + (2.0/3.0)*cf_i0_i1p1_i2 + tmpFD45 + tmpFD46);
const double cf_dD2 = invdx2*(-2.0/3.0*cf_i0_i1_i2m1 + (2.0/3.0)*cf_i0_i1_i2p1 + tmpFD47 + tmpFD48);
const double cf_dDD00 = tmpFD24*((4.0/3.0)*cf_i0m1_i1_i2 + (4.0/3.0)*cf_i0p1_i1_i2 - tmpFD43 + tmpFD44 + tmpFD49);
const double cf_dDD01 = tmpFD26*((4.0/9.0)*cf_i0m1_i1m1_i2 - 1.0/18.0*cf_i0m1_i1m2_i2 - 4.0/9.0*cf_i0m1_i1p1_i2 + (1.0/18.0)*cf_i0m1_i1p2_i2 - 1.0/18.0*cf_i0m2_i1m1_i2 + (1.0/144.0)*cf_i0m2_i1m2_i2 + (1.0/18.0)*cf_i0m2_i1p1_i2 - 1.0/144.0*cf_i0m2_i1p2_i2 - 4.0/9.0*cf_i0p1_i1m1_i2 + (1.0/18.0)*cf_i0p1_i1m2_i2 + (4.0/9.0)*cf_i0p1_i1p1_i2 - 1.0/18.0*cf_i0p1_i1p2_i2 + (1.0/18.0)*cf_i0p2_i1m1_i2 - 1.0/144.0*cf_i0p2_i1m2_i2 - 1.0/18.0*cf_i0p2_i1p1_i2 + (1.0/144.0)*cf_i0p2_i1p2_i2);
const double cf_dDD02 = tmpFD27*((4.0/9.0)*cf_i0m1_i1_i2m1 - 1.0/18.0*cf_i0m1_i1_i2m2 - 4.0/9.0*cf_i0m1_i1_i2p1 + (1.0/18.0)*cf_i0m1_i1_i2p2 - 1.0/18.0*cf_i0m2_i1_i2m1 + (1.0/144.0)*cf_i0m2_i1_i2m2 + (1.0/18.0)*cf_i0m2_i1_i2p1 - 1.0/144.0*cf_i0m2_i1_i2p2 - 4.0/9.0*cf_i0p1_i1_i2m1 + (1.0/18.0)*cf_i0p1_i1_i2m2 + (4.0/9.0)*cf_i0p1_i1_i2p1 - 1.0/18.0*cf_i0p1_i1_i2p2 + (1.0/18.0)*cf_i0p2_i1_i2m1 - 1.0/144.0*cf_i0p2_i1_i2m2 - 1.0/18.0*cf_i0p2_i1_i2p1 + (1.0/144.0)*cf_i0p2_i1_i2p2);
const double cf_dDD11 = tmpFD28*((4.0/3.0)*cf_i0_i1m1_i2 + (4.0/3.0)*cf_i0_i1p1_i2 - tmpFD45 + tmpFD46 + tmpFD49);
const double cf_dDD12 = tmpFD29*((4.0/9.0)*cf_i0_i1m1_i2m1 - 1.0/18.0*cf_i0_i1m1_i2m2 - 4.0/9.0*cf_i0_i1m1_i2p1 + (1.0/18.0)*cf_i0_i1m1_i2p2 - 1.0/18.0*cf_i0_i1m2_i2m1 + (1.0/144.0)*cf_i0_i1m2_i2m2 + (1.0/18.0)*cf_i0_i1m2_i2p1 - 1.0/144.0*cf_i0_i1m2_i2p2 - 4.0/9.0*cf_i0_i1p1_i2m1 + (1.0/18.0)*cf_i0_i1p1_i2m2 + (4.0/9.0)*cf_i0_i1p1_i2p1 - 1.0/18.0*cf_i0_i1p1_i2p2 + (1.0/18.0)*cf_i0_i1p2_i2m1 - 1.0/144.0*cf_i0_i1p2_i2m2 - 1.0/18.0*cf_i0_i1p2_i2p1 + (1.0/144.0)*cf_i0_i1p2_i2p2);
const double cf_dDD22 = tmpFD30*((4.0/3.0)*cf_i0_i1_i2m1 + (4.0/3.0)*cf_i0_i1_i2p1 - tmpFD47 + tmpFD48 + tmpFD49);
const double cf_dKOD0 = invdx0*((15.0/64.0)*cf_i0m1_i1_i2 - 3.0/32.0*cf_i0m2_i1_i2 + (1.0/64.0)*cf_i0m3_i1_i2 + (15.0/64.0)*cf_i0p1_i1_i2 - 3.0/32.0*cf_i0p2_i1_i2 + (1.0/64.0)*cf_i0p3_i1_i2 + tmpFD50);
const double cf_dKOD1 = invdx1*((15.0/64.0)*cf_i0_i1m1_i2 - 3.0/32.0*cf_i0_i1m2_i2 + (1.0/64.0)*cf_i0_i1m3_i2 + (15.0/64.0)*cf_i0_i1p1_i2 - 3.0/32.0*cf_i0_i1p2_i2 + (1.0/64.0)*cf_i0_i1p3_i2 + tmpFD50);
const double cf_dKOD2 = invdx2*((15.0/64.0)*cf_i0_i1_i2m1 - 3.0/32.0*cf_i0_i1_i2m2 + (1.0/64.0)*cf_i0_i1_i2m3 + (15.0/64.0)*cf_i0_i1_i2p1 - 3.0/32.0*cf_i0_i1_i2p2 + (1.0/64.0)*cf_i0_i1_i2p3 + tmpFD50);
const double UpwindAlgInputcf_ddnD0 = invdx0*(-3.0/2.0*cf_i0m1_i1_i2 + (1.0/2.0)*cf_i0m2_i1_i2 - 1.0/12.0*cf_i0m3_i1_i2 + (1.0/4.0)*cf_i0p1_i1_i2 + tmpFD51);
const double UpwindAlgInputcf_ddnD1 = invdx1*(-3.0/2.0*cf_i0_i1m1_i2 + (1.0/2.0)*cf_i0_i1m2_i2 - 1.0/12.0*cf_i0_i1m3_i2 + (1.0/4.0)*cf_i0_i1p1_i2 + tmpFD51);
const double UpwindAlgInputcf_ddnD2 = invdx2*(-3.0/2.0*cf_i0_i1_i2m1 + (1.0/2.0)*cf_i0_i1_i2m2 - 1.0/12.0*cf_i0_i1_i2m3 + (1.0/4.0)*cf_i0_i1_i2p1 + tmpFD51);
const double UpwindAlgInputcf_dupD0 = invdx0*(-1.0/4.0*cf_i0m1_i1_i2 + (3.0/2.0)*cf_i0p1_i1_i2 - 1.0/2.0*cf_i0p2_i1_i2 + (1.0/12.0)*cf_i0p3_i1_i2 + tmpFD52);
const double UpwindAlgInputcf_dupD1 = invdx1*(-1.0/4.0*cf_i0_i1m1_i2 + (3.0/2.0)*cf_i0_i1p1_i2 - 1.0/2.0*cf_i0_i1p2_i2 + (1.0/12.0)*cf_i0_i1p3_i2 + tmpFD52);
const double UpwindAlgInputcf_dupD2 = invdx2*(-1.0/4.0*cf_i0_i1_i2m1 + (3.0/2.0)*cf_i0_i1_i2p1 - 1.0/2.0*cf_i0_i1_i2p2 + (1.0/12.0)*cf_i0_i1_i2p3 + tmpFD52);
const double hDD_dD000 = invdx0*(-2.0/3.0*hDD00_i0m1_i1_i2 + (1.0/12.0)*hDD00_i0m2_i1_i2 + (2.0/3.0)*hDD00_i0p1_i1_i2 - 1.0/12.0*hDD00_i0p2_i1_i2);
const double hDD_dD001 = invdx1*(-2.0/3.0*hDD00_i0_i1m1_i2 + (1.0/12.0)*hDD00_i0_i1m2_i2 + (2.0/3.0)*hDD00_i0_i1p1_i2 - 1.0/12.0*hDD00_i0_i1p2_i2);
const double hDD_dD002 = invdx2*(-2.0/3.0*hDD00_i0_i1_i2m1 + (1.0/12.0)*hDD00_i0_i1_i2m2 + (2.0/3.0)*hDD00_i0_i1_i2p1 - 1.0/12.0*hDD00_i0_i1_i2p2);
const double hDD_dD010 = invdx0*(-2.0/3.0*hDD01_i0m1_i1_i2 + (1.0/12.0)*hDD01_i0m2_i1_i2 + (2.0/3.0)*hDD01_i0p1_i1_i2 - 1.0/12.0*hDD01_i0p2_i1_i2);
const double hDD_dD011 = invdx1*(-2.0/3.0*hDD01_i0_i1m1_i2 + (1.0/12.0)*hDD01_i0_i1m2_i2 + (2.0/3.0)*hDD01_i0_i1p1_i2 - 1.0/12.0*hDD01_i0_i1p2_i2);
const double hDD_dD012 = invdx2*(-2.0/3.0*hDD01_i0_i1_i2m1 + (1.0/12.0)*hDD01_i0_i1_i2m2 + (2.0/3.0)*hDD01_i0_i1_i2p1 - 1.0/12.0*hDD01_i0_i1_i2p2);
const double hDD_dD020 = invdx0*(-2.0/3.0*hDD02_i0m1_i1_i2 + (1.0/12.0)*hDD02_i0m2_i1_i2 + (2.0/3.0)*hDD02_i0p1_i1_i2 - 1.0/12.0*hDD02_i0p2_i1_i2);
const double hDD_dD021 = invdx1*(-2.0/3.0*hDD02_i0_i1m1_i2 + (1.0/12.0)*hDD02_i0_i1m2_i2 + (2.0/3.0)*hDD02_i0_i1p1_i2 - 1.0/12.0*hDD02_i0_i1p2_i2);
const double hDD_dD022 = invdx2*(-2.0/3.0*hDD02_i0_i1_i2m1 + (1.0/12.0)*hDD02_i0_i1_i2m2 + (2.0/3.0)*hDD02_i0_i1_i2p1 - 1.0/12.0*hDD02_i0_i1_i2p2);
const double hDD_dD110 = invdx0*(-2.0/3.0*hDD11_i0m1_i1_i2 + (1.0/12.0)*hDD11_i0m2_i1_i2 + (2.0/3.0)*hDD11_i0p1_i1_i2 - 1.0/12.0*hDD11_i0p2_i1_i2);
const double hDD_dD111 = invdx1*(-2.0/3.0*hDD11_i0_i1m1_i2 + (1.0/12.0)*hDD11_i0_i1m2_i2 + (2.0/3.0)*hDD11_i0_i1p1_i2 - 1.0/12.0*hDD11_i0_i1p2_i2);
const double hDD_dD112 = invdx2*(-2.0/3.0*hDD11_i0_i1_i2m1 + (1.0/12.0)*hDD11_i0_i1_i2m2 + (2.0/3.0)*hDD11_i0_i1_i2p1 - 1.0/12.0*hDD11_i0_i1_i2p2);
const double hDD_dD120 = invdx0*(-2.0/3.0*hDD12_i0m1_i1_i2 + (1.0/12.0)*hDD12_i0m2_i1_i2 + (2.0/3.0)*hDD12_i0p1_i1_i2 - 1.0/12.0*hDD12_i0p2_i1_i2);
const double hDD_dD121 = invdx1*(-2.0/3.0*hDD12_i0_i1m1_i2 + (1.0/12.0)*hDD12_i0_i1m2_i2 + (2.0/3.0)*hDD12_i0_i1p1_i2 - 1.0/12.0*hDD12_i0_i1p2_i2);
const double hDD_dD122 = invdx2*(-2.0/3.0*hDD12_i0_i1_i2m1 + (1.0/12.0)*hDD12_i0_i1_i2m2 + (2.0/3.0)*hDD12_i0_i1_i2p1 - 1.0/12.0*hDD12_i0_i1_i2p2);
const double hDD_dD220 = invdx0*(-2.0/3.0*hDD22_i0m1_i1_i2 + (1.0/12.0)*hDD22_i0m2_i1_i2 + (2.0/3.0)*hDD22_i0p1_i1_i2 - 1.0/12.0*hDD22_i0p2_i1_i2);
const double hDD_dD221 = invdx1*(-2.0/3.0*hDD22_i0_i1m1_i2 + (1.0/12.0)*hDD22_i0_i1m2_i2 + (2.0/3.0)*hDD22_i0_i1p1_i2 - 1.0/12.0*hDD22_i0_i1p2_i2);
const double hDD_dD222 = invdx2*(-2.0/3.0*hDD22_i0_i1_i2m1 + (1.0/12.0)*hDD22_i0_i1_i2m2 + (2.0/3.0)*hDD22_i0_i1_i2p1 - 1.0/12.0*hDD22_i0_i1_i2p2);
const double hDD_dKOD000 = invdx0*((15.0/64.0)*hDD00_i0m1_i1_i2 - 3.0/32.0*hDD00_i0m2_i1_i2 + (1.0/64.0)*hDD00_i0m3_i1_i2 + (15.0/64.0)*hDD00_i0p1_i1_i2 - 3.0/32.0*hDD00_i0p2_i1_i2 + (1.0/64.0)*hDD00_i0p3_i1_i2 + tmpFD53);
const double hDD_dKOD001 = invdx1*((15.0/64.0)*hDD00_i0_i1m1_i2 - 3.0/32.0*hDD00_i0_i1m2_i2 + (1.0/64.0)*hDD00_i0_i1m3_i2 + (15.0/64.0)*hDD00_i0_i1p1_i2 - 3.0/32.0*hDD00_i0_i1p2_i2 + (1.0/64.0)*hDD00_i0_i1p3_i2 + tmpFD53);
const double hDD_dKOD002 = invdx2*((15.0/64.0)*hDD00_i0_i1_i2m1 - 3.0/32.0*hDD00_i0_i1_i2m2 + (1.0/64.0)*hDD00_i0_i1_i2m3 + (15.0/64.0)*hDD00_i0_i1_i2p1 - 3.0/32.0*hDD00_i0_i1_i2p2 + (1.0/64.0)*hDD00_i0_i1_i2p3 + tmpFD53);
const double hDD_dKOD010 = invdx0*((15.0/64.0)*hDD01_i0m1_i1_i2 - 3.0/32.0*hDD01_i0m2_i1_i2 + (1.0/64.0)*hDD01_i0m3_i1_i2 + (15.0/64.0)*hDD01_i0p1_i1_i2 - 3.0/32.0*hDD01_i0p2_i1_i2 + (1.0/64.0)*hDD01_i0p3_i1_i2 + tmpFD54);
const double hDD_dKOD011 = invdx1*((15.0/64.0)*hDD01_i0_i1m1_i2 - 3.0/32.0*hDD01_i0_i1m2_i2 + (1.0/64.0)*hDD01_i0_i1m3_i2 + (15.0/64.0)*hDD01_i0_i1p1_i2 - 3.0/32.0*hDD01_i0_i1p2_i2 + (1.0/64.0)*hDD01_i0_i1p3_i2 + tmpFD54);
const double hDD_dKOD012 = invdx2*((15.0/64.0)*hDD01_i0_i1_i2m1 - 3.0/32.0*hDD01_i0_i1_i2m2 + (1.0/64.0)*hDD01_i0_i1_i2m3 + (15.0/64.0)*hDD01_i0_i1_i2p1 - 3.0/32.0*hDD01_i0_i1_i2p2 + (1.0/64.0)*hDD01_i0_i1_i2p3 + tmpFD54);
const double hDD_dKOD020 = invdx0*((15.0/64.0)*hDD02_i0m1_i1_i2 - 3.0/32.0*hDD02_i0m2_i1_i2 + (1.0/64.0)*hDD02_i0m3_i1_i2 + (15.0/64.0)*hDD02_i0p1_i1_i2 - 3.0/32.0*hDD02_i0p2_i1_i2 + (1.0/64.0)*hDD02_i0p3_i1_i2 + tmpFD55);
const double hDD_dKOD021 = invdx1*((15.0/64.0)*hDD02_i0_i1m1_i2 - 3.0/32.0*hDD02_i0_i1m2_i2 + (1.0/64.0)*hDD02_i0_i1m3_i2 + (15.0/64.0)*hDD02_i0_i1p1_i2 - 3.0/32.0*hDD02_i0_i1p2_i2 + (1.0/64.0)*hDD02_i0_i1p3_i2 + tmpFD55);
const double hDD_dKOD022 = invdx2*((15.0/64.0)*hDD02_i0_i1_i2m1 - 3.0/32.0*hDD02_i0_i1_i2m2 + (1.0/64.0)*hDD02_i0_i1_i2m3 + (15.0/64.0)*hDD02_i0_i1_i2p1 - 3.0/32.0*hDD02_i0_i1_i2p2 + (1.0/64.0)*hDD02_i0_i1_i2p3 + tmpFD55);
const double hDD_dKOD110 = invdx0*((15.0/64.0)*hDD11_i0m1_i1_i2 - 3.0/32.0*hDD11_i0m2_i1_i2 + (1.0/64.0)*hDD11_i0m3_i1_i2 + (15.0/64.0)*hDD11_i0p1_i1_i2 - 3.0/32.0*hDD11_i0p2_i1_i2 + (1.0/64.0)*hDD11_i0p3_i1_i2 + tmpFD56);
const double hDD_dKOD111 = invdx1*((15.0/64.0)*hDD11_i0_i1m1_i2 - 3.0/32.0*hDD11_i0_i1m2_i2 + (1.0/64.0)*hDD11_i0_i1m3_i2 + (15.0/64.0)*hDD11_i0_i1p1_i2 - 3.0/32.0*hDD11_i0_i1p2_i2 + (1.0/64.0)*hDD11_i0_i1p3_i2 + tmpFD56);
const double hDD_dKOD112 = invdx2*((15.0/64.0)*hDD11_i0_i1_i2m1 - 3.0/32.0*hDD11_i0_i1_i2m2 + (1.0/64.0)*hDD11_i0_i1_i2m3 + (15.0/64.0)*hDD11_i0_i1_i2p1 - 3.0/32.0*hDD11_i0_i1_i2p2 + (1.0/64.0)*hDD11_i0_i1_i2p3 + tmpFD56);
const double hDD_dKOD120 = invdx0*((15.0/64.0)*hDD12_i0m1_i1_i2 - 3.0/32.0*hDD12_i0m2_i1_i2 + (1.0/64.0)*hDD12_i0m3_i1_i2 + (15.0/64.0)*hDD12_i0p1_i1_i2 - 3.0/32.0*hDD12_i0p2_i1_i2 + (1.0/64.0)*hDD12_i0p3_i1_i2 + tmpFD57);
const double hDD_dKOD121 = invdx1*((15.0/64.0)*hDD12_i0_i1m1_i2 - 3.0/32.0*hDD12_i0_i1m2_i2 + (1.0/64.0)*hDD12_i0_i1m3_i2 + (15.0/64.0)*hDD12_i0_i1p1_i2 - 3.0/32.0*hDD12_i0_i1p2_i2 + (1.0/64.0)*hDD12_i0_i1p3_i2 + tmpFD57);
const double hDD_dKOD122 = invdx2*((15.0/64.0)*hDD12_i0_i1_i2m1 - 3.0/32.0*hDD12_i0_i1_i2m2 + (1.0/64.0)*hDD12_i0_i1_i2m3 + (15.0/64.0)*hDD12_i0_i1_i2p1 - 3.0/32.0*hDD12_i0_i1_i2p2 + (1.0/64.0)*hDD12_i0_i1_i2p3 + tmpFD57);
const double hDD_dKOD220 = invdx0*((15.0/64.0)*hDD22_i0m1_i1_i2 - 3.0/32.0*hDD22_i0m2_i1_i2 + (1.0/64.0)*hDD22_i0m3_i1_i2 + (15.0/64.0)*hDD22_i0p1_i1_i2 - 3.0/32.0*hDD22_i0p2_i1_i2 + (1.0/64.0)*hDD22_i0p3_i1_i2 + tmpFD58);
const double hDD_dKOD221 = invdx1*((15.0/64.0)*hDD22_i0_i1m1_i2 - 3.0/32.0*hDD22_i0_i1m2_i2 + (1.0/64.0)*hDD22_i0_i1m3_i2 + (15.0/64.0)*hDD22_i0_i1p1_i2 - 3.0/32.0*hDD22_i0_i1p2_i2 + (1.0/64.0)*hDD22_i0_i1p3_i2 + tmpFD58);
const double hDD_dKOD222 = invdx2*((15.0/64.0)*hDD22_i0_i1_i2m1 - 3.0/32.0*hDD22_i0_i1_i2m2 + (1.0/64.0)*hDD22_i0_i1_i2m3 + (15.0/64.0)*hDD22_i0_i1_i2p1 - 3.0/32.0*hDD22_i0_i1_i2p2 + (1.0/64.0)*hDD22_i0_i1_i2p3 + tmpFD58);
const double UpwindAlgInputhDD_ddnD000 = invdx0*(-3.0/2.0*hDD00_i0m1_i1_i2 + (1.0/2.0)*hDD00_i0m2_i1_i2 - 1.0/12.0*hDD00_i0m3_i1_i2 + (1.0/4.0)*hDD00_i0p1_i1_i2 + tmpFD59);
const double UpwindAlgInputhDD_ddnD001 = invdx1*(-3.0/2.0*hDD00_i0_i1m1_i2 + (1.0/2.0)*hDD00_i0_i1m2_i2 - 1.0/12.0*hDD00_i0_i1m3_i2 + (1.0/4.0)*hDD00_i0_i1p1_i2 + tmpFD59);
const double UpwindAlgInputhDD_ddnD002 = invdx2*(-3.0/2.0*hDD00_i0_i1_i2m1 + (1.0/2.0)*hDD00_i0_i1_i2m2 - 1.0/12.0*hDD00_i0_i1_i2m3 + (1.0/4.0)*hDD00_i0_i1_i2p1 + tmpFD59);
const double UpwindAlgInputhDD_ddnD010 = invdx0*(-3.0/2.0*hDD01_i0m1_i1_i2 + (1.0/2.0)*hDD01_i0m2_i1_i2 - 1.0/12.0*hDD01_i0m3_i1_i2 + (1.0/4.0)*hDD01_i0p1_i1_i2 + tmpFD60);
const double UpwindAlgInputhDD_ddnD011 = invdx1*(-3.0/2.0*hDD01_i0_i1m1_i2 + (1.0/2.0)*hDD01_i0_i1m2_i2 - 1.0/12.0*hDD01_i0_i1m3_i2 + (1.0/4.0)*hDD01_i0_i1p1_i2 + tmpFD60);
const double UpwindAlgInputhDD_ddnD012 = invdx2*(-3.0/2.0*hDD01_i0_i1_i2m1 + (1.0/2.0)*hDD01_i0_i1_i2m2 - 1.0/12.0*hDD01_i0_i1_i2m3 + (1.0/4.0)*hDD01_i0_i1_i2p1 + tmpFD60);
const double UpwindAlgInputhDD_ddnD020 = invdx0*(-3.0/2.0*hDD02_i0m1_i1_i2 + (1.0/2.0)*hDD02_i0m2_i1_i2 - 1.0/12.0*hDD02_i0m3_i1_i2 + (1.0/4.0)*hDD02_i0p1_i1_i2 + tmpFD61);
const double UpwindAlgInputhDD_ddnD021 = invdx1*(-3.0/2.0*hDD02_i0_i1m1_i2 + (1.0/2.0)*hDD02_i0_i1m2_i2 - 1.0/12.0*hDD02_i0_i1m3_i2 + (1.0/4.0)*hDD02_i0_i1p1_i2 + tmpFD61);
const double UpwindAlgInputhDD_ddnD022 = invdx2*(-3.0/2.0*hDD02_i0_i1_i2m1 + (1.0/2.0)*hDD02_i0_i1_i2m2 - 1.0/12.0*hDD02_i0_i1_i2m3 + (1.0/4.0)*hDD02_i0_i1_i2p1 + tmpFD61);
const double UpwindAlgInputhDD_ddnD110 = invdx0*(-3.0/2.0*hDD11_i0m1_i1_i2 + (1.0/2.0)*hDD11_i0m2_i1_i2 - 1.0/12.0*hDD11_i0m3_i1_i2 + (1.0/4.0)*hDD11_i0p1_i1_i2 + tmpFD62);
const double UpwindAlgInputhDD_ddnD111 = invdx1*(-3.0/2.0*hDD11_i0_i1m1_i2 + (1.0/2.0)*hDD11_i0_i1m2_i2 - 1.0/12.0*hDD11_i0_i1m3_i2 + (1.0/4.0)*hDD11_i0_i1p1_i2 + tmpFD62);
const double UpwindAlgInputhDD_ddnD112 = invdx2*(-3.0/2.0*hDD11_i0_i1_i2m1 + (1.0/2.0)*hDD11_i0_i1_i2m2 - 1.0/12.0*hDD11_i0_i1_i2m3 + (1.0/4.0)*hDD11_i0_i1_i2p1 + tmpFD62);
const double UpwindAlgInputhDD_ddnD120 = invdx0*(-3.0/2.0*hDD12_i0m1_i1_i2 + (1.0/2.0)*hDD12_i0m2_i1_i2 - 1.0/12.0*hDD12_i0m3_i1_i2 + (1.0/4.0)*hDD12_i0p1_i1_i2 + tmpFD63);
const double UpwindAlgInputhDD_ddnD121 = invdx1*(-3.0/2.0*hDD12_i0_i1m1_i2 + (1.0/2.0)*hDD12_i0_i1m2_i2 - 1.0/12.0*hDD12_i0_i1m3_i2 + (1.0/4.0)*hDD12_i0_i1p1_i2 + tmpFD63);
const double UpwindAlgInputhDD_ddnD122 = invdx2*(-3.0/2.0*hDD12_i0_i1_i2m1 + (1.0/2.0)*hDD12_i0_i1_i2m2 - 1.0/12.0*hDD12_i0_i1_i2m3 + (1.0/4.0)*hDD12_i0_i1_i2p1 + tmpFD63);
const double UpwindAlgInputhDD_ddnD220 = invdx0*(-3.0/2.0*hDD22_i0m1_i1_i2 + (1.0/2.0)*hDD22_i0m2_i1_i2 - 1.0/12.0*hDD22_i0m3_i1_i2 + (1.0/4.0)*hDD22_i0p1_i1_i2 + tmpFD64);
const double UpwindAlgInputhDD_ddnD221 = invdx1*(-3.0/2.0*hDD22_i0_i1m1_i2 + (1.0/2.0)*hDD22_i0_i1m2_i2 - 1.0/12.0*hDD22_i0_i1m3_i2 + (1.0/4.0)*hDD22_i0_i1p1_i2 + tmpFD64);
const double UpwindAlgInputhDD_ddnD222 = invdx2*(-3.0/2.0*hDD22_i0_i1_i2m1 + (1.0/2.0)*hDD22_i0_i1_i2m2 - 1.0/12.0*hDD22_i0_i1_i2m3 + (1.0/4.0)*hDD22_i0_i1_i2p1 + tmpFD64);
const double UpwindAlgInputhDD_dupD000 = invdx0*(-1.0/4.0*hDD00_i0m1_i1_i2 + (3.0/2.0)*hDD00_i0p1_i1_i2 - 1.0/2.0*hDD00_i0p2_i1_i2 + (1.0/12.0)*hDD00_i0p3_i1_i2 + tmpFD65);
const double UpwindAlgInputhDD_dupD001 = invdx1*(-1.0/4.0*hDD00_i0_i1m1_i2 + (3.0/2.0)*hDD00_i0_i1p1_i2 - 1.0/2.0*hDD00_i0_i1p2_i2 + (1.0/12.0)*hDD00_i0_i1p3_i2 + tmpFD65);
const double UpwindAlgInputhDD_dupD002 = invdx2*(-1.0/4.0*hDD00_i0_i1_i2m1 + (3.0/2.0)*hDD00_i0_i1_i2p1 - 1.0/2.0*hDD00_i0_i1_i2p2 + (1.0/12.0)*hDD00_i0_i1_i2p3 + tmpFD65);
const double UpwindAlgInputhDD_dupD010 = invdx0*(-1.0/4.0*hDD01_i0m1_i1_i2 + (3.0/2.0)*hDD01_i0p1_i1_i2 - 1.0/2.0*hDD01_i0p2_i1_i2 + (1.0/12.0)*hDD01_i0p3_i1_i2 + tmpFD66);
const double UpwindAlgInputhDD_dupD011 = invdx1*(-1.0/4.0*hDD01_i0_i1m1_i2 + (3.0/2.0)*hDD01_i0_i1p1_i2 - 1.0/2.0*hDD01_i0_i1p2_i2 + (1.0/12.0)*hDD01_i0_i1p3_i2 + tmpFD66);
const double UpwindAlgInputhDD_dupD012 = invdx2*(-1.0/4.0*hDD01_i0_i1_i2m1 + (3.0/2.0)*hDD01_i0_i1_i2p1 - 1.0/2.0*hDD01_i0_i1_i2p2 + (1.0/12.0)*hDD01_i0_i1_i2p3 + tmpFD66);
const double UpwindAlgInputhDD_dupD020 = invdx0*(-1.0/4.0*hDD02_i0m1_i1_i2 + (3.0/2.0)*hDD02_i0p1_i1_i2 - 1.0/2.0*hDD02_i0p2_i1_i2 + (1.0/12.0)*hDD02_i0p3_i1_i2 + tmpFD67);
const double UpwindAlgInputhDD_dupD021 = invdx1*(-1.0/4.0*hDD02_i0_i1m1_i2 + (3.0/2.0)*hDD02_i0_i1p1_i2 - 1.0/2.0*hDD02_i0_i1p2_i2 + (1.0/12.0)*hDD02_i0_i1p3_i2 + tmpFD67);
const double UpwindAlgInputhDD_dupD022 = invdx2*(-1.0/4.0*hDD02_i0_i1_i2m1 + (3.0/2.0)*hDD02_i0_i1_i2p1 - 1.0/2.0*hDD02_i0_i1_i2p2 + (1.0/12.0)*hDD02_i0_i1_i2p3 + tmpFD67);
const double UpwindAlgInputhDD_dupD110 = invdx0*(-1.0/4.0*hDD11_i0m1_i1_i2 + (3.0/2.0)*hDD11_i0p1_i1_i2 - 1.0/2.0*hDD11_i0p2_i1_i2 + (1.0/12.0)*hDD11_i0p3_i1_i2 + tmpFD68);
const double UpwindAlgInputhDD_dupD111 = invdx1*(-1.0/4.0*hDD11_i0_i1m1_i2 + (3.0/2.0)*hDD11_i0_i1p1_i2 - 1.0/2.0*hDD11_i0_i1p2_i2 + (1.0/12.0)*hDD11_i0_i1p3_i2 + tmpFD68);
const double UpwindAlgInputhDD_dupD112 = invdx2*(-1.0/4.0*hDD11_i0_i1_i2m1 + (3.0/2.0)*hDD11_i0_i1_i2p1 - 1.0/2.0*hDD11_i0_i1_i2p2 + (1.0/12.0)*hDD11_i0_i1_i2p3 + tmpFD68);
const double UpwindAlgInputhDD_dupD120 = invdx0*(-1.0/4.0*hDD12_i0m1_i1_i2 + (3.0/2.0)*hDD12_i0p1_i1_i2 - 1.0/2.0*hDD12_i0p2_i1_i2 + (1.0/12.0)*hDD12_i0p3_i1_i2 + tmpFD69);
const double UpwindAlgInputhDD_dupD121 = invdx1*(-1.0/4.0*hDD12_i0_i1m1_i2 + (3.0/2.0)*hDD12_i0_i1p1_i2 - 1.0/2.0*hDD12_i0_i1p2_i2 + (1.0/12.0)*hDD12_i0_i1p3_i2 + tmpFD69);
const double UpwindAlgInputhDD_dupD122 = invdx2*(-1.0/4.0*hDD12_i0_i1_i2m1 + (3.0/2.0)*hDD12_i0_i1_i2p1 - 1.0/2.0*hDD12_i0_i1_i2p2 + (1.0/12.0)*hDD12_i0_i1_i2p3 + tmpFD69);
const double UpwindAlgInputhDD_dupD220 = invdx0*(-1.0/4.0*hDD22_i0m1_i1_i2 + (3.0/2.0)*hDD22_i0p1_i1_i2 - 1.0/2.0*hDD22_i0p2_i1_i2 + (1.0/12.0)*hDD22_i0p3_i1_i2 + tmpFD70);
const double UpwindAlgInputhDD_dupD221 = invdx1*(-1.0/4.0*hDD22_i0_i1m1_i2 + (3.0/2.0)*hDD22_i0_i1p1_i2 - 1.0/2.0*hDD22_i0_i1p2_i2 + (1.0/12.0)*hDD22_i0_i1p3_i2 + tmpFD70);
const double UpwindAlgInputhDD_dupD222 = invdx2*(-1.0/4.0*hDD22_i0_i1_i2m1 + (3.0/2.0)*hDD22_i0_i1_i2p1 - 1.0/2.0*hDD22_i0_i1_i2p2 + (1.0/12.0)*hDD22_i0_i1_i2p3 + tmpFD70);
const double lambdaU_dKOD00 = invdx0*((15.0/64.0)*lambdaU0_i0m1_i1_i2 - 3.0/32.0*lambdaU0_i0m2_i1_i2 + (1.0/64.0)*lambdaU0_i0m3_i1_i2 + (15.0/64.0)*lambdaU0_i0p1_i1_i2 - 3.0/32.0*lambdaU0_i0p2_i1_i2 + (1.0/64.0)*lambdaU0_i0p3_i1_i2 + tmpFD71);
const double lambdaU_dKOD01 = invdx1*((15.0/64.0)*lambdaU0_i0_i1m1_i2 - 3.0/32.0*lambdaU0_i0_i1m2_i2 + (1.0/64.0)*lambdaU0_i0_i1m3_i2 + (15.0/64.0)*lambdaU0_i0_i1p1_i2 - 3.0/32.0*lambdaU0_i0_i1p2_i2 + (1.0/64.0)*lambdaU0_i0_i1p3_i2 + tmpFD71);
const double lambdaU_dKOD02 = invdx2*((15.0/64.0)*lambdaU0_i0_i1_i2m1 - 3.0/32.0*lambdaU0_i0_i1_i2m2 + (1.0/64.0)*lambdaU0_i0_i1_i2m3 + (15.0/64.0)*lambdaU0_i0_i1_i2p1 - 3.0/32.0*lambdaU0_i0_i1_i2p2 + (1.0/64.0)*lambdaU0_i0_i1_i2p3 + tmpFD71);
const double lambdaU_dKOD10 = invdx0*((15.0/64.0)*lambdaU1_i0m1_i1_i2 - 3.0/32.0*lambdaU1_i0m2_i1_i2 + (1.0/64.0)*lambdaU1_i0m3_i1_i2 + (15.0/64.0)*lambdaU1_i0p1_i1_i2 - 3.0/32.0*lambdaU1_i0p2_i1_i2 + (1.0/64.0)*lambdaU1_i0p3_i1_i2 + tmpFD72);
const double lambdaU_dKOD11 = invdx1*((15.0/64.0)*lambdaU1_i0_i1m1_i2 - 3.0/32.0*lambdaU1_i0_i1m2_i2 + (1.0/64.0)*lambdaU1_i0_i1m3_i2 + (15.0/64.0)*lambdaU1_i0_i1p1_i2 - 3.0/32.0*lambdaU1_i0_i1p2_i2 + (1.0/64.0)*lambdaU1_i0_i1p3_i2 + tmpFD72);
const double lambdaU_dKOD12 = invdx2*((15.0/64.0)*lambdaU1_i0_i1_i2m1 - 3.0/32.0*lambdaU1_i0_i1_i2m2 + (1.0/64.0)*lambdaU1_i0_i1_i2m3 + (15.0/64.0)*lambdaU1_i0_i1_i2p1 - 3.0/32.0*lambdaU1_i0_i1_i2p2 + (1.0/64.0)*lambdaU1_i0_i1_i2p3 + tmpFD72);
const double lambdaU_dKOD20 = invdx0*((15.0/64.0)*lambdaU2_i0m1_i1_i2 - 3.0/32.0*lambdaU2_i0m2_i1_i2 + (1.0/64.0)*lambdaU2_i0m3_i1_i2 + (15.0/64.0)*lambdaU2_i0p1_i1_i2 - 3.0/32.0*lambdaU2_i0p2_i1_i2 + (1.0/64.0)*lambdaU2_i0p3_i1_i2 + tmpFD73);
const double lambdaU_dKOD21 = invdx1*((15.0/64.0)*lambdaU2_i0_i1m1_i2 - 3.0/32.0*lambdaU2_i0_i1m2_i2 + (1.0/64.0)*lambdaU2_i0_i1m3_i2 + (15.0/64.0)*lambdaU2_i0_i1p1_i2 - 3.0/32.0*lambdaU2_i0_i1p2_i2 + (1.0/64.0)*lambdaU2_i0_i1p3_i2 + tmpFD73);
const double lambdaU_dKOD22 = invdx2*((15.0/64.0)*lambdaU2_i0_i1_i2m1 - 3.0/32.0*lambdaU2_i0_i1_i2m2 + (1.0/64.0)*lambdaU2_i0_i1_i2m3 + (15.0/64.0)*lambdaU2_i0_i1_i2p1 - 3.0/32.0*lambdaU2_i0_i1_i2p2 + (1.0/64.0)*lambdaU2_i0_i1_i2p3 + tmpFD73);
const double UpwindAlgInputlambdaU_ddnD00 = invdx0*(-3.0/2.0*lambdaU0_i0m1_i1_i2 + (1.0/2.0)*lambdaU0_i0m2_i1_i2 - 1.0/12.0*lambdaU0_i0m3_i1_i2 + (1.0/4.0)*lambdaU0_i0p1_i1_i2 + tmpFD74);
const double UpwindAlgInputlambdaU_ddnD01 = invdx1*(-3.0/2.0*lambdaU0_i0_i1m1_i2 + (1.0/2.0)*lambdaU0_i0_i1m2_i2 - 1.0/12.0*lambdaU0_i0_i1m3_i2 + (1.0/4.0)*lambdaU0_i0_i1p1_i2 + tmpFD74);
const double UpwindAlgInputlambdaU_ddnD02 = invdx2*(-3.0/2.0*lambdaU0_i0_i1_i2m1 + (1.0/2.0)*lambdaU0_i0_i1_i2m2 - 1.0/12.0*lambdaU0_i0_i1_i2m3 + (1.0/4.0)*lambdaU0_i0_i1_i2p1 + tmpFD74);
const double UpwindAlgInputlambdaU_ddnD10 = invdx0*(-3.0/2.0*lambdaU1_i0m1_i1_i2 + (1.0/2.0)*lambdaU1_i0m2_i1_i2 - 1.0/12.0*lambdaU1_i0m3_i1_i2 + (1.0/4.0)*lambdaU1_i0p1_i1_i2 + tmpFD75);
const double UpwindAlgInputlambdaU_ddnD11 = invdx1*(-3.0/2.0*lambdaU1_i0_i1m1_i2 + (1.0/2.0)*lambdaU1_i0_i1m2_i2 - 1.0/12.0*lambdaU1_i0_i1m3_i2 + (1.0/4.0)*lambdaU1_i0_i1p1_i2 + tmpFD75);
const double UpwindAlgInputlambdaU_ddnD12 = invdx2*(-3.0/2.0*lambdaU1_i0_i1_i2m1 + (1.0/2.0)*lambdaU1_i0_i1_i2m2 - 1.0/12.0*lambdaU1_i0_i1_i2m3 + (1.0/4.0)*lambdaU1_i0_i1_i2p1 + tmpFD75);
const double UpwindAlgInputlambdaU_ddnD20 = invdx0*(-3.0/2.0*lambdaU2_i0m1_i1_i2 + (1.0/2.0)*lambdaU2_i0m2_i1_i2 - 1.0/12.0*lambdaU2_i0m3_i1_i2 + (1.0/4.0)*lambdaU2_i0p1_i1_i2 + tmpFD76);
const double UpwindAlgInputlambdaU_ddnD21 = invdx1*(-3.0/2.0*lambdaU2_i0_i1m1_i2 + (1.0/2.0)*lambdaU2_i0_i1m2_i2 - 1.0/12.0*lambdaU2_i0_i1m3_i2 + (1.0/4.0)*lambdaU2_i0_i1p1_i2 + tmpFD76);
const double UpwindAlgInputlambdaU_ddnD22 = invdx2*(-3.0/2.0*lambdaU2_i0_i1_i2m1 + (1.0/2.0)*lambdaU2_i0_i1_i2m2 - 1.0/12.0*lambdaU2_i0_i1_i2m3 + (1.0/4.0)*lambdaU2_i0_i1_i2p1 + tmpFD76);
const double UpwindAlgInputlambdaU_dupD00 = invdx0*(-1.0/4.0*lambdaU0_i0m1_i1_i2 + (3.0/2.0)*lambdaU0_i0p1_i1_i2 - 1.0/2.0*lambdaU0_i0p2_i1_i2 + (1.0/12.0)*lambdaU0_i0p3_i1_i2 + tmpFD77);
const double UpwindAlgInputlambdaU_dupD01 = invdx1*(-1.0/4.0*lambdaU0_i0_i1m1_i2 + (3.0/2.0)*lambdaU0_i0_i1p1_i2 - 1.0/2.0*lambdaU0_i0_i1p2_i2 + (1.0/12.0)*lambdaU0_i0_i1p3_i2 + tmpFD77);
const double UpwindAlgInputlambdaU_dupD02 = invdx2*(-1.0/4.0*lambdaU0_i0_i1_i2m1 + (3.0/2.0)*lambdaU0_i0_i1_i2p1 - 1.0/2.0*lambdaU0_i0_i1_i2p2 + (1.0/12.0)*lambdaU0_i0_i1_i2p3 + tmpFD77);
const double UpwindAlgInputlambdaU_dupD10 = invdx0*(-1.0/4.0*lambdaU1_i0m1_i1_i2 + (3.0/2.0)*lambdaU1_i0p1_i1_i2 - 1.0/2.0*lambdaU1_i0p2_i1_i2 + (1.0/12.0)*lambdaU1_i0p3_i1_i2 + tmpFD78);
const double UpwindAlgInputlambdaU_dupD11 = invdx1*(-1.0/4.0*lambdaU1_i0_i1m1_i2 + (3.0/2.0)*lambdaU1_i0_i1p1_i2 - 1.0/2.0*lambdaU1_i0_i1p2_i2 + (1.0/12.0)*lambdaU1_i0_i1p3_i2 + tmpFD78);
const double UpwindAlgInputlambdaU_dupD12 = invdx2*(-1.0/4.0*lambdaU1_i0_i1_i2m1 + (3.0/2.0)*lambdaU1_i0_i1_i2p1 - 1.0/2.0*lambdaU1_i0_i1_i2p2 + (1.0/12.0)*lambdaU1_i0_i1_i2p3 + tmpFD78);
const double UpwindAlgInputlambdaU_dupD20 = invdx0*(-1.0/4.0*lambdaU2_i0m1_i1_i2 + (3.0/2.0)*lambdaU2_i0p1_i1_i2 - 1.0/2.0*lambdaU2_i0p2_i1_i2 + (1.0/12.0)*lambdaU2_i0p3_i1_i2 + tmpFD79);
const double UpwindAlgInputlambdaU_dupD21 = invdx1*(-1.0/4.0*lambdaU2_i0_i1m1_i2 + (3.0/2.0)*lambdaU2_i0_i1p1_i2 - 1.0/2.0*lambdaU2_i0_i1p2_i2 + (1.0/12.0)*lambdaU2_i0_i1p3_i2 + tmpFD79);
const double UpwindAlgInputlambdaU_dupD22 = invdx2*(-1.0/4.0*lambdaU2_i0_i1_i2m1 + (3.0/2.0)*lambdaU2_i0_i1_i2p1 - 1.0/2.0*lambdaU2_i0_i1_i2p2 + (1.0/12.0)*lambdaU2_i0_i1_i2p3 + tmpFD79);
const double trK_dD0 = invdx0*(-2.0/3.0*trK_i0m1_i1_i2 + (1.0/12.0)*trK_i0m2_i1_i2 + (2.0/3.0)*trK_i0p1_i1_i2 - 1.0/12.0*trK_i0p2_i1_i2);
const double trK_dD1 = invdx1*(-2.0/3.0*trK_i0_i1m1_i2 + (1.0/12.0)*trK_i0_i1m2_i2 + (2.0/3.0)*trK_i0_i1p1_i2 - 1.0/12.0*trK_i0_i1p2_i2);
const double trK_dD2 = invdx2*(-2.0/3.0*trK_i0_i1_i2m1 + (1.0/12.0)*trK_i0_i1_i2m2 + (2.0/3.0)*trK_i0_i1_i2p1 - 1.0/12.0*trK_i0_i1_i2p2);
const double trK_dKOD0 = invdx0*(tmpFD80 + (15.0/64.0)*trK_i0m1_i1_i2 - 3.0/32.0*trK_i0m2_i1_i2 + (1.0/64.0)*trK_i0m3_i1_i2 + (15.0/64.0)*trK_i0p1_i1_i2 - 3.0/32.0*trK_i0p2_i1_i2 + (1.0/64.0)*trK_i0p3_i1_i2);
const double trK_dKOD1 = invdx1*(tmpFD80 + (15.0/64.0)*trK_i0_i1m1_i2 - 3.0/32.0*trK_i0_i1m2_i2 + (1.0/64.0)*trK_i0_i1m3_i2 + (15.0/64.0)*trK_i0_i1p1_i2 - 3.0/32.0*trK_i0_i1p2_i2 + (1.0/64.0)*trK_i0_i1p3_i2);
const double trK_dKOD2 = invdx2*(tmpFD80 + (15.0/64.0)*trK_i0_i1_i2m1 - 3.0/32.0*trK_i0_i1_i2m2 + (1.0/64.0)*trK_i0_i1_i2m3 + (15.0/64.0)*trK_i0_i1_i2p1 - 3.0/32.0*trK_i0_i1_i2p2 + (1.0/64.0)*trK_i0_i1_i2p3);
const double UpwindAlgInputtrK_ddnD0 = invdx0*(tmpFD81 - 3.0/2.0*trK_i0m1_i1_i2 + (1.0/2.0)*trK_i0m2_i1_i2 - 1.0/12.0*trK_i0m3_i1_i2 + (1.0/4.0)*trK_i0p1_i1_i2);
const double UpwindAlgInputtrK_ddnD1 = invdx1*(tmpFD81 - 3.0/2.0*trK_i0_i1m1_i2 + (1.0/2.0)*trK_i0_i1m2_i2 - 1.0/12.0*trK_i0_i1m3_i2 + (1.0/4.0)*trK_i0_i1p1_i2);
const double UpwindAlgInputtrK_ddnD2 = invdx2*(tmpFD81 - 3.0/2.0*trK_i0_i1_i2m1 + (1.0/2.0)*trK_i0_i1_i2m2 - 1.0/12.0*trK_i0_i1_i2m3 + (1.0/4.0)*trK_i0_i1_i2p1);
const double UpwindAlgInputtrK_dupD0 = invdx0*(tmpFD82 - 1.0/4.0*trK_i0m1_i1_i2 + (3.0/2.0)*trK_i0p1_i1_i2 - 1.0/2.0*trK_i0p2_i1_i2 + (1.0/12.0)*trK_i0p3_i1_i2);
const double UpwindAlgInputtrK_dupD1 = invdx1*(tmpFD82 - 1.0/4.0*trK_i0_i1m1_i2 + (3.0/2.0)*trK_i0_i1p1_i2 - 1.0/2.0*trK_i0_i1p2_i2 + (1.0/12.0)*trK_i0_i1p3_i2);
const double UpwindAlgInputtrK_dupD2 = invdx2*(tmpFD82 - 1.0/4.0*trK_i0_i1_i2m1 + (3.0/2.0)*trK_i0_i1_i2p1 - 1.0/2.0*trK_i0_i1_i2p2 + (1.0/12.0)*trK_i0_i1_i2p3);
const double vetU_dD00 = invdx0*(tmpFD83 + tmpFD84 - 2.0/3.0*vetU0_i0m1_i1_i2 + (2.0/3.0)*vetU0_i0p1_i1_i2);
const double vetU_dD01 = invdx1*(tmpFD85 + tmpFD86 - 2.0/3.0*vetU0_i0_i1m1_i2 + (2.0/3.0)*vetU0_i0_i1p1_i2);
const double vetU_dD02 = invdx2*(tmpFD87 + tmpFD88 - 2.0/3.0*vetU0_i0_i1_i2m1 + (2.0/3.0)*vetU0_i0_i1_i2p1);
const double vetU_dD10 = invdx0*(tmpFD89 + tmpFD90 - 2.0/3.0*vetU1_i0m1_i1_i2 + (2.0/3.0)*vetU1_i0p1_i1_i2);
const double vetU_dD11 = invdx1*(tmpFD91 + tmpFD92 - 2.0/3.0*vetU1_i0_i1m1_i2 + (2.0/3.0)*vetU1_i0_i1p1_i2);
const double vetU_dD12 = invdx2*(tmpFD93 + tmpFD94 - 2.0/3.0*vetU1_i0_i1_i2m1 + (2.0/3.0)*vetU1_i0_i1_i2p1);
const double vetU_dD20 = invdx0*(tmpFD95 + tmpFD96 - 2.0/3.0*vetU2_i0m1_i1_i2 + (2.0/3.0)*vetU2_i0p1_i1_i2);
const double vetU_dD21 = invdx1*(tmpFD97 + tmpFD98 - 2.0/3.0*vetU2_i0_i1m1_i2 + (2.0/3.0)*vetU2_i0_i1p1_i2);
const double vetU_dD22 = invdx2*(tmpFD100 + tmpFD99 - 2.0/3.0*vetU2_i0_i1_i2m1 + (2.0/3.0)*vetU2_i0_i1_i2p1);
const double vetU_dDD000 = tmpFD24*(tmpFD101 - tmpFD83 + tmpFD84 + (4.0/3.0)*vetU0_i0m1_i1_i2 + (4.0/3.0)*vetU0_i0p1_i1_i2);
const double vetU_dDD001 = tmpFD26*((4.0/9.0)*vetU0_i0m1_i1m1_i2 - 1.0/18.0*vetU0_i0m1_i1m2_i2 - 4.0/9.0*vetU0_i0m1_i1p1_i2 + (1.0/18.0)*vetU0_i0m1_i1p2_i2 - 1.0/18.0*vetU0_i0m2_i1m1_i2 + (1.0/144.0)*vetU0_i0m2_i1m2_i2 + (1.0/18.0)*vetU0_i0m2_i1p1_i2 - 1.0/144.0*vetU0_i0m2_i1p2_i2 - 4.0/9.0*vetU0_i0p1_i1m1_i2 + (1.0/18.0)*vetU0_i0p1_i1m2_i2 + (4.0/9.0)*vetU0_i0p1_i1p1_i2 - 1.0/18.0*vetU0_i0p1_i1p2_i2 + (1.0/18.0)*vetU0_i0p2_i1m1_i2 - 1.0/144.0*vetU0_i0p2_i1m2_i2 - 1.0/18.0*vetU0_i0p2_i1p1_i2 + (1.0/144.0)*vetU0_i0p2_i1p2_i2);
const double vetU_dDD002 = tmpFD27*((4.0/9.0)*vetU0_i0m1_i1_i2m1 - 1.0/18.0*vetU0_i0m1_i1_i2m2 - 4.0/9.0*vetU0_i0m1_i1_i2p1 + (1.0/18.0)*vetU0_i0m1_i1_i2p2 - 1.0/18.0*vetU0_i0m2_i1_i2m1 + (1.0/144.0)*vetU0_i0m2_i1_i2m2 + (1.0/18.0)*vetU0_i0m2_i1_i2p1 - 1.0/144.0*vetU0_i0m2_i1_i2p2 - 4.0/9.0*vetU0_i0p1_i1_i2m1 + (1.0/18.0)*vetU0_i0p1_i1_i2m2 + (4.0/9.0)*vetU0_i0p1_i1_i2p1 - 1.0/18.0*vetU0_i0p1_i1_i2p2 + (1.0/18.0)*vetU0_i0p2_i1_i2m1 - 1.0/144.0*vetU0_i0p2_i1_i2m2 - 1.0/18.0*vetU0_i0p2_i1_i2p1 + (1.0/144.0)*vetU0_i0p2_i1_i2p2);
const double vetU_dDD011 = tmpFD28*(tmpFD101 - tmpFD85 + tmpFD86 + (4.0/3.0)*vetU0_i0_i1m1_i2 + (4.0/3.0)*vetU0_i0_i1p1_i2);
const double vetU_dDD012 = tmpFD29*((4.0/9.0)*vetU0_i0_i1m1_i2m1 - 1.0/18.0*vetU0_i0_i1m1_i2m2 - 4.0/9.0*vetU0_i0_i1m1_i2p1 + (1.0/18.0)*vetU0_i0_i1m1_i2p2 - 1.0/18.0*vetU0_i0_i1m2_i2m1 + (1.0/144.0)*vetU0_i0_i1m2_i2m2 + (1.0/18.0)*vetU0_i0_i1m2_i2p1 - 1.0/144.0*vetU0_i0_i1m2_i2p2 - 4.0/9.0*vetU0_i0_i1p1_i2m1 + (1.0/18.0)*vetU0_i0_i1p1_i2m2 + (4.0/9.0)*vetU0_i0_i1p1_i2p1 - 1.0/18.0*vetU0_i0_i1p1_i2p2 + (1.0/18.0)*vetU0_i0_i1p2_i2m1 - 1.0/144.0*vetU0_i0_i1p2_i2m2 - 1.0/18.0*vetU0_i0_i1p2_i2p1 + (1.0/144.0)*vetU0_i0_i1p2_i2p2);
const double vetU_dDD022 = tmpFD30*(tmpFD101 - tmpFD87 + tmpFD88 + (4.0/3.0)*vetU0_i0_i1_i2m1 + (4.0/3.0)*vetU0_i0_i1_i2p1);
const double vetU_dDD100 = tmpFD24*(tmpFD102 - tmpFD89 + tmpFD90 + (4.0/3.0)*vetU1_i0m1_i1_i2 + (4.0/3.0)*vetU1_i0p1_i1_i2);
const double vetU_dDD101 = tmpFD26*((4.0/9.0)*vetU1_i0m1_i1m1_i2 - 1.0/18.0*vetU1_i0m1_i1m2_i2 - 4.0/9.0*vetU1_i0m1_i1p1_i2 + (1.0/18.0)*vetU1_i0m1_i1p2_i2 - 1.0/18.0*vetU1_i0m2_i1m1_i2 + (1.0/144.0)*vetU1_i0m2_i1m2_i2 + (1.0/18.0)*vetU1_i0m2_i1p1_i2 - 1.0/144.0*vetU1_i0m2_i1p2_i2 - 4.0/9.0*vetU1_i0p1_i1m1_i2 + (1.0/18.0)*vetU1_i0p1_i1m2_i2 + (4.0/9.0)*vetU1_i0p1_i1p1_i2 - 1.0/18.0*vetU1_i0p1_i1p2_i2 + (1.0/18.0)*vetU1_i0p2_i1m1_i2 - 1.0/144.0*vetU1_i0p2_i1m2_i2 - 1.0/18.0*vetU1_i0p2_i1p1_i2 + (1.0/144.0)*vetU1_i0p2_i1p2_i2);
const double vetU_dDD102 = tmpFD27*((4.0/9.0)*vetU1_i0m1_i1_i2m1 - 1.0/18.0*vetU1_i0m1_i1_i2m2 - 4.0/9.0*vetU1_i0m1_i1_i2p1 + (1.0/18.0)*vetU1_i0m1_i1_i2p2 - 1.0/18.0*vetU1_i0m2_i1_i2m1 + (1.0/144.0)*vetU1_i0m2_i1_i2m2 + (1.0/18.0)*vetU1_i0m2_i1_i2p1 - 1.0/144.0*vetU1_i0m2_i1_i2p2 - 4.0/9.0*vetU1_i0p1_i1_i2m1 + (1.0/18.0)*vetU1_i0p1_i1_i2m2 + (4.0/9.0)*vetU1_i0p1_i1_i2p1 - 1.0/18.0*vetU1_i0p1_i1_i2p2 + (1.0/18.0)*vetU1_i0p2_i1_i2m1 - 1.0/144.0*vetU1_i0p2_i1_i2m2 - 1.0/18.0*vetU1_i0p2_i1_i2p1 + (1.0/144.0)*vetU1_i0p2_i1_i2p2);
const double vetU_dDD111 = tmpFD28*(tmpFD102 - tmpFD91 + tmpFD92 + (4.0/3.0)*vetU1_i0_i1m1_i2 + (4.0/3.0)*vetU1_i0_i1p1_i2);
const double vetU_dDD112 = tmpFD29*((4.0/9.0)*vetU1_i0_i1m1_i2m1 - 1.0/18.0*vetU1_i0_i1m1_i2m2 - 4.0/9.0*vetU1_i0_i1m1_i2p1 + (1.0/18.0)*vetU1_i0_i1m1_i2p2 - 1.0/18.0*vetU1_i0_i1m2_i2m1 + (1.0/144.0)*vetU1_i0_i1m2_i2m2 + (1.0/18.0)*vetU1_i0_i1m2_i2p1 - 1.0/144.0*vetU1_i0_i1m2_i2p2 - 4.0/9.0*vetU1_i0_i1p1_i2m1 + (1.0/18.0)*vetU1_i0_i1p1_i2m2 + (4.0/9.0)*vetU1_i0_i1p1_i2p1 - 1.0/18.0*vetU1_i0_i1p1_i2p2 + (1.0/18.0)*vetU1_i0_i1p2_i2m1 - 1.0/144.0*vetU1_i0_i1p2_i2m2 - 1.0/18.0*vetU1_i0_i1p2_i2p1 + (1.0/144.0)*vetU1_i0_i1p2_i2p2);
const double vetU_dDD122 = tmpFD30*(tmpFD102 - tmpFD93 + tmpFD94 + (4.0/3.0)*vetU1_i0_i1_i2m1 + (4.0/3.0)*vetU1_i0_i1_i2p1);
const double vetU_dDD200 = tmpFD24*(tmpFD103 - tmpFD95 + tmpFD96 + (4.0/3.0)*vetU2_i0m1_i1_i2 + (4.0/3.0)*vetU2_i0p1_i1_i2);
const double vetU_dDD201 = tmpFD26*((4.0/9.0)*vetU2_i0m1_i1m1_i2 - 1.0/18.0*vetU2_i0m1_i1m2_i2 - 4.0/9.0*vetU2_i0m1_i1p1_i2 + (1.0/18.0)*vetU2_i0m1_i1p2_i2 - 1.0/18.0*vetU2_i0m2_i1m1_i2 + (1.0/144.0)*vetU2_i0m2_i1m2_i2 + (1.0/18.0)*vetU2_i0m2_i1p1_i2 - 1.0/144.0*vetU2_i0m2_i1p2_i2 - 4.0/9.0*vetU2_i0p1_i1m1_i2 + (1.0/18.0)*vetU2_i0p1_i1m2_i2 + (4.0/9.0)*vetU2_i0p1_i1p1_i2 - 1.0/18.0*vetU2_i0p1_i1p2_i2 + (1.0/18.0)*vetU2_i0p2_i1m1_i2 - 1.0/144.0*vetU2_i0p2_i1m2_i2 - 1.0/18.0*vetU2_i0p2_i1p1_i2 + (1.0/144.0)*vetU2_i0p2_i1p2_i2);
const double vetU_dDD202 = tmpFD27*((4.0/9.0)*vetU2_i0m1_i1_i2m1 - 1.0/18.0*vetU2_i0m1_i1_i2m2 - 4.0/9.0*vetU2_i0m1_i1_i2p1 + (1.0/18.0)*vetU2_i0m1_i1_i2p2 - 1.0/18.0*vetU2_i0m2_i1_i2m1 + (1.0/144.0)*vetU2_i0m2_i1_i2m2 + (1.0/18.0)*vetU2_i0m2_i1_i2p1 - 1.0/144.0*vetU2_i0m2_i1_i2p2 - 4.0/9.0*vetU2_i0p1_i1_i2m1 + (1.0/18.0)*vetU2_i0p1_i1_i2m2 + (4.0/9.0)*vetU2_i0p1_i1_i2p1 - 1.0/18.0*vetU2_i0p1_i1_i2p2 + (1.0/18.0)*vetU2_i0p2_i1_i2m1 - 1.0/144.0*vetU2_i0p2_i1_i2m2 - 1.0/18.0*vetU2_i0p2_i1_i2p1 + (1.0/144.0)*vetU2_i0p2_i1_i2p2);
const double vetU_dDD211 = tmpFD28*(tmpFD103 - tmpFD97 + tmpFD98 + (4.0/3.0)*vetU2_i0_i1m1_i2 + (4.0/3.0)*vetU2_i0_i1p1_i2);
const double vetU_dDD212 = tmpFD29*((4.0/9.0)*vetU2_i0_i1m1_i2m1 - 1.0/18.0*vetU2_i0_i1m1_i2m2 - 4.0/9.0*vetU2_i0_i1m1_i2p1 + (1.0/18.0)*vetU2_i0_i1m1_i2p2 - 1.0/18.0*vetU2_i0_i1m2_i2m1 + (1.0/144.0)*vetU2_i0_i1m2_i2m2 + (1.0/18.0)*vetU2_i0_i1m2_i2p1 - 1.0/144.0*vetU2_i0_i1m2_i2p2 - 4.0/9.0*vetU2_i0_i1p1_i2m1 + (1.0/18.0)*vetU2_i0_i1p1_i2m2 + (4.0/9.0)*vetU2_i0_i1p1_i2p1 - 1.0/18.0*vetU2_i0_i1p1_i2p2 + (1.0/18.0)*vetU2_i0_i1p2_i2m1 - 1.0/144.0*vetU2_i0_i1p2_i2m2 - 1.0/18.0*vetU2_i0_i1p2_i2p1 + (1.0/144.0)*vetU2_i0_i1p2_i2p2);
const double vetU_dDD222 = tmpFD30*(tmpFD100 + tmpFD103 - tmpFD99 + (4.0/3.0)*vetU2_i0_i1_i2m1 + (4.0/3.0)*vetU2_i0_i1_i2p1);
const double vetU_dKOD00 = invdx0*(tmpFD104 + (15.0/64.0)*vetU0_i0m1_i1_i2 - 3.0/32.0*vetU0_i0m2_i1_i2 + (1.0/64.0)*vetU0_i0m3_i1_i2 + (15.0/64.0)*vetU0_i0p1_i1_i2 - 3.0/32.0*vetU0_i0p2_i1_i2 + (1.0/64.0)*vetU0_i0p3_i1_i2);
const double vetU_dKOD01 = invdx1*(tmpFD104 + (15.0/64.0)*vetU0_i0_i1m1_i2 - 3.0/32.0*vetU0_i0_i1m2_i2 + (1.0/64.0)*vetU0_i0_i1m3_i2 + (15.0/64.0)*vetU0_i0_i1p1_i2 - 3.0/32.0*vetU0_i0_i1p2_i2 + (1.0/64.0)*vetU0_i0_i1p3_i2);
const double vetU_dKOD02 = invdx2*(tmpFD104 + (15.0/64.0)*vetU0_i0_i1_i2m1 - 3.0/32.0*vetU0_i0_i1_i2m2 + (1.0/64.0)*vetU0_i0_i1_i2m3 + (15.0/64.0)*vetU0_i0_i1_i2p1 - 3.0/32.0*vetU0_i0_i1_i2p2 + (1.0/64.0)*vetU0_i0_i1_i2p3);
const double vetU_dKOD10 = invdx0*(tmpFD105 + (15.0/64.0)*vetU1_i0m1_i1_i2 - 3.0/32.0*vetU1_i0m2_i1_i2 + (1.0/64.0)*vetU1_i0m3_i1_i2 + (15.0/64.0)*vetU1_i0p1_i1_i2 - 3.0/32.0*vetU1_i0p2_i1_i2 + (1.0/64.0)*vetU1_i0p3_i1_i2);
const double vetU_dKOD11 = invdx1*(tmpFD105 + (15.0/64.0)*vetU1_i0_i1m1_i2 - 3.0/32.0*vetU1_i0_i1m2_i2 + (1.0/64.0)*vetU1_i0_i1m3_i2 + (15.0/64.0)*vetU1_i0_i1p1_i2 - 3.0/32.0*vetU1_i0_i1p2_i2 + (1.0/64.0)*vetU1_i0_i1p3_i2);
const double vetU_dKOD12 = invdx2*(tmpFD105 + (15.0/64.0)*vetU1_i0_i1_i2m1 - 3.0/32.0*vetU1_i0_i1_i2m2 + (1.0/64.0)*vetU1_i0_i1_i2m3 + (15.0/64.0)*vetU1_i0_i1_i2p1 - 3.0/32.0*vetU1_i0_i1_i2p2 + (1.0/64.0)*vetU1_i0_i1_i2p3);
const double vetU_dKOD20 = invdx0*(tmpFD106 + (15.0/64.0)*vetU2_i0m1_i1_i2 - 3.0/32.0*vetU2_i0m2_i1_i2 + (1.0/64.0)*vetU2_i0m3_i1_i2 + (15.0/64.0)*vetU2_i0p1_i1_i2 - 3.0/32.0*vetU2_i0p2_i1_i2 + (1.0/64.0)*vetU2_i0p3_i1_i2);
const double vetU_dKOD21 = invdx1*(tmpFD106 + (15.0/64.0)*vetU2_i0_i1m1_i2 - 3.0/32.0*vetU2_i0_i1m2_i2 + (1.0/64.0)*vetU2_i0_i1m3_i2 + (15.0/64.0)*vetU2_i0_i1p1_i2 - 3.0/32.0*vetU2_i0_i1p2_i2 + (1.0/64.0)*vetU2_i0_i1p3_i2);
const double vetU_dKOD22 = invdx2*(tmpFD106 + (15.0/64.0)*vetU2_i0_i1_i2m1 - 3.0/32.0*vetU2_i0_i1_i2m2 + (1.0/64.0)*vetU2_i0_i1_i2m3 + (15.0/64.0)*vetU2_i0_i1_i2p1 - 3.0/32.0*vetU2_i0_i1_i2p2 + (1.0/64.0)*vetU2_i0_i1_i2p3);
const double UpwindAlgInputvetU_ddnD00 = invdx0*(tmpFD107 - 3.0/2.0*vetU0_i0m1_i1_i2 + (1.0/2.0)*vetU0_i0m2_i1_i2 - 1.0/12.0*vetU0_i0m3_i1_i2 + (1.0/4.0)*vetU0_i0p1_i1_i2);
const double UpwindAlgInputvetU_ddnD01 = invdx1*(tmpFD107 - 3.0/2.0*vetU0_i0_i1m1_i2 + (1.0/2.0)*vetU0_i0_i1m2_i2 - 1.0/12.0*vetU0_i0_i1m3_i2 + (1.0/4.0)*vetU0_i0_i1p1_i2);
const double UpwindAlgInputvetU_ddnD02 = invdx2*(tmpFD107 - 3.0/2.0*vetU0_i0_i1_i2m1 + (1.0/2.0)*vetU0_i0_i1_i2m2 - 1.0/12.0*vetU0_i0_i1_i2m3 + (1.0/4.0)*vetU0_i0_i1_i2p1);
const double UpwindAlgInputvetU_ddnD10 = invdx0*(tmpFD108 - 3.0/2.0*vetU1_i0m1_i1_i2 + (1.0/2.0)*vetU1_i0m2_i1_i2 - 1.0/12.0*vetU1_i0m3_i1_i2 + (1.0/4.0)*vetU1_i0p1_i1_i2);
const double UpwindAlgInputvetU_ddnD11 = invdx1*(tmpFD108 - 3.0/2.0*vetU1_i0_i1m1_i2 + (1.0/2.0)*vetU1_i0_i1m2_i2 - 1.0/12.0*vetU1_i0_i1m3_i2 + (1.0/4.0)*vetU1_i0_i1p1_i2);
const double UpwindAlgInputvetU_ddnD12 = invdx2*(tmpFD108 - 3.0/2.0*vetU1_i0_i1_i2m1 + (1.0/2.0)*vetU1_i0_i1_i2m2 - 1.0/12.0*vetU1_i0_i1_i2m3 + (1.0/4.0)*vetU1_i0_i1_i2p1);
const double UpwindAlgInputvetU_ddnD20 = invdx0*(tmpFD109 - 3.0/2.0*vetU2_i0m1_i1_i2 + (1.0/2.0)*vetU2_i0m2_i1_i2 - 1.0/12.0*vetU2_i0m3_i1_i2 + (1.0/4.0)*vetU2_i0p1_i1_i2);
const double UpwindAlgInputvetU_ddnD21 = invdx1*(tmpFD109 - 3.0/2.0*vetU2_i0_i1m1_i2 + (1.0/2.0)*vetU2_i0_i1m2_i2 - 1.0/12.0*vetU2_i0_i1m3_i2 + (1.0/4.0)*vetU2_i0_i1p1_i2);
const double UpwindAlgInputvetU_ddnD22 = invdx2*(tmpFD109 - 3.0/2.0*vetU2_i0_i1_i2m1 + (1.0/2.0)*vetU2_i0_i1_i2m2 - 1.0/12.0*vetU2_i0_i1_i2m3 + (1.0/4.0)*vetU2_i0_i1_i2p1);
const double UpwindAlgInputvetU_dupD00 = invdx0*(tmpFD110 - 1.0/4.0*vetU0_i0m1_i1_i2 + (3.0/2.0)*vetU0_i0p1_i1_i2 - 1.0/2.0*vetU0_i0p2_i1_i2 + (1.0/12.0)*vetU0_i0p3_i1_i2);
const double UpwindAlgInputvetU_dupD01 = invdx1*(tmpFD110 - 1.0/4.0*vetU0_i0_i1m1_i2 + (3.0/2.0)*vetU0_i0_i1p1_i2 - 1.0/2.0*vetU0_i0_i1p2_i2 + (1.0/12.0)*vetU0_i0_i1p3_i2);
const double UpwindAlgInputvetU_dupD02 = invdx2*(tmpFD110 - 1.0/4.0*vetU0_i0_i1_i2m1 + (3.0/2.0)*vetU0_i0_i1_i2p1 - 1.0/2.0*vetU0_i0_i1_i2p2 + (1.0/12.0)*vetU0_i0_i1_i2p3);
const double UpwindAlgInputvetU_dupD10 = invdx0*(tmpFD111 - 1.0/4.0*vetU1_i0m1_i1_i2 + (3.0/2.0)*vetU1_i0p1_i1_i2 - 1.0/2.0*vetU1_i0p2_i1_i2 + (1.0/12.0)*vetU1_i0p3_i1_i2);
const double UpwindAlgInputvetU_dupD11 = invdx1*(tmpFD111 - 1.0/4.0*vetU1_i0_i1m1_i2 + (3.0/2.0)*vetU1_i0_i1p1_i2 - 1.0/2.0*vetU1_i0_i1p2_i2 + (1.0/12.0)*vetU1_i0_i1p3_i2);
const double UpwindAlgInputvetU_dupD12 = invdx2*(tmpFD111 - 1.0/4.0*vetU1_i0_i1_i2m1 + (3.0/2.0)*vetU1_i0_i1_i2p1 - 1.0/2.0*vetU1_i0_i1_i2p2 + (1.0/12.0)*vetU1_i0_i1_i2p3);
const double UpwindAlgInputvetU_dupD20 = invdx0*(tmpFD112 - 1.0/4.0*vetU2_i0m1_i1_i2 + (3.0/2.0)*vetU2_i0p1_i1_i2 - 1.0/2.0*vetU2_i0p2_i1_i2 + (1.0/12.0)*vetU2_i0p3_i1_i2);
const double UpwindAlgInputvetU_dupD21 = invdx1*(tmpFD112 - 1.0/4.0*vetU2_i0_i1m1_i2 + (3.0/2.0)*vetU2_i0_i1p1_i2 - 1.0/2.0*vetU2_i0_i1p2_i2 + (1.0/12.0)*vetU2_i0_i1p3_i2);
const double UpwindAlgInputvetU_dupD22 = invdx2*(tmpFD112 - 1.0/4.0*vetU2_i0_i1_i2m1 + (3.0/2.0)*vetU2_i0_i1_i2p1 - 1.0/2.0*vetU2_i0_i1_i2p2 + (1.0/12.0)*vetU2_i0_i1_i2p3);
const double tmpFD18 = ((invdx0)*(invdx0));
const double tmpFD19 = -2*alpha;
const double tmpFD20 = invdx0*invdx1;
const double tmpFD21 = invdx0*invdx2;
const double tmpFD22 = ((invdx1)*(invdx1));
const double tmpFD23 = invdx1*invdx2;
const double tmpFD24 = ((invdx2)*(invdx2));
const double tmpFD25 = -3.0/8.0*alpha;
const double tmpFD26 = (3.0/2.0)*alpha;
const double tmpFD27 = -tmpFD26;
const double tmpFD28 = -3.0/8.0*betU0;
const double tmpFD29 = -3.0/8.0*betU1;
const double tmpFD30 = -3.0/8.0*betU2;
const double tmpFD31 = (3.0/2.0)*betU0;
const double tmpFD32 = (3.0/2.0)*betU1;
const double tmpFD33 = (3.0/2.0)*betU2;
const double tmpFD34 = -tmpFD31;
const double tmpFD35 = -tmpFD32;
const double tmpFD36 = -tmpFD33;
const double tmpFD37 = -2*cf;
const double tmpFD38 = -3.0/8.0*cf;
const double tmpFD39 = (3.0/2.0)*cf;
const double tmpFD40 = -tmpFD39;
const double tmpFD41 = -3.0/8.0*hDD00;
const double tmpFD42 = -3.0/8.0*hDD01;
const double tmpFD43 = -3.0/8.0*hDD02;
const double tmpFD44 = -3.0/8.0*hDD11;
const double tmpFD45 = -3.0/8.0*hDD12;
const double tmpFD46 = -3.0/8.0*hDD22;
const double tmpFD47 = (3.0/2.0)*hDD00;
const double tmpFD48 = (3.0/2.0)*hDD01;
const double tmpFD49 = (3.0/2.0)*hDD02;
const double tmpFD50 = (3.0/2.0)*hDD11;
const double tmpFD51 = (3.0/2.0)*hDD12;
const double tmpFD52 = (3.0/2.0)*hDD22;
const double tmpFD53 = -tmpFD47;
const double tmpFD54 = -tmpFD48;
const double tmpFD55 = -tmpFD49;
const double tmpFD56 = -tmpFD50;
const double tmpFD57 = -tmpFD51;
const double tmpFD58 = -tmpFD52;
const double tmpFD59 = -3.0/8.0*lambdaU0;
const double tmpFD60 = -3.0/8.0*lambdaU1;
const double tmpFD61 = -3.0/8.0*lambdaU2;
const double tmpFD62 = (3.0/2.0)*lambdaU0;
const double tmpFD63 = (3.0/2.0)*lambdaU1;
const double tmpFD64 = (3.0/2.0)*lambdaU2;
const double tmpFD65 = -tmpFD62;
const double tmpFD66 = -tmpFD63;
const double tmpFD67 = -tmpFD64;
const double tmpFD68 = -3.0/8.0*trK;
const double tmpFD69 = (3.0/2.0)*trK;
const double tmpFD70 = -tmpFD69;
const double tmpFD71 = -2*vetU0;
const double tmpFD72 = -2*vetU1;
const double tmpFD73 = -2*vetU2;
const double tmpFD74 = -3.0/8.0*vetU0;
const double tmpFD75 = -3.0/8.0*vetU1;
const double tmpFD76 = -3.0/8.0*vetU2;
const double tmpFD77 = (3.0/2.0)*vetU0;
const double tmpFD78 = (3.0/2.0)*vetU1;
const double tmpFD79 = (3.0/2.0)*vetU2;
const double tmpFD80 = -tmpFD77;
const double tmpFD81 = -tmpFD78;
const double tmpFD82 = -tmpFD79;
const double aDD_dKOD000 = invdx0*((1.0/4.0)*aDD00_i0m1_i1_i2 - 1.0/16.0*aDD00_i0m2_i1_i2 + (1.0/4.0)*aDD00_i0p1_i1_i2 - 1.0/16.0*aDD00_i0p2_i1_i2 + tmpFD0);
const double aDD_dKOD001 = invdx1*((1.0/4.0)*aDD00_i0_i1m1_i2 - 1.0/16.0*aDD00_i0_i1m2_i2 + (1.0/4.0)*aDD00_i0_i1p1_i2 - 1.0/16.0*aDD00_i0_i1p2_i2 + tmpFD0);
const double aDD_dKOD002 = invdx2*((1.0/4.0)*aDD00_i0_i1_i2m1 - 1.0/16.0*aDD00_i0_i1_i2m2 + (1.0/4.0)*aDD00_i0_i1_i2p1 - 1.0/16.0*aDD00_i0_i1_i2p2 + tmpFD0);
const double aDD_dKOD010 = invdx0*((1.0/4.0)*aDD01_i0m1_i1_i2 - 1.0/16.0*aDD01_i0m2_i1_i2 + (1.0/4.0)*aDD01_i0p1_i1_i2 - 1.0/16.0*aDD01_i0p2_i1_i2 + tmpFD1);
const double aDD_dKOD011 = invdx1*((1.0/4.0)*aDD01_i0_i1m1_i2 - 1.0/16.0*aDD01_i0_i1m2_i2 + (1.0/4.0)*aDD01_i0_i1p1_i2 - 1.0/16.0*aDD01_i0_i1p2_i2 + tmpFD1);
const double aDD_dKOD012 = invdx2*((1.0/4.0)*aDD01_i0_i1_i2m1 - 1.0/16.0*aDD01_i0_i1_i2m2 + (1.0/4.0)*aDD01_i0_i1_i2p1 - 1.0/16.0*aDD01_i0_i1_i2p2 + tmpFD1);
const double aDD_dKOD020 = invdx0*((1.0/4.0)*aDD02_i0m1_i1_i2 - 1.0/16.0*aDD02_i0m2_i1_i2 + (1.0/4.0)*aDD02_i0p1_i1_i2 - 1.0/16.0*aDD02_i0p2_i1_i2 + tmpFD2);
const double aDD_dKOD021 = invdx1*((1.0/4.0)*aDD02_i0_i1m1_i2 - 1.0/16.0*aDD02_i0_i1m2_i2 + (1.0/4.0)*aDD02_i0_i1p1_i2 - 1.0/16.0*aDD02_i0_i1p2_i2 + tmpFD2);
const double aDD_dKOD022 = invdx2*((1.0/4.0)*aDD02_i0_i1_i2m1 - 1.0/16.0*aDD02_i0_i1_i2m2 + (1.0/4.0)*aDD02_i0_i1_i2p1 - 1.0/16.0*aDD02_i0_i1_i2p2 + tmpFD2);
const double aDD_dKOD110 = invdx0*((1.0/4.0)*aDD11_i0m1_i1_i2 - 1.0/16.0*aDD11_i0m2_i1_i2 + (1.0/4.0)*aDD11_i0p1_i1_i2 - 1.0/16.0*aDD11_i0p2_i1_i2 + tmpFD3);
const double aDD_dKOD111 = invdx1*((1.0/4.0)*aDD11_i0_i1m1_i2 - 1.0/16.0*aDD11_i0_i1m2_i2 + (1.0/4.0)*aDD11_i0_i1p1_i2 - 1.0/16.0*aDD11_i0_i1p2_i2 + tmpFD3);
const double aDD_dKOD112 = invdx2*((1.0/4.0)*aDD11_i0_i1_i2m1 - 1.0/16.0*aDD11_i0_i1_i2m2 + (1.0/4.0)*aDD11_i0_i1_i2p1 - 1.0/16.0*aDD11_i0_i1_i2p2 + tmpFD3);
const double aDD_dKOD120 = invdx0*((1.0/4.0)*aDD12_i0m1_i1_i2 - 1.0/16.0*aDD12_i0m2_i1_i2 + (1.0/4.0)*aDD12_i0p1_i1_i2 - 1.0/16.0*aDD12_i0p2_i1_i2 + tmpFD4);
const double aDD_dKOD121 = invdx1*((1.0/4.0)*aDD12_i0_i1m1_i2 - 1.0/16.0*aDD12_i0_i1m2_i2 + (1.0/4.0)*aDD12_i0_i1p1_i2 - 1.0/16.0*aDD12_i0_i1p2_i2 + tmpFD4);
const double aDD_dKOD122 = invdx2*((1.0/4.0)*aDD12_i0_i1_i2m1 - 1.0/16.0*aDD12_i0_i1_i2m2 + (1.0/4.0)*aDD12_i0_i1_i2p1 - 1.0/16.0*aDD12_i0_i1_i2p2 + tmpFD4);
const double aDD_dKOD220 = invdx0*((1.0/4.0)*aDD22_i0m1_i1_i2 - 1.0/16.0*aDD22_i0m2_i1_i2 + (1.0/4.0)*aDD22_i0p1_i1_i2 - 1.0/16.0*aDD22_i0p2_i1_i2 + tmpFD5);
const double aDD_dKOD221 = invdx1*((1.0/4.0)*aDD22_i0_i1m1_i2 - 1.0/16.0*aDD22_i0_i1m2_i2 + (1.0/4.0)*aDD22_i0_i1p1_i2 - 1.0/16.0*aDD22_i0_i1p2_i2 + tmpFD5);
const double aDD_dKOD222 = invdx2*((1.0/4.0)*aDD22_i0_i1_i2m1 - 1.0/16.0*aDD22_i0_i1_i2m2 + (1.0/4.0)*aDD22_i0_i1_i2p1 - 1.0/16.0*aDD22_i0_i1_i2p2 + tmpFD5);
const double UpwindAlgInputaDD_ddnD000 = invdx0*(-2*aDD00_i0m1_i1_i2 + (1.0/2.0)*aDD00_i0m2_i1_i2 + tmpFD6);
const double UpwindAlgInputaDD_ddnD001 = invdx1*(-2*aDD00_i0_i1m1_i2 + (1.0/2.0)*aDD00_i0_i1m2_i2 + tmpFD6);
const double UpwindAlgInputaDD_ddnD002 = invdx2*(-2*aDD00_i0_i1_i2m1 + (1.0/2.0)*aDD00_i0_i1_i2m2 + tmpFD6);
const double UpwindAlgInputaDD_ddnD010 = invdx0*(-2*aDD01_i0m1_i1_i2 + (1.0/2.0)*aDD01_i0m2_i1_i2 + tmpFD7);
const double UpwindAlgInputaDD_ddnD011 = invdx1*(-2*aDD01_i0_i1m1_i2 + (1.0/2.0)*aDD01_i0_i1m2_i2 + tmpFD7);
const double UpwindAlgInputaDD_ddnD012 = invdx2*(-2*aDD01_i0_i1_i2m1 + (1.0/2.0)*aDD01_i0_i1_i2m2 + tmpFD7);
const double UpwindAlgInputaDD_ddnD020 = invdx0*(-2*aDD02_i0m1_i1_i2 + (1.0/2.0)*aDD02_i0m2_i1_i2 + tmpFD8);
const double UpwindAlgInputaDD_ddnD021 = invdx1*(-2*aDD02_i0_i1m1_i2 + (1.0/2.0)*aDD02_i0_i1m2_i2 + tmpFD8);
const double UpwindAlgInputaDD_ddnD022 = invdx2*(-2*aDD02_i0_i1_i2m1 + (1.0/2.0)*aDD02_i0_i1_i2m2 + tmpFD8);
const double UpwindAlgInputaDD_ddnD110 = invdx0*(-2*aDD11_i0m1_i1_i2 + (1.0/2.0)*aDD11_i0m2_i1_i2 + tmpFD9);
const double UpwindAlgInputaDD_ddnD111 = invdx1*(-2*aDD11_i0_i1m1_i2 + (1.0/2.0)*aDD11_i0_i1m2_i2 + tmpFD9);
const double UpwindAlgInputaDD_ddnD112 = invdx2*(-2*aDD11_i0_i1_i2m1 + (1.0/2.0)*aDD11_i0_i1_i2m2 + tmpFD9);
const double UpwindAlgInputaDD_ddnD120 = invdx0*(-2*aDD12_i0m1_i1_i2 + (1.0/2.0)*aDD12_i0m2_i1_i2 + tmpFD10);
const double UpwindAlgInputaDD_ddnD121 = invdx1*(-2*aDD12_i0_i1m1_i2 + (1.0/2.0)*aDD12_i0_i1m2_i2 + tmpFD10);
const double UpwindAlgInputaDD_ddnD122 = invdx2*(-2*aDD12_i0_i1_i2m1 + (1.0/2.0)*aDD12_i0_i1_i2m2 + tmpFD10);
const double UpwindAlgInputaDD_ddnD220 = invdx0*(-2*aDD22_i0m1_i1_i2 + (1.0/2.0)*aDD22_i0m2_i1_i2 + tmpFD11);
const double UpwindAlgInputaDD_ddnD221 = invdx1*(-2*aDD22_i0_i1m1_i2 + (1.0/2.0)*aDD22_i0_i1m2_i2 + tmpFD11);
const double UpwindAlgInputaDD_ddnD222 = invdx2*(-2*aDD22_i0_i1_i2m1 + (1.0/2.0)*aDD22_i0_i1_i2m2 + tmpFD11);
const double UpwindAlgInputaDD_dupD000 = invdx0*(2*aDD00_i0p1_i1_i2 - 1.0/2.0*aDD00_i0p2_i1_i2 + tmpFD12);
const double UpwindAlgInputaDD_dupD001 = invdx1*(2*aDD00_i0_i1p1_i2 - 1.0/2.0*aDD00_i0_i1p2_i2 + tmpFD12);
const double UpwindAlgInputaDD_dupD002 = invdx2*(2*aDD00_i0_i1_i2p1 - 1.0/2.0*aDD00_i0_i1_i2p2 + tmpFD12);
const double UpwindAlgInputaDD_dupD010 = invdx0*(2*aDD01_i0p1_i1_i2 - 1.0/2.0*aDD01_i0p2_i1_i2 + tmpFD13);
const double UpwindAlgInputaDD_dupD011 = invdx1*(2*aDD01_i0_i1p1_i2 - 1.0/2.0*aDD01_i0_i1p2_i2 + tmpFD13);
const double UpwindAlgInputaDD_dupD012 = invdx2*(2*aDD01_i0_i1_i2p1 - 1.0/2.0*aDD01_i0_i1_i2p2 + tmpFD13);
const double UpwindAlgInputaDD_dupD020 = invdx0*(2*aDD02_i0p1_i1_i2 - 1.0/2.0*aDD02_i0p2_i1_i2 + tmpFD14);
const double UpwindAlgInputaDD_dupD021 = invdx1*(2*aDD02_i0_i1p1_i2 - 1.0/2.0*aDD02_i0_i1p2_i2 + tmpFD14);
const double UpwindAlgInputaDD_dupD022 = invdx2*(2*aDD02_i0_i1_i2p1 - 1.0/2.0*aDD02_i0_i1_i2p2 + tmpFD14);
const double UpwindAlgInputaDD_dupD110 = invdx0*(2*aDD11_i0p1_i1_i2 - 1.0/2.0*aDD11_i0p2_i1_i2 + tmpFD15);
const double UpwindAlgInputaDD_dupD111 = invdx1*(2*aDD11_i0_i1p1_i2 - 1.0/2.0*aDD11_i0_i1p2_i2 + tmpFD15);
const double UpwindAlgInputaDD_dupD112 = invdx2*(2*aDD11_i0_i1_i2p1 - 1.0/2.0*aDD11_i0_i1_i2p2 + tmpFD15);
const double UpwindAlgInputaDD_dupD120 = invdx0*(2*aDD12_i0p1_i1_i2 - 1.0/2.0*aDD12_i0p2_i1_i2 + tmpFD16);
const double UpwindAlgInputaDD_dupD121 = invdx1*(2*aDD12_i0_i1p1_i2 - 1.0/2.0*aDD12_i0_i1p2_i2 + tmpFD16);
const double UpwindAlgInputaDD_dupD122 = invdx2*(2*aDD12_i0_i1_i2p1 - 1.0/2.0*aDD12_i0_i1_i2p2 + tmpFD16);
const double UpwindAlgInputaDD_dupD220 = invdx0*(2*aDD22_i0p1_i1_i2 - 1.0/2.0*aDD22_i0p2_i1_i2 + tmpFD17);
const double UpwindAlgInputaDD_dupD221 = invdx1*(2*aDD22_i0_i1p1_i2 - 1.0/2.0*aDD22_i0_i1p2_i2 + tmpFD17);
const double UpwindAlgInputaDD_dupD222 = invdx2*(2*aDD22_i0_i1_i2p1 - 1.0/2.0*aDD22_i0_i1_i2p2 + tmpFD17);
const double alpha_dD0 = invdx0*(-1.0/2.0*alpha_i0m1_i1_i2 + (1.0/2.0)*alpha_i0p1_i1_i2);
const double alpha_dD1 = invdx1*(-1.0/2.0*alpha_i0_i1m1_i2 + (1.0/2.0)*alpha_i0_i1p1_i2);
const double alpha_dD2 = invdx2*(-1.0/2.0*alpha_i0_i1_i2m1 + (1.0/2.0)*alpha_i0_i1_i2p1);
const double alpha_dDD00 = tmpFD18*(alpha_i0m1_i1_i2 + alpha_i0p1_i1_i2 + tmpFD19);
const double alpha_dDD01 = tmpFD20*((1.0/4.0)*alpha_i0m1_i1m1_i2 - 1.0/4.0*alpha_i0m1_i1p1_i2 - 1.0/4.0*alpha_i0p1_i1m1_i2 + (1.0/4.0)*alpha_i0p1_i1p1_i2);
const double alpha_dDD02 = tmpFD21*((1.0/4.0)*alpha_i0m1_i1_i2m1 - 1.0/4.0*alpha_i0m1_i1_i2p1 - 1.0/4.0*alpha_i0p1_i1_i2m1 + (1.0/4.0)*alpha_i0p1_i1_i2p1);
const double alpha_dDD11 = tmpFD22*(alpha_i0_i1m1_i2 + alpha_i0_i1p1_i2 + tmpFD19);
const double alpha_dDD12 = tmpFD23*((1.0/4.0)*alpha_i0_i1m1_i2m1 - 1.0/4.0*alpha_i0_i1m1_i2p1 - 1.0/4.0*alpha_i0_i1p1_i2m1 + (1.0/4.0)*alpha_i0_i1p1_i2p1);
const double alpha_dDD22 = tmpFD24*(alpha_i0_i1_i2m1 + alpha_i0_i1_i2p1 + tmpFD19);
const double alpha_dKOD0 = invdx0*((1.0/4.0)*alpha_i0m1_i1_i2 - 1.0/16.0*alpha_i0m2_i1_i2 + (1.0/4.0)*alpha_i0p1_i1_i2 - 1.0/16.0*alpha_i0p2_i1_i2 + tmpFD25);
const double alpha_dKOD1 = invdx1*((1.0/4.0)*alpha_i0_i1m1_i2 - 1.0/16.0*alpha_i0_i1m2_i2 + (1.0/4.0)*alpha_i0_i1p1_i2 - 1.0/16.0*alpha_i0_i1p2_i2 + tmpFD25);
const double alpha_dKOD2 = invdx2*((1.0/4.0)*alpha_i0_i1_i2m1 - 1.0/16.0*alpha_i0_i1_i2m2 + (1.0/4.0)*alpha_i0_i1_i2p1 - 1.0/16.0*alpha_i0_i1_i2p2 + tmpFD25);
const double UpwindAlgInputalpha_ddnD0 = invdx0*(-2*alpha_i0m1_i1_i2 + (1.0/2.0)*alpha_i0m2_i1_i2 + tmpFD26);
const double UpwindAlgInputalpha_ddnD1 = invdx1*(-2*alpha_i0_i1m1_i2 + (1.0/2.0)*alpha_i0_i1m2_i2 + tmpFD26);
const double UpwindAlgInputalpha_ddnD2 = invdx2*(-2*alpha_i0_i1_i2m1 + (1.0/2.0)*alpha_i0_i1_i2m2 + tmpFD26);
const double UpwindAlgInputalpha_dupD0 = invdx0*(2*alpha_i0p1_i1_i2 - 1.0/2.0*alpha_i0p2_i1_i2 + tmpFD27);
const double UpwindAlgInputalpha_dupD1 = invdx1*(2*alpha_i0_i1p1_i2 - 1.0/2.0*alpha_i0_i1p2_i2 + tmpFD27);
const double UpwindAlgInputalpha_dupD2 = invdx2*(2*alpha_i0_i1_i2p1 - 1.0/2.0*alpha_i0_i1_i2p2 + tmpFD27);
const double betU_dKOD00 = invdx0*((1.0/4.0)*betU0_i0m1_i1_i2 - 1.0/16.0*betU0_i0m2_i1_i2 + (1.0/4.0)*betU0_i0p1_i1_i2 - 1.0/16.0*betU0_i0p2_i1_i2 + tmpFD28);
const double betU_dKOD01 = invdx1*((1.0/4.0)*betU0_i0_i1m1_i2 - 1.0/16.0*betU0_i0_i1m2_i2 + (1.0/4.0)*betU0_i0_i1p1_i2 - 1.0/16.0*betU0_i0_i1p2_i2 + tmpFD28);
const double betU_dKOD02 = invdx2*((1.0/4.0)*betU0_i0_i1_i2m1 - 1.0/16.0*betU0_i0_i1_i2m2 + (1.0/4.0)*betU0_i0_i1_i2p1 - 1.0/16.0*betU0_i0_i1_i2p2 + tmpFD28);
const double betU_dKOD10 = invdx0*((1.0/4.0)*betU1_i0m1_i1_i2 - 1.0/16.0*betU1_i0m2_i1_i2 + (1.0/4.0)*betU1_i0p1_i1_i2 - 1.0/16.0*betU1_i0p2_i1_i2 + tmpFD29);
const double betU_dKOD11 = invdx1*((1.0/4.0)*betU1_i0_i1m1_i2 - 1.0/16.0*betU1_i0_i1m2_i2 + (1.0/4.0)*betU1_i0_i1p1_i2 - 1.0/16.0*betU1_i0_i1p2_i2 + tmpFD29);
const double betU_dKOD12 = invdx2*((1.0/4.0)*betU1_i0_i1_i2m1 - 1.0/16.0*betU1_i0_i1_i2m2 + (1.0/4.0)*betU1_i0_i1_i2p1 - 1.0/16.0*betU1_i0_i1_i2p2 + tmpFD29);
const double betU_dKOD20 = invdx0*((1.0/4.0)*betU2_i0m1_i1_i2 - 1.0/16.0*betU2_i0m2_i1_i2 + (1.0/4.0)*betU2_i0p1_i1_i2 - 1.0/16.0*betU2_i0p2_i1_i2 + tmpFD30);
const double betU_dKOD21 = invdx1*((1.0/4.0)*betU2_i0_i1m1_i2 - 1.0/16.0*betU2_i0_i1m2_i2 + (1.0/4.0)*betU2_i0_i1p1_i2 - 1.0/16.0*betU2_i0_i1p2_i2 + tmpFD30);
const double betU_dKOD22 = invdx2*((1.0/4.0)*betU2_i0_i1_i2m1 - 1.0/16.0*betU2_i0_i1_i2m2 + (1.0/4.0)*betU2_i0_i1_i2p1 - 1.0/16.0*betU2_i0_i1_i2p2 + tmpFD30);
const double UpwindAlgInputbetU_ddnD00 = invdx0*(-2*betU0_i0m1_i1_i2 + (1.0/2.0)*betU0_i0m2_i1_i2 + tmpFD31);
const double UpwindAlgInputbetU_ddnD01 = invdx1*(-2*betU0_i0_i1m1_i2 + (1.0/2.0)*betU0_i0_i1m2_i2 + tmpFD31);
const double UpwindAlgInputbetU_ddnD02 = invdx2*(-2*betU0_i0_i1_i2m1 + (1.0/2.0)*betU0_i0_i1_i2m2 + tmpFD31);
const double UpwindAlgInputbetU_ddnD10 = invdx0*(-2*betU1_i0m1_i1_i2 + (1.0/2.0)*betU1_i0m2_i1_i2 + tmpFD32);
const double UpwindAlgInputbetU_ddnD11 = invdx1*(-2*betU1_i0_i1m1_i2 + (1.0/2.0)*betU1_i0_i1m2_i2 + tmpFD32);
const double UpwindAlgInputbetU_ddnD12 = invdx2*(-2*betU1_i0_i1_i2m1 + (1.0/2.0)*betU1_i0_i1_i2m2 + tmpFD32);
const double UpwindAlgInputbetU_ddnD20 = invdx0*(-2*betU2_i0m1_i1_i2 + (1.0/2.0)*betU2_i0m2_i1_i2 + tmpFD33);
const double UpwindAlgInputbetU_ddnD21 = invdx1*(-2*betU2_i0_i1m1_i2 + (1.0/2.0)*betU2_i0_i1m2_i2 + tmpFD33);
const double UpwindAlgInputbetU_ddnD22 = invdx2*(-2*betU2_i0_i1_i2m1 + (1.0/2.0)*betU2_i0_i1_i2m2 + tmpFD33);
const double UpwindAlgInputbetU_dupD00 = invdx0*(2*betU0_i0p1_i1_i2 - 1.0/2.0*betU0_i0p2_i1_i2 + tmpFD34);
const double UpwindAlgInputbetU_dupD01 = invdx1*(2*betU0_i0_i1p1_i2 - 1.0/2.0*betU0_i0_i1p2_i2 + tmpFD34);
const double UpwindAlgInputbetU_dupD02 = invdx2*(2*betU0_i0_i1_i2p1 - 1.0/2.0*betU0_i0_i1_i2p2 + tmpFD34);
const double UpwindAlgInputbetU_dupD10 = invdx0*(2*betU1_i0p1_i1_i2 - 1.0/2.0*betU1_i0p2_i1_i2 + tmpFD35);
const double UpwindAlgInputbetU_dupD11 = invdx1*(2*betU1_i0_i1p1_i2 - 1.0/2.0*betU1_i0_i1p2_i2 + tmpFD35);
const double UpwindAlgInputbetU_dupD12 = invdx2*(2*betU1_i0_i1_i2p1 - 1.0/2.0*betU1_i0_i1_i2p2 + tmpFD35);
const double UpwindAlgInputbetU_dupD20 = invdx0*(2*betU2_i0p1_i1_i2 - 1.0/2.0*betU2_i0p2_i1_i2 + tmpFD36);
const double UpwindAlgInputbetU_dupD21 = invdx1*(2*betU2_i0_i1p1_i2 - 1.0/2.0*betU2_i0_i1p2_i2 + tmpFD36);
const double UpwindAlgInputbetU_dupD22 = invdx2*(2*betU2_i0_i1_i2p1 - 1.0/2.0*betU2_i0_i1_i2p2 + tmpFD36);
const double cf_dD0 = invdx0*(-1.0/2.0*cf_i0m1_i1_i2 + (1.0/2.0)*cf_i0p1_i1_i2);
const double cf_dD1 = invdx1*(-1.0/2.0*cf_i0_i1m1_i2 + (1.0/2.0)*cf_i0_i1p1_i2);
const double cf_dD2 = invdx2*(-1.0/2.0*cf_i0_i1_i2m1 + (1.0/2.0)*cf_i0_i1_i2p1);
const double cf_dDD00 = tmpFD18*(cf_i0m1_i1_i2 + cf_i0p1_i1_i2 + tmpFD37);
const double cf_dDD01 = tmpFD20*((1.0/4.0)*cf_i0m1_i1m1_i2 - 1.0/4.0*cf_i0m1_i1p1_i2 - 1.0/4.0*cf_i0p1_i1m1_i2 + (1.0/4.0)*cf_i0p1_i1p1_i2);
const double cf_dDD02 = tmpFD21*((1.0/4.0)*cf_i0m1_i1_i2m1 - 1.0/4.0*cf_i0m1_i1_i2p1 - 1.0/4.0*cf_i0p1_i1_i2m1 + (1.0/4.0)*cf_i0p1_i1_i2p1);
const double cf_dDD11 = tmpFD22*(cf_i0_i1m1_i2 + cf_i0_i1p1_i2 + tmpFD37);
const double cf_dDD12 = tmpFD23*((1.0/4.0)*cf_i0_i1m1_i2m1 - 1.0/4.0*cf_i0_i1m1_i2p1 - 1.0/4.0*cf_i0_i1p1_i2m1 + (1.0/4.0)*cf_i0_i1p1_i2p1);
const double cf_dDD22 = tmpFD24*(cf_i0_i1_i2m1 + cf_i0_i1_i2p1 + tmpFD37);
const double cf_dKOD0 = invdx0*((1.0/4.0)*cf_i0m1_i1_i2 - 1.0/16.0*cf_i0m2_i1_i2 + (1.0/4.0)*cf_i0p1_i1_i2 - 1.0/16.0*cf_i0p2_i1_i2 + tmpFD38);
const double cf_dKOD1 = invdx1*((1.0/4.0)*cf_i0_i1m1_i2 - 1.0/16.0*cf_i0_i1m2_i2 + (1.0/4.0)*cf_i0_i1p1_i2 - 1.0/16.0*cf_i0_i1p2_i2 + tmpFD38);
const double cf_dKOD2 = invdx2*((1.0/4.0)*cf_i0_i1_i2m1 - 1.0/16.0*cf_i0_i1_i2m2 + (1.0/4.0)*cf_i0_i1_i2p1 - 1.0/16.0*cf_i0_i1_i2p2 + tmpFD38);
const double UpwindAlgInputcf_ddnD0 = invdx0*(-2*cf_i0m1_i1_i2 + (1.0/2.0)*cf_i0m2_i1_i2 + tmpFD39);
const double UpwindAlgInputcf_ddnD1 = invdx1*(-2*cf_i0_i1m1_i2 + (1.0/2.0)*cf_i0_i1m2_i2 + tmpFD39);
const double UpwindAlgInputcf_ddnD2 = invdx2*(-2*cf_i0_i1_i2m1 + (1.0/2.0)*cf_i0_i1_i2m2 + tmpFD39);
const double UpwindAlgInputcf_dupD0 = invdx0*(2*cf_i0p1_i1_i2 - 1.0/2.0*cf_i0p2_i1_i2 + tmpFD40);
const double UpwindAlgInputcf_dupD1 = invdx1*(2*cf_i0_i1p1_i2 - 1.0/2.0*cf_i0_i1p2_i2 + tmpFD40);
const double UpwindAlgInputcf_dupD2 = invdx2*(2*cf_i0_i1_i2p1 - 1.0/2.0*cf_i0_i1_i2p2 + tmpFD40);
const double hDD_dD000 = invdx0*(-1.0/2.0*hDD00_i0m1_i1_i2 + (1.0/2.0)*hDD00_i0p1_i1_i2);
const double hDD_dD001 = invdx1*(-1.0/2.0*hDD00_i0_i1m1_i2 + (1.0/2.0)*hDD00_i0_i1p1_i2);
const double hDD_dD002 = invdx2*(-1.0/2.0*hDD00_i0_i1_i2m1 + (1.0/2.0)*hDD00_i0_i1_i2p1);
const double hDD_dD010 = invdx0*(-1.0/2.0*hDD01_i0m1_i1_i2 + (1.0/2.0)*hDD01_i0p1_i1_i2);
const double hDD_dD011 = invdx1*(-1.0/2.0*hDD01_i0_i1m1_i2 + (1.0/2.0)*hDD01_i0_i1p1_i2);
const double hDD_dD012 = invdx2*(-1.0/2.0*hDD01_i0_i1_i2m1 + (1.0/2.0)*hDD01_i0_i1_i2p1);
const double hDD_dD020 = invdx0*(-1.0/2.0*hDD02_i0m1_i1_i2 + (1.0/2.0)*hDD02_i0p1_i1_i2);
const double hDD_dD021 = invdx1*(-1.0/2.0*hDD02_i0_i1m1_i2 + (1.0/2.0)*hDD02_i0_i1p1_i2);
const double hDD_dD022 = invdx2*(-1.0/2.0*hDD02_i0_i1_i2m1 + (1.0/2.0)*hDD02_i0_i1_i2p1);
const double hDD_dD110 = invdx0*(-1.0/2.0*hDD11_i0m1_i1_i2 + (1.0/2.0)*hDD11_i0p1_i1_i2);
const double hDD_dD111 = invdx1*(-1.0/2.0*hDD11_i0_i1m1_i2 + (1.0/2.0)*hDD11_i0_i1p1_i2);
const double hDD_dD112 = invdx2*(-1.0/2.0*hDD11_i0_i1_i2m1 + (1.0/2.0)*hDD11_i0_i1_i2p1);
const double hDD_dD120 = invdx0*(-1.0/2.0*hDD12_i0m1_i1_i2 + (1.0/2.0)*hDD12_i0p1_i1_i2);
const double hDD_dD121 = invdx1*(-1.0/2.0*hDD12_i0_i1m1_i2 + (1.0/2.0)*hDD12_i0_i1p1_i2);
const double hDD_dD122 = invdx2*(-1.0/2.0*hDD12_i0_i1_i2m1 + (1.0/2.0)*hDD12_i0_i1_i2p1);
const double hDD_dD220 = invdx0*(-1.0/2.0*hDD22_i0m1_i1_i2 + (1.0/2.0)*hDD22_i0p1_i1_i2);
const double hDD_dD221 = invdx1*(-1.0/2.0*hDD22_i0_i1m1_i2 + (1.0/2.0)*hDD22_i0_i1p1_i2);
const double hDD_dD222 = invdx2*(-1.0/2.0*hDD22_i0_i1_i2m1 + (1.0/2.0)*hDD22_i0_i1_i2p1);
const double hDD_dKOD000 = invdx0*((1.0/4.0)*hDD00_i0m1_i1_i2 - 1.0/16.0*hDD00_i0m2_i1_i2 + (1.0/4.0)*hDD00_i0p1_i1_i2 - 1.0/16.0*hDD00_i0p2_i1_i2 + tmpFD41);
const double hDD_dKOD001 = invdx1*((1.0/4.0)*hDD00_i0_i1m1_i2 - 1.0/16.0*hDD00_i0_i1m2_i2 + (1.0/4.0)*hDD00_i0_i1p1_i2 - 1.0/16.0*hDD00_i0_i1p2_i2 + tmpFD41);
const double hDD_dKOD002 = invdx2*((1.0/4.0)*hDD00_i0_i1_i2m1 - 1.0/16.0*hDD00_i0_i1_i2m2 + (1.0/4.0)*hDD00_i0_i1_i2p1 - 1.0/16.0*hDD00_i0_i1_i2p2 + tmpFD41);
const double hDD_dKOD010 = invdx0*((1.0/4.0)*hDD01_i0m1_i1_i2 - 1.0/16.0*hDD01_i0m2_i1_i2 + (1.0/4.0)*hDD01_i0p1_i1_i2 - 1.0/16.0*hDD01_i0p2_i1_i2 + tmpFD42);
const double hDD_dKOD011 = invdx1*((1.0/4.0)*hDD01_i0_i1m1_i2 - 1.0/16.0*hDD01_i0_i1m2_i2 + (1.0/4.0)*hDD01_i0_i1p1_i2 - 1.0/16.0*hDD01_i0_i1p2_i2 + tmpFD42);
const double hDD_dKOD012 = invdx2*((1.0/4.0)*hDD01_i0_i1_i2m1 - 1.0/16.0*hDD01_i0_i1_i2m2 + (1.0/4.0)*hDD01_i0_i1_i2p1 - 1.0/16.0*hDD01_i0_i1_i2p2 + tmpFD42);
const double hDD_dKOD020 = invdx0*((1.0/4.0)*hDD02_i0m1_i1_i2 - 1.0/16.0*hDD02_i0m2_i1_i2 + (1.0/4.0)*hDD02_i0p1_i1_i2 - 1.0/16.0*hDD02_i0p2_i1_i2 + tmpFD43);
const double hDD_dKOD021 = invdx1*((1.0/4.0)*hDD02_i0_i1m1_i2 - 1.0/16.0*hDD02_i0_i1m2_i2 + (1.0/4.0)*hDD02_i0_i1p1_i2 - 1.0/16.0*hDD02_i0_i1p2_i2 + tmpFD43);
const double hDD_dKOD022 = invdx2*((1.0/4.0)*hDD02_i0_i1_i2m1 - 1.0/16.0*hDD02_i0_i1_i2m2 + (1.0/4.0)*hDD02_i0_i1_i2p1 - 1.0/16.0*hDD02_i0_i1_i2p2 + tmpFD43);
const double hDD_dKOD110 = invdx0*((1.0/4.0)*hDD11_i0m1_i1_i2 - 1.0/16.0*hDD11_i0m2_i1_i2 + (1.0/4.0)*hDD11_i0p1_i1_i2 - 1.0/16.0*hDD11_i0p2_i1_i2 + tmpFD44);
const double hDD_dKOD111 = invdx1*((1.0/4.0)*hDD11_i0_i1m1_i2 - 1.0/16.0*hDD11_i0_i1m2_i2 + (1.0/4.0)*hDD11_i0_i1p1_i2 - 1.0/16.0*hDD11_i0_i1p2_i2 + tmpFD44);
const double hDD_dKOD112 = invdx2*((1.0/4.0)*hDD11_i0_i1_i2m1 - 1.0/16.0*hDD11_i0_i1_i2m2 + (1.0/4.0)*hDD11_i0_i1_i2p1 - 1.0/16.0*hDD11_i0_i1_i2p2 + tmpFD44);
const double hDD_dKOD120 = invdx0*((1.0/4.0)*hDD12_i0m1_i1_i2 - 1.0/16.0*hDD12_i0m2_i1_i2 + (1.0/4.0)*hDD12_i0p1_i1_i2 - 1.0/16.0*hDD12_i0p2_i1_i2 + tmpFD45);
const double hDD_dKOD121 = invdx1*((1.0/4.0)*hDD12_i0_i1m1_i2 - 1.0/16.0*hDD12_i0_i1m2_i2 + (1.0/4.0)*hDD12_i0_i1p1_i2 - 1.0/16.0*hDD12_i0_i1p2_i2 + tmpFD45);
const double hDD_dKOD122 = invdx2*((1.0/4.0)*hDD12_i0_i1_i2m1 - 1.0/16.0*hDD12_i0_i1_i2m2 + (1.0/4.0)*hDD12_i0_i1_i2p1 - 1.0/16.0*hDD12_i0_i1_i2p2 + tmpFD45);
const double hDD_dKOD220 = invdx0*((1.0/4.0)*hDD22_i0m1_i1_i2 - 1.0/16.0*hDD22_i0m2_i1_i2 + (1.0/4.0)*hDD22_i0p1_i1_i2 - 1.0/16.0*hDD22_i0p2_i1_i2 + tmpFD46);
const double hDD_dKOD221 = invdx1*((1.0/4.0)*hDD22_i0_i1m1_i2 - 1.0/16.0*hDD22_i0_i1m2_i2 + (1.0/4.0)*hDD22_i0_i1p1_i2 - 1.0/16.0*hDD22_i0_i1p2_i2 + tmpFD46);
const double hDD_dKOD222 = invdx2*((1.0/4.0)*hDD22_i0_i1_i2m1 - 1.0/16.0*hDD22_i0_i1_i2m2 + (1.0/4.0)*hDD22_i0_i1_i2p1 - 1.0/16.0*hDD22_i0_i1_i2p2 + tmpFD46);
const double UpwindAlgInputhDD_ddnD000 = invdx0*(-2*hDD00_i0m1_i1_i2 + (1.0/2.0)*hDD00_i0m2_i1_i2 + tmpFD47);
const double UpwindAlgInputhDD_ddnD001 = invdx1*(-2*hDD00_i0_i1m1_i2 + (1.0/2.0)*hDD00_i0_i1m2_i2 + tmpFD47);
const double UpwindAlgInputhDD_ddnD002 = invdx2*(-2*hDD00_i0_i1_i2m1 + (1.0/2.0)*hDD00_i0_i1_i2m2 + tmpFD47);
const double UpwindAlgInputhDD_ddnD010 = invdx0*(-2*hDD01_i0m1_i1_i2 + (1.0/2.0)*hDD01_i0m2_i1_i2 + tmpFD48);
const double UpwindAlgInputhDD_ddnD011 = invdx1*(-2*hDD01_i0_i1m1_i2 + (1.0/2.0)*hDD01_i0_i1m2_i2 + tmpFD48);
const double UpwindAlgInputhDD_ddnD012 = invdx2*(-2*hDD01_i0_i1_i2m1 + (1.0/2.0)*hDD01_i0_i1_i2m2 + tmpFD48);
const double UpwindAlgInputhDD_ddnD020 = invdx0*(-2*hDD02_i0m1_i1_i2 + (1.0/2.0)*hDD02_i0m2_i1_i2 + tmpFD49);
const double UpwindAlgInputhDD_ddnD021 = invdx1*(-2*hDD02_i0_i1m1_i2 + (1.0/2.0)*hDD02_i0_i1m2_i2 + tmpFD49);
const double UpwindAlgInputhDD_ddnD022 = invdx2*(-2*hDD02_i0_i1_i2m1 + (1.0/2.0)*hDD02_i0_i1_i2m2 + tmpFD49);
const double UpwindAlgInputhDD_ddnD110 = invdx0*(-2*hDD11_i0m1_i1_i2 + (1.0/2.0)*hDD11_i0m2_i1_i2 + tmpFD50);
const double UpwindAlgInputhDD_ddnD111 = invdx1*(-2*hDD11_i0_i1m1_i2 + (1.0/2.0)*hDD11_i0_i1m2_i2 + tmpFD50);
const double UpwindAlgInputhDD_ddnD112 = invdx2*(-2*hDD11_i0_i1_i2m1 + (1.0/2.0)*hDD11_i0_i1_i2m2 + tmpFD50);
const double UpwindAlgInputhDD_ddnD120 = invdx0*(-2*hDD12_i0m1_i1_i2 + (1.0/2.0)*hDD12_i0m2_i1_i2 + tmpFD51);
const double UpwindAlgInputhDD_ddnD121 = invdx1*(-2*hDD12_i0_i1m1_i2 + (1.0/2.0)*hDD12_i0_i1m2_i2 + tmpFD51);
const double UpwindAlgInputhDD_ddnD122 = invdx2*(-2*hDD12_i0_i1_i2m1 + (1.0/2.0)*hDD12_i0_i1_i2m2 + tmpFD51);
const double UpwindAlgInputhDD_ddnD220 = invdx0*(-2*hDD22_i0m1_i1_i2 + (1.0/2.0)*hDD22_i0m2_i1_i2 + tmpFD52);
const double UpwindAlgInputhDD_ddnD221 = invdx1*(-2*hDD22_i0_i1m1_i2 + (1.0/2.0)*hDD22_i0_i1m2_i2 + tmpFD52);
const double UpwindAlgInputhDD_ddnD222 = invdx2*(-2*hDD22_i0_i1_i2m1 + (1.0/2.0)*hDD22_i0_i1_i2m2 + tmpFD52);
const double UpwindAlgInputhDD_dupD000 = invdx0*(2*hDD00_i0p1_i1_i2 - 1.0/2.0*hDD00_i0p2_i1_i2 + tmpFD53);
const double UpwindAlgInputhDD_dupD001 = invdx1*(2*hDD00_i0_i1p1_i2 - 1.0/2.0*hDD00_i0_i1p2_i2 + tmpFD53);
const double UpwindAlgInputhDD_dupD002 = invdx2*(2*hDD00_i0_i1_i2p1 - 1.0/2.0*hDD00_i0_i1_i2p2 + tmpFD53);
const double UpwindAlgInputhDD_dupD010 = invdx0*(2*hDD01_i0p1_i1_i2 - 1.0/2.0*hDD01_i0p2_i1_i2 + tmpFD54);
const double UpwindAlgInputhDD_dupD011 = invdx1*(2*hDD01_i0_i1p1_i2 - 1.0/2.0*hDD01_i0_i1p2_i2 + tmpFD54);
const double UpwindAlgInputhDD_dupD012 = invdx2*(2*hDD01_i0_i1_i2p1 - 1.0/2.0*hDD01_i0_i1_i2p2 + tmpFD54);
const double UpwindAlgInputhDD_dupD020 = invdx0*(2*hDD02_i0p1_i1_i2 - 1.0/2.0*hDD02_i0p2_i1_i2 + tmpFD55);
const double UpwindAlgInputhDD_dupD021 = invdx1*(2*hDD02_i0_i1p1_i2 - 1.0/2.0*hDD02_i0_i1p2_i2 + tmpFD55);
const double UpwindAlgInputhDD_dupD022 = invdx2*(2*hDD02_i0_i1_i2p1 - 1.0/2.0*hDD02_i0_i1_i2p2 + tmpFD55);
const double UpwindAlgInputhDD_dupD110 = invdx0*(2*hDD11_i0p1_i1_i2 - 1.0/2.0*hDD11_i0p2_i1_i2 + tmpFD56);
const double UpwindAlgInputhDD_dupD111 = invdx1*(2*hDD11_i0_i1p1_i2 - 1.0/2.0*hDD11_i0_i1p2_i2 + tmpFD56);
const double UpwindAlgInputhDD_dupD112 = invdx2*(2*hDD11_i0_i1_i2p1 - 1.0/2.0*hDD11_i0_i1_i2p2 + tmpFD56);
const double UpwindAlgInputhDD_dupD120 = invdx0*(2*hDD12_i0p1_i1_i2 - 1.0/2.0*hDD12_i0p2_i1_i2 + tmpFD57);
const double UpwindAlgInputhDD_dupD121 = invdx1*(2*hDD12_i0_i1p1_i2 - 1.0/2.0*hDD12_i0_i1p2_i2 + tmpFD57);
const double UpwindAlgInputhDD_dupD122 = invdx2*(2*hDD12_i0_i1_i2p1 - 1.0/2.0*hDD12_i0_i1_i2p2 + tmpFD57);
const double UpwindAlgInputhDD_dupD220 = invdx0*(2*hDD22_i0p1_i1_i2 - 1.0/2.0*hDD22_i0p2_i1_i2 + tmpFD58);
const double UpwindAlgInputhDD_dupD221 = invdx1*(2*hDD22_i0_i1p1_i2 - 1.0/2.0*hDD22_i0_i1p2_i2 + tmpFD58);
const double UpwindAlgInputhDD_dupD222 = invdx2*(2*hDD22_i0_i1_i2p1 - 1.0/2.0*hDD22_i0_i1_i2p2 + tmpFD58);
const double lambdaU_dKOD00 = invdx0*((1.0/4.0)*lambdaU0_i0m1_i1_i2 - 1.0/16.0*lambdaU0_i0m2_i1_i2 + (1.0/4.0)*lambdaU0_i0p1_i1_i2 - 1.0/16.0*lambdaU0_i0p2_i1_i2 + tmpFD59);
const double lambdaU_dKOD01 = invdx1*((1.0/4.0)*lambdaU0_i0_i1m1_i2 - 1.0/16.0*lambdaU0_i0_i1m2_i2 + (1.0/4.0)*lambdaU0_i0_i1p1_i2 - 1.0/16.0*lambdaU0_i0_i1p2_i2 + tmpFD59);
const double lambdaU_dKOD02 = invdx2*((1.0/4.0)*lambdaU0_i0_i1_i2m1 - 1.0/16.0*lambdaU0_i0_i1_i2m2 + (1.0/4.0)*lambdaU0_i0_i1_i2p1 - 1.0/16.0*lambdaU0_i0_i1_i2p2 + tmpFD59);
const double lambdaU_dKOD10 = invdx0*((1.0/4.0)*lambdaU1_i0m1_i1_i2 - 1.0/16.0*lambdaU1_i0m2_i1_i2 + (1.0/4.0)*lambdaU1_i0p1_i1_i2 - 1.0/16.0*lambdaU1_i0p2_i1_i2 + tmpFD60);
const double lambdaU_dKOD11 = invdx1*((1.0/4.0)*lambdaU1_i0_i1m1_i2 - 1.0/16.0*lambdaU1_i0_i1m2_i2 + (1.0/4.0)*lambdaU1_i0_i1p1_i2 - 1.0/16.0*lambdaU1_i0_i1p2_i2 + tmpFD60);
const double lambdaU_dKOD12 = invdx2*((1.0/4.0)*lambdaU1_i0_i1_i2m1 - 1.0/16.0*lambdaU1_i0_i1_i2m2 + (1.0/4.0)*lambdaU1_i0_i1_i2p1 - 1.0/16.0*lambdaU1_i0_i1_i2p2 + tmpFD60);
const double lambdaU_dKOD20 = invdx0*((1.0/4.0)*lambdaU2_i0m1_i1_i2 - 1.0/16.0*lambdaU2_i0m2_i1_i2 + (1.0/4.0)*lambdaU2_i0p1_i1_i2 - 1.0/16.0*lambdaU2_i0p2_i1_i2 + tmpFD61);
const double lambdaU_dKOD21 = invdx1*((1.0/4.0)*lambdaU2_i0_i1m1_i2 - 1.0/16.0*lambdaU2_i0_i1m2_i2 + (1.0/4.0)*lambdaU2_i0_i1p1_i2 - 1.0/16.0*lambdaU2_i0_i1p2_i2 + tmpFD61);
const double lambdaU_dKOD22 = invdx2*((1.0/4.0)*lambdaU2_i0_i1_i2m1 - 1.0/16.0*lambdaU2_i0_i1_i2m2 + (1.0/4.0)*lambdaU2_i0_i1_i2p1 - 1.0/16.0*lambdaU2_i0_i1_i2p2 + tmpFD61);
const double UpwindAlgInputlambdaU_ddnD00 = invdx0*(-2*lambdaU0_i0m1_i1_i2 + (1.0/2.0)*lambdaU0_i0m2_i1_i2 + tmpFD62);
const double UpwindAlgInputlambdaU_ddnD01 = invdx1*(-2*lambdaU0_i0_i1m1_i2 + (1.0/2.0)*lambdaU0_i0_i1m2_i2 + tmpFD62);
const double UpwindAlgInputlambdaU_ddnD02 = invdx2*(-2*lambdaU0_i0_i1_i2m1 + (1.0/2.0)*lambdaU0_i0_i1_i2m2 + tmpFD62);
const double UpwindAlgInputlambdaU_ddnD10 = invdx0*(-2*lambdaU1_i0m1_i1_i2 + (1.0/2.0)*lambdaU1_i0m2_i1_i2 + tmpFD63);
const double UpwindAlgInputlambdaU_ddnD11 = invdx1*(-2*lambdaU1_i0_i1m1_i2 + (1.0/2.0)*lambdaU1_i0_i1m2_i2 + tmpFD63);
const double UpwindAlgInputlambdaU_ddnD12 = invdx2*(-2*lambdaU1_i0_i1_i2m1 + (1.0/2.0)*lambdaU1_i0_i1_i2m2 + tmpFD63);
const double UpwindAlgInputlambdaU_ddnD20 = invdx0*(-2*lambdaU2_i0m1_i1_i2 + (1.0/2.0)*lambdaU2_i0m2_i1_i2 + tmpFD64);
const double UpwindAlgInputlambdaU_ddnD21 = invdx1*(-2*lambdaU2_i0_i1m1_i2 + (1.0/2.0)*lambdaU2_i0_i1m2_i2 + tmpFD64);
const double UpwindAlgInputlambdaU_ddnD22 = invdx2*(-2*lambdaU2_i0_i1_i2m1 + (1.0/2.0)*lambdaU2_i0_i1_i2m2 + tmpFD64);
const double UpwindAlgInputlambdaU_dupD00 = invdx0*(2*lambdaU0_i0p1_i1_i2 - 1.0/2.0*lambdaU0_i0p2_i1_i2 + tmpFD65);
const double UpwindAlgInputlambdaU_dupD01 = invdx1*(2*lambdaU0_i0_i1p1_i2 - 1.0/2.0*lambdaU0_i0_i1p2_i2 + tmpFD65);
const double UpwindAlgInputlambdaU_dupD02 = invdx2*(2*lambdaU0_i0_i1_i2p1 - 1.0/2.0*lambdaU0_i0_i1_i2p2 + tmpFD65);
const double UpwindAlgInputlambdaU_dupD10 = invdx0*(2*lambdaU1_i0p1_i1_i2 - 1.0/2.0*lambdaU1_i0p2_i1_i2 + tmpFD66);
const double UpwindAlgInputlambdaU_dupD11 = invdx1*(2*lambdaU1_i0_i1p1_i2 - 1.0/2.0*lambdaU1_i0_i1p2_i2 + tmpFD66);
const double UpwindAlgInputlambdaU_dupD12 = invdx2*(2*lambdaU1_i0_i1_i2p1 - 1.0/2.0*lambdaU1_i0_i1_i2p2 + tmpFD66);
const double UpwindAlgInputlambdaU_dupD20 = invdx0*(2*lambdaU2_i0p1_i1_i2 - 1.0/2.0*lambdaU2_i0p2_i1_i2 + tmpFD67);
const double UpwindAlgInputlambdaU_dupD21 = invdx1*(2*lambdaU2_i0_i1p1_i2 - 1.0/2.0*lambdaU2_i0_i1p2_i2 + tmpFD67);
const double UpwindAlgInputlambdaU_dupD22 = invdx2*(2*lambdaU2_i0_i1_i2p1 - 1.0/2.0*lambdaU2_i0_i1_i2p2 + tmpFD67);
const double trK_dD0 = invdx0*(-1.0/2.0*trK_i0m1_i1_i2 + (1.0/2.0)*trK_i0p1_i1_i2);
const double trK_dD1 = invdx1*(-1.0/2.0*trK_i0_i1m1_i2 + (1.0/2.0)*trK_i0_i1p1_i2);
const double trK_dD2 = invdx2*(-1.0/2.0*trK_i0_i1_i2m1 + (1.0/2.0)*trK_i0_i1_i2p1);
const double trK_dKOD0 = invdx0*(tmpFD68 + (1.0/4.0)*trK_i0m1_i1_i2 - 1.0/16.0*trK_i0m2_i1_i2 + (1.0/4.0)*trK_i0p1_i1_i2 - 1.0/16.0*trK_i0p2_i1_i2);
const double trK_dKOD1 = invdx1*(tmpFD68 + (1.0/4.0)*trK_i0_i1m1_i2 - 1.0/16.0*trK_i0_i1m2_i2 + (1.0/4.0)*trK_i0_i1p1_i2 - 1.0/16.0*trK_i0_i1p2_i2);
const double trK_dKOD2 = invdx2*(tmpFD68 + (1.0/4.0)*trK_i0_i1_i2m1 - 1.0/16.0*trK_i0_i1_i2m2 + (1.0/4.0)*trK_i0_i1_i2p1 - 1.0/16.0*trK_i0_i1_i2p2);
const double UpwindAlgInputtrK_ddnD0 = invdx0*(tmpFD69 - 2*trK_i0m1_i1_i2 + (1.0/2.0)*trK_i0m2_i1_i2);
const double UpwindAlgInputtrK_ddnD1 = invdx1*(tmpFD69 - 2*trK_i0_i1m1_i2 + (1.0/2.0)*trK_i0_i1m2_i2);
const double UpwindAlgInputtrK_ddnD2 = invdx2*(tmpFD69 - 2*trK_i0_i1_i2m1 + (1.0/2.0)*trK_i0_i1_i2m2);
const double UpwindAlgInputtrK_dupD0 = invdx0*(tmpFD70 + 2*trK_i0p1_i1_i2 - 1.0/2.0*trK_i0p2_i1_i2);
const double UpwindAlgInputtrK_dupD1 = invdx1*(tmpFD70 + 2*trK_i0_i1p1_i2 - 1.0/2.0*trK_i0_i1p2_i2);
const double UpwindAlgInputtrK_dupD2 = invdx2*(tmpFD70 + 2*trK_i0_i1_i2p1 - 1.0/2.0*trK_i0_i1_i2p2);
const double vetU_dD00 = invdx0*(-1.0/2.0*vetU0_i0m1_i1_i2 + (1.0/2.0)*vetU0_i0p1_i1_i2);
const double vetU_dD01 = invdx1*(-1.0/2.0*vetU0_i0_i1m1_i2 + (1.0/2.0)*vetU0_i0_i1p1_i2);
const double vetU_dD02 = invdx2*(-1.0/2.0*vetU0_i0_i1_i2m1 + (1.0/2.0)*vetU0_i0_i1_i2p1);
const double vetU_dD10 = invdx0*(-1.0/2.0*vetU1_i0m1_i1_i2 + (1.0/2.0)*vetU1_i0p1_i1_i2);
const double vetU_dD11 = invdx1*(-1.0/2.0*vetU1_i0_i1m1_i2 + (1.0/2.0)*vetU1_i0_i1p1_i2);
const double vetU_dD12 = invdx2*(-1.0/2.0*vetU1_i0_i1_i2m1 + (1.0/2.0)*vetU1_i0_i1_i2p1);
const double vetU_dD20 = invdx0*(-1.0/2.0*vetU2_i0m1_i1_i2 + (1.0/2.0)*vetU2_i0p1_i1_i2);
const double vetU_dD21 = invdx1*(-1.0/2.0*vetU2_i0_i1m1_i2 + (1.0/2.0)*vetU2_i0_i1p1_i2);
const double vetU_dD22 = invdx2*(-1.0/2.0*vetU2_i0_i1_i2m1 + (1.0/2.0)*vetU2_i0_i1_i2p1);
const double vetU_dDD000 = tmpFD18*(tmpFD71 + vetU0_i0m1_i1_i2 + vetU0_i0p1_i1_i2);
const double vetU_dDD001 = tmpFD20*((1.0/4.0)*vetU0_i0m1_i1m1_i2 - 1.0/4.0*vetU0_i0m1_i1p1_i2 - 1.0/4.0*vetU0_i0p1_i1m1_i2 + (1.0/4.0)*vetU0_i0p1_i1p1_i2);
const double vetU_dDD002 = tmpFD21*((1.0/4.0)*vetU0_i0m1_i1_i2m1 - 1.0/4.0*vetU0_i0m1_i1_i2p1 - 1.0/4.0*vetU0_i0p1_i1_i2m1 + (1.0/4.0)*vetU0_i0p1_i1_i2p1);
const double vetU_dDD011 = tmpFD22*(tmpFD71 + vetU0_i0_i1m1_i2 + vetU0_i0_i1p1_i2);
const double vetU_dDD012 = tmpFD23*((1.0/4.0)*vetU0_i0_i1m1_i2m1 - 1.0/4.0*vetU0_i0_i1m1_i2p1 - 1.0/4.0*vetU0_i0_i1p1_i2m1 + (1.0/4.0)*vetU0_i0_i1p1_i2p1);
const double vetU_dDD022 = tmpFD24*(tmpFD71 + vetU0_i0_i1_i2m1 + vetU0_i0_i1_i2p1);
const double vetU_dDD100 = tmpFD18*(tmpFD72 + vetU1_i0m1_i1_i2 + vetU1_i0p1_i1_i2);
const double vetU_dDD101 = tmpFD20*((1.0/4.0)*vetU1_i0m1_i1m1_i2 - 1.0/4.0*vetU1_i0m1_i1p1_i2 - 1.0/4.0*vetU1_i0p1_i1m1_i2 + (1.0/4.0)*vetU1_i0p1_i1p1_i2);
const double vetU_dDD102 = tmpFD21*((1.0/4.0)*vetU1_i0m1_i1_i2m1 - 1.0/4.0*vetU1_i0m1_i1_i2p1 - 1.0/4.0*vetU1_i0p1_i1_i2m1 + (1.0/4.0)*vetU1_i0p1_i1_i2p1);
const double vetU_dDD111 = tmpFD22*(tmpFD72 + vetU1_i0_i1m1_i2 + vetU1_i0_i1p1_i2);
const double vetU_dDD112 = tmpFD23*((1.0/4.0)*vetU1_i0_i1m1_i2m1 - 1.0/4.0*vetU1_i0_i1m1_i2p1 - 1.0/4.0*vetU1_i0_i1p1_i2m1 + (1.0/4.0)*vetU1_i0_i1p1_i2p1);
const double vetU_dDD122 = tmpFD24*(tmpFD72 + vetU1_i0_i1_i2m1 + vetU1_i0_i1_i2p1);
const double vetU_dDD200 = tmpFD18*(tmpFD73 + vetU2_i0m1_i1_i2 + vetU2_i0p1_i1_i2);
const double vetU_dDD201 = tmpFD20*((1.0/4.0)*vetU2_i0m1_i1m1_i2 - 1.0/4.0*vetU2_i0m1_i1p1_i2 - 1.0/4.0*vetU2_i0p1_i1m1_i2 + (1.0/4.0)*vetU2_i0p1_i1p1_i2);
const double vetU_dDD202 = tmpFD21*((1.0/4.0)*vetU2_i0m1_i1_i2m1 - 1.0/4.0*vetU2_i0m1_i1_i2p1 - 1.0/4.0*vetU2_i0p1_i1_i2m1 + (1.0/4.0)*vetU2_i0p1_i1_i2p1);
const double vetU_dDD211 = tmpFD22*(tmpFD73 + vetU2_i0_i1m1_i2 + vetU2_i0_i1p1_i2);
const double vetU_dDD212 = tmpFD23*((1.0/4.0)*vetU2_i0_i1m1_i2m1 - 1.0/4.0*vetU2_i0_i1m1_i2p1 - 1.0/4.0*vetU2_i0_i1p1_i2m1 + (1.0/4.0)*vetU2_i0_i1p1_i2p1);
const double vetU_dDD222 = tmpFD24*(tmpFD73 + vetU2_i0_i1_i2m1 + vetU2_i0_i1_i2p1);
const double vetU_dKOD00 = invdx0*(tmpFD74 + (1.0/4.0)*vetU0_i0m1_i1_i2 - 1.0/16.0*vetU0_i0m2_i1_i2 + (1.0/4.0)*vetU0_i0p1_i1_i2 - 1.0/16.0*vetU0_i0p2_i1_i2);
const double vetU_dKOD01 = invdx1*(tmpFD74 + (1.0/4.0)*vetU0_i0_i1m1_i2 - 1.0/16.0*vetU0_i0_i1m2_i2 + (1.0/4.0)*vetU0_i0_i1p1_i2 - 1.0/16.0*vetU0_i0_i1p2_i2);
const double vetU_dKOD02 = invdx2*(tmpFD74 + (1.0/4.0)*vetU0_i0_i1_i2m1 - 1.0/16.0*vetU0_i0_i1_i2m2 + (1.0/4.0)*vetU0_i0_i1_i2p1 - 1.0/16.0*vetU0_i0_i1_i2p2);
const double vetU_dKOD10 = invdx0*(tmpFD75 + (1.0/4.0)*vetU1_i0m1_i1_i2 - 1.0/16.0*vetU1_i0m2_i1_i2 + (1.0/4.0)*vetU1_i0p1_i1_i2 - 1.0/16.0*vetU1_i0p2_i1_i2);
const double vetU_dKOD11 = invdx1*(tmpFD75 + (1.0/4.0)*vetU1_i0_i1m1_i2 - 1.0/16.0*vetU1_i0_i1m2_i2 + (1.0/4.0)*vetU1_i0_i1p1_i2 - 1.0/16.0*vetU1_i0_i1p2_i2);
const double vetU_dKOD12 = invdx2*(tmpFD75 + (1.0/4.0)*vetU1_i0_i1_i2m1 - 1.0/16.0*vetU1_i0_i1_i2m2 + (1.0/4.0)*vetU1_i0_i1_i2p1 - 1.0/16.0*vetU1_i0_i1_i2p2);
const double vetU_dKOD20 = invdx0*(tmpFD76 + (1.0/4.0)*vetU2_i0m1_i1_i2 - 1.0/16.0*vetU2_i0m2_i1_i2 + (1.0/4.0)*vetU2_i0p1_i1_i2 - 1.0/16.0*vetU2_i0p2_i1_i2);
const double vetU_dKOD21 = invdx1*(tmpFD76 + (1.0/4.0)*vetU2_i0_i1m1_i2 - 1.0/16.0*vetU2_i0_i1m2_i2 + (1.0/4.0)*vetU2_i0_i1p1_i2 - 1.0/16.0*vetU2_i0_i1p2_i2);
const double vetU_dKOD22 = invdx2*(tmpFD76 + (1.0/4.0)*vetU2_i0_i1_i2m1 - 1.0/16.0*vetU2_i0_i1_i2m2 + (1.0/4.0)*vetU2_i0_i1_i2p1 - 1.0/16.0*vetU2_i0_i1_i2p2);
const double UpwindAlgInputvetU_ddnD00 = invdx0*(tmpFD77 - 2*vetU0_i0m1_i1_i2 + (1.0/2.0)*vetU0_i0m2_i1_i2);
const double UpwindAlgInputvetU_ddnD01 = invdx1*(tmpFD77 - 2*vetU0_i0_i1m1_i2 + (1.0/2.0)*vetU0_i0_i1m2_i2);
const double UpwindAlgInputvetU_ddnD02 = invdx2*(tmpFD77 - 2*vetU0_i0_i1_i2m1 + (1.0/2.0)*vetU0_i0_i1_i2m2);
const double UpwindAlgInputvetU_ddnD10 = invdx0*(tmpFD78 - 2*vetU1_i0m1_i1_i2 + (1.0/2.0)*vetU1_i0m2_i1_i2);
const double UpwindAlgInputvetU_ddnD11 = invdx1*(tmpFD78 - 2*vetU1_i0_i1m1_i2 + (1.0/2.0)*vetU1_i0_i1m2_i2);
const double UpwindAlgInputvetU_ddnD12 = invdx2*(tmpFD78 - 2*vetU1_i0_i1_i2m1 + (1.0/2.0)*vetU1_i0_i1_i2m2);
const double UpwindAlgInputvetU_ddnD20 = invdx0*(tmpFD79 - 2*vetU2_i0m1_i1_i2 + (1.0/2.0)*vetU2_i0m2_i1_i2);
const double UpwindAlgInputvetU_ddnD21 = invdx1*(tmpFD79 - 2*vetU2_i0_i1m1_i2 + (1.0/2.0)*vetU2_i0_i1m2_i2);
const double UpwindAlgInputvetU_ddnD22 = invdx2*(tmpFD79 - 2*vetU2_i0_i1_i2m1 + (1.0/2.0)*vetU2_i0_i1_i2m2);
const double UpwindAlgInputvetU_dupD00 = invdx0*(tmpFD80 + 2*vetU0_i0p1_i1_i2 - 1.0/2.0*vetU0_i0p2_i1_i2);
const double UpwindAlgInputvetU_dupD01 = invdx1*(tmpFD80 + 2*vetU0_i0_i1p1_i2 - 1.0/2.0*vetU0_i0_i1p2_i2);
const double UpwindAlgInputvetU_dupD02 = invdx2*(tmpFD80 + 2*vetU0_i0_i1_i2p1 - 1.0/2.0*vetU0_i0_i1_i2p2);
const double UpwindAlgInputvetU_dupD10 = invdx0*(tmpFD81 + 2*vetU1_i0p1_i1_i2 - 1.0/2.0*vetU1_i0p2_i1_i2);
const double UpwindAlgInputvetU_dupD11 = invdx1*(tmpFD81 + 2*vetU1_i0_i1p1_i2 - 1.0/2.0*vetU1_i0_i1p2_i2);
const double UpwindAlgInputvetU_dupD12 = invdx2*(tmpFD81 + 2*vetU1_i0_i1_i2p1 - 1.0/2.0*vetU1_i0_i1_i2p2);
const double UpwindAlgInputvetU_dupD20 = invdx0*(tmpFD82 + 2*vetU2_i0p1_i1_i2 - 1.0/2.0*vetU2_i0p2_i1_i2);
const double UpwindAlgInputvetU_dupD21 = invdx1*(tmpFD82 + 2*vetU2_i0_i1p1_i2 - 1.0/2.0*vetU2_i0_i1p2_i2);
const double UpwindAlgInputvetU_dupD22 = invdx2*(tmpFD82 + 2*vetU2_i0_i1_i2p1 - 1.0/2.0*vetU2_i0_i1_i2p2);
const double hDD00_i0_i1m2_i2m2 = hDD00GF_.ptr[hDD00GF_.offset(i0,i1-2,i2-2)];
const double hDD00_i0_i1m1_i2m2 = hDD00GF_.ptr[hDD00GF_.offset(i0,i1-1,i2-2)];
const double hDD00_i0m2_i1_i2m2 = hDD00GF_.ptr[hDD00GF_.offset(i0-2,i1,i2-2)];
const double hDD00_i0m1_i1_i2m2 = hDD00GF_.ptr[hDD00GF_.offset(i0-1,i1,i2-2)];
const double hDD00_i0_i1_i2m2 = hDD00GF_.ptr[hDD00GF_.offset(i0,i1,i2-2)];
const double hDD00_i0p1_i1_i2m2 = hDD00GF_.ptr[hDD00GF_.offset(i0+1,i1,i2-2)];
const double hDD00_i0p2_i1_i2m2 = hDD00GF_.ptr[hDD00GF_.offset(i0+2,i1,i2-2)];
const double hDD00_i0_i1p1_i2m2 = hDD00GF_.ptr[hDD00GF_.offset(i0,i1+1,i2-2)];
const double hDD00_i0_i1p2_i2m2 = hDD00GF_.ptr[hDD00GF_.offset(i0,i1+2,i2-2)];
const double hDD00_i0_i1m2_i2m1 = hDD00GF_.ptr[hDD00GF_.offset(i0,i1-2,i2-1)];
const double hDD00_i0_i1p2_i2m1 = hDD00GF_.ptr[hDD00GF_.offset(i0,i1+2,i2-1)];
const double hDD00_i0m2_i1m2_i2 = hDD00GF_.ptr[hDD00GF_.offset(i0-2,i1-2,i2)];
const double hDD00_i0m1_i1m2_i2 = hDD00GF_.ptr[hDD00GF_.offset(i0-1,i1-2,i2)];
const double hDD00_i0_i1m2_i2 = hDD00GF_.ptr[hDD00GF_.offset(i0,i1-2,i2)];
const double hDD00_i0p1_i1m2_i2 = hDD00GF_.ptr[hDD00GF_.offset(i0+1,i1-2,i2)];
const double hDD00_i0p2_i1m2_i2 = hDD00GF_.ptr[hDD00GF_.offset(i0+2,i1-2,i2)];
const double hDD00_i0m2_i1m1_i2 = hDD00GF_.ptr[hDD00GF_.offset(i0-2,i1-1,i2)];
const double hDD00_i0p2_i1p1_i2 = hDD00GF_.ptr[hDD00GF_.offset(i0+2,i1+1,i2)];
const double hDD00_i0m2_i1p2_i2 = hDD00GF_.ptr[hDD00GF_.offset(i0-2,i1+2,i2)];
const double hDD00_i0m1_i1p2_i2 = hDD00GF_.ptr[hDD00GF_.offset(i0-1,i1+2,i2)];
const double hDD00_i0_i1p2_i2 = hDD00GF_.ptr[hDD00GF_.offset(i0,i1+2,i2)];
const double hDD00_i0p1_i1p2_i2 = hDD00GF_.ptr[hDD00GF_.offset(i0+1,i1+2,i2)];
const double hDD00_i0p2_i1p2_i2 = hDD00GF_.ptr[hDD00GF_.offset(i0+2,i1+2,i2)];
const double hDD00_i0_i1m2_i2p1 = hDD00GF_.ptr[hDD00GF_.offset(i0,i1-2,i2+1)];
const double hDD00_i0_i1p2_i2p1 = hDD00GF_.ptr[hDD00GF_.offset(i0,i1+2,i2+1)];
const double hDD00_i0_i1m2_i2p2 = hDD00GF_.ptr[hDD00GF_.offset(i0,i1-2,i2+2)];
const double hDD00_i0_i1m1_i2p2 = hDD00GF_.ptr[hDD00GF_.offset(i0,i1-1,i2+2)];
const double hDD00_i0m2_i1_i2p2 = hDD00GF_.ptr[hDD00GF_.offset(i0-2,i1,i2+2)];
const double hDD00_i0m1_i1_i2p2 = hDD00GF_.ptr[hDD00GF_.offset(i0-1,i1,i2+2)];
const double hDD00_i0_i1_i2p2 = hDD00GF_.ptr[hDD00GF_.offset(i0,i1,i2+2)];
const double hDD00_i0p1_i1_i2p2 = hDD00GF_.ptr[hDD00GF_.offset(i0+1,i1,i2+2)];
const double hDD00_i0p2_i1_i2p2 = hDD00GF_.ptr[hDD00GF_.offset(i0+2,i1,i2+2)];
const double hDD00_i0_i1p1_i2p2 = hDD00GF_.ptr[hDD00GF_.offset(i0,i1+1,i2+2)];
const double hDD00_i0_i1p2_i2p2 = hDD00GF_.ptr[hDD00GF_.offset(i0,i1+2,i2+2)];
const double hDD01_i0_i1m2_i2m2 = hDD01GF_.ptr[hDD01GF_.offset(i0,i1-2,i2-2)];
const double hDD01_i0_i1m1_i2m2 = hDD01GF_.ptr[hDD01GF_.offset(i0,i1-1,i2-2)];
const double hDD01_i0m2_i1_i2m2 = hDD01GF_.ptr[hDD01GF_.offset(i0-2,i1,i2-2)];
const double hDD01_i0m1_i1_i2m2 = hDD01GF_.ptr[hDD01GF_.offset(i0-1,i1,i2-2)];
const double hDD01_i0_i1_i2m2 = hDD01GF_.ptr[hDD01GF_.offset(i0,i1,i2-2)];
const double hDD01_i0p1_i1_i2m2 = hDD01GF_.ptr[hDD01GF_.offset(i0+1,i1,i2-2)];
const double hDD01_i0p2_i1_i2m2 = hDD01GF_.ptr[hDD01GF_.offset(i0+2,i1,i2-2)];
const double hDD01_i0_i1p1_i2m2 = hDD01GF_.ptr[hDD01GF_.offset(i0,i1+1,i2-2)];
const double hDD01_i0_i1p2_i2m2 = hDD01GF_.ptr[hDD01GF_.offset(i0,i1+2,i2-2)];
const double hDD01_i0_i1m2_i2m1 = hDD01GF_.ptr[hDD01GF_.offset(i0,i1-2,i2-1)];
const double hDD01_i0_i1p2_i2m1 = hDD01GF_.ptr[hDD01GF_.offset(i0,i1+2,i2-1)];
const double hDD01_i0m2_i1m2_i2 = hDD01GF_.ptr[hDD01GF_.offset(i0-2,i1-2,i2)];
const double hDD01_i0m1_i1m2_i2 = hDD01GF_.ptr[hDD01GF_.offset(i0-1,i1-2,i2)];
const double hDD01_i0_i1m2_i2 = hDD01GF_.ptr[hDD01GF_.offset(i0,i1-2,i2)];
const double hDD01_i0p1_i1m2_i2 = hDD01GF_.ptr[hDD01GF_.offset(i0+1,i1-2,i2)];
const double hDD01_i0p2_i1m2_i2 = hDD01GF_.ptr[hDD01GF_.offset(i0+2,i1-2,i2)];
const double hDD01_i0m2_i1m1_i2 = hDD01GF_.ptr[hDD01GF_.offset(i0-2,i1-1,i2)];
const double hDD01_i0p2_i1p1_i2 = hDD01GF_.ptr[hDD01GF_.offset(i0+2,i1+1,i2)];
const double hDD01_i0m2_i1p2_i2 = hDD01GF_.ptr[hDD01GF_.offset(i0-2,i1+2,i2)];
const double hDD01_i0m1_i1p2_i2 = hDD01GF_.ptr[hDD01GF_.offset(i0-1,i1+2,i2)];
const double hDD01_i0_i1p2_i2 = hDD01GF_.ptr[hDD01GF_.offset(i0,i1+2,i2)];
const double hDD01_i0p1_i1p2_i2 = hDD01GF_.ptr[hDD01GF_.offset(i0+1,i1+2,i2)];
const double hDD01_i0p2_i1p2_i2 = hDD01GF_.ptr[hDD01GF_.offset(i0+2,i1+2,i2)];
const double hDD01_i0_i1m2_i2p1 = hDD01GF_.ptr[hDD01GF_.offset(i0,i1-2,i2+1)];
const double hDD01_i0_i1p2_i2p1 = hDD01GF_.ptr[hDD01GF_.offset(i0,i1+2,i2+1)];
const double hDD01_i0_i1m2_i2p2 = hDD01GF_.ptr[hDD01GF_.offset(i0,i1-2,i2+2)];
const double hDD01_i0_i1m1_i2p2 = hDD01GF_.ptr[hDD01GF_.offset(i0,i1-1,i2+2)];
const double hDD01_i0m2_i1_i2p2 = hDD01GF_.ptr[hDD01GF_.offset(i0-2,i1,i2+2)];
const double hDD01_i0m1_i1_i2p2 = hDD01GF_.ptr[hDD01GF_.offset(i0-1,i1,i2+2)];
const double hDD01_i0_i1_i2p2 = hDD01GF_.ptr[hDD01GF_.offset(i0,i1,i2+2)];
const double hDD01_i0p1_i1_i2p2 = hDD01GF_.ptr[hDD01GF_.offset(i0+1,i1,i2+2)];
const double hDD01_i0p2_i1_i2p2 = hDD01GF_.ptr[hDD01GF_.offset(i0+2,i1,i2+2)];
const double hDD01_i0_i1p1_i2p2 = hDD01GF_.ptr[hDD01GF_.offset(i0,i1+1,i2+2)];
const double hDD01_i0_i1p2_i2p2 = hDD01GF_.ptr[hDD01GF_.offset(i0,i1+2,i2+2)];
const double hDD02_i0_i1m2_i2m2 = hDD02GF_.ptr[hDD02GF_.offset(i0,i1-2,i2-2)];
const double hDD02_i0_i1m1_i2m2 = hDD02GF_.ptr[hDD02GF_.offset(i0,i1-1,i2-2)];
const double hDD02_i0m2_i1_i2m2 = hDD02GF_.ptr[hDD02GF_.offset(i0-2,i1,i2-2)];
const double hDD02_i0m1_i1_i2m2 = hDD02GF_.ptr[hDD02GF_.offset(i0-1,i1,i2-2)];
const double hDD02_i0_i1_i2m2 = hDD02GF_.ptr[hDD02GF_.offset(i0,i1,i2-2)];
const double hDD02_i0p1_i1_i2m2 = hDD02GF_.ptr[hDD02GF_.offset(i0+1,i1,i2-2)];
const double hDD02_i0p2_i1_i2m2 = hDD02GF_.ptr[hDD02GF_.offset(i0+2,i1,i2-2)];
const double hDD02_i0_i1p1_i2m2 = hDD02GF_.ptr[hDD02GF_.offset(i0,i1+1,i2-2)];
const double hDD02_i0_i1p2_i2m2 = hDD02GF_.ptr[hDD02GF_.offset(i0,i1+2,i2-2)];
const double hDD02_i0_i1m2_i2m1 = hDD02GF_.ptr[hDD02GF_.offset(i0,i1-2,i2-1)];
const double hDD02_i0_i1p2_i2m1 = hDD02GF_.ptr[hDD02GF_.offset(i0,i1+2,i2-1)];
const double hDD02_i0m2_i1m2_i2 = hDD02GF_.ptr[hDD02GF_.offset(i0-2,i1-2,i2)];
const double hDD02_i0m1_i1m2_i2 = hDD02GF_.ptr[hDD02GF_.offset(i0-1,i1-2,i2)];
const double hDD02_i0_i1m2_i2 = hDD02GF_.ptr[hDD02GF_.offset(i0,i1-2,i2)];
const double hDD02_i0p1_i1m2_i2 = hDD02GF_.ptr[hDD02GF_.offset(i0+1,i1-2,i2)];
const double hDD02_i0p2_i1m2_i2 = hDD02GF_.ptr[hDD02GF_.offset(i0+2,i1-2,i2)];
const double hDD02_i0m2_i1m1_i2 = hDD02GF_.ptr[hDD02GF_.offset(i0-2,i1-1,i2)];
const double hDD02_i0p2_i1p1_i2 = hDD02GF_.ptr[hDD02GF_.offset(i0+2,i1+1,i2)];
const double hDD02_i0m2_i1p2_i2 = hDD02GF_.ptr[hDD02GF_.offset(i0-2,i1+2,i2)];
const double hDD02_i0m1_i1p2_i2 = hDD02GF_.ptr[hDD02GF_.offset(i0-1,i1+2,i2)];
const double hDD02_i0_i1p2_i2 = hDD02GF_.ptr[hDD02GF_.offset(i0,i1+2,i2)];
const double hDD02_i0p1_i1p2_i2 = hDD02GF_.ptr[hDD02GF_.offset(i0+1,i1+2,i2)];
const double hDD02_i0p2_i1p2_i2 = hDD02GF_.ptr[hDD02GF_.offset(i0+2,i1+2,i2)];
const double hDD02_i0_i1m2_i2p1 = hDD02GF_.ptr[hDD02GF_.offset(i0,i1-2,i2+1)];
const double hDD02_i0_i1p2_i2p1 = hDD02GF_.ptr[hDD02GF_.offset(i0,i1+2,i2+1)];
const double hDD02_i0_i1m2_i2p2 = hDD02GF_.ptr[hDD02GF_.offset(i0,i1-2,i2+2)];
const double hDD02_i0_i1m1_i2p2 = hDD02GF_.ptr[hDD02GF_.offset(i0,i1-1,i2+2)];
const double hDD02_i0m2_i1_i2p2 = hDD02GF_.ptr[hDD02GF_.offset(i0-2,i1,i2+2)];
const double hDD02_i0m1_i1_i2p2 = hDD02GF_.ptr[hDD02GF_.offset(i0-1,i1,i2+2)];
const double hDD02_i0_i1_i2p2 = hDD02GF_.ptr[hDD02GF_.offset(i0,i1,i2+2)];
const double hDD02_i0p1_i1_i2p2 = hDD02GF_.ptr[hDD02GF_.offset(i0+1,i1,i2+2)];
const double hDD02_i0p2_i1_i2p2 = hDD02GF_.ptr[hDD02GF_.offset(i0+2,i1,i2+2)];
const double hDD02_i0_i1p1_i2p2 = hDD02GF_.ptr[hDD02GF_.offset(i0,i1+1,i2+2)];
const double hDD02_i0_i1p2_i2p2 = hDD02GF_.ptr[hDD02GF_.offset(i0,i1+2,i2+2)];
const double hDD11_i0_i1m2_i2m2 = hDD11GF_.ptr[hDD11GF_.offset(i0,i1-2,i2-2)];
const double hDD11_i0_i1m1_i2m2 = hDD11GF_.ptr[hDD11GF_.offset(i0,i1-1,i2-2)];
const double hDD11_i0m2_i1_i2m2 = hDD11GF_.ptr[hDD11GF_.offset(i0-2,i1,i2-2)];
const double hDD11_i0m1_i1_i2m2 = hDD11GF_.ptr[hDD11GF_.offset(i0-1,i1,i2-2)];
const double hDD11_i0_i1_i2m2 = hDD11GF_.ptr[hDD11GF_.offset(i0,i1,i2-2)];
const double hDD11_i0p1_i1_i2m2 = hDD11GF_.ptr[hDD11GF_.offset(i0+1,i1,i2-2)];
const double hDD11_i0p2_i1_i2m2 = hDD11GF_.ptr[hDD11GF_.offset(i0+2,i1,i2-2)];
const double hDD11_i0_i1p1_i2m2 = hDD11GF_.ptr[hDD11GF_.offset(i0,i1+1,i2-2)];
const double hDD11_i0_i1p2_i2m2 = hDD11GF_.ptr[hDD11GF_.offset(i0,i1+2,i2-2)];
const double hDD11_i0_i1m2_i2m1 = hDD11GF_.ptr[hDD11GF_.offset(i0,i1-2,i2-1)];
const double hDD11_i0_i1p2_i2m1 = hDD11GF_.ptr[hDD11GF_.offset(i0,i1+2,i2-1)];
const double hDD11_i0m2_i1m2_i2 = hDD11GF_.ptr[hDD11GF_.offset(i0-2,i1-2,i2)];
const double hDD11_i0m1_i1m2_i2 = hDD11GF_.ptr[hDD11GF_.offset(i0-1,i1-2,i2)];
const double hDD11_i0_i1m2_i2 = hDD11GF_.ptr[hDD11GF_.offset(i0,i1-2,i2)];
const double hDD11_i0p1_i1m2_i2 = hDD11GF_.ptr[hDD11GF_.offset(i0+1,i1-2,i2)];
const double hDD11_i0p2_i1m2_i2 = hDD11GF_.ptr[hDD11GF_.offset(i0+2,i1-2,i2)];
const double hDD11_i0m2_i1m1_i2 = hDD11GF_.ptr[hDD11GF_.offset(i0-2,i1-1,i2)];
const double hDD11_i0p2_i1p1_i2 = hDD11GF_.ptr[hDD11GF_.offset(i0+2,i1+1,i2)];
const double hDD11_i0m2_i1p2_i2 = hDD11GF_.ptr[hDD11GF_.offset(i0-2,i1+2,i2)];
const double hDD11_i0m1_i1p2_i2 = hDD11GF_.ptr[hDD11GF_.offset(i0-1,i1+2,i2)];
const double hDD11_i0_i1p2_i2 = hDD11GF_.ptr[hDD11GF_.offset(i0,i1+2,i2)];
const double hDD11_i0p1_i1p2_i2 = hDD11GF_.ptr[hDD11GF_.offset(i0+1,i1+2,i2)];
const double hDD11_i0p2_i1p2_i2 = hDD11GF_.ptr[hDD11GF_.offset(i0+2,i1+2,i2)];
const double hDD11_i0_i1m2_i2p1 = hDD11GF_.ptr[hDD11GF_.offset(i0,i1-2,i2+1)];
const double hDD11_i0_i1p2_i2p1 = hDD11GF_.ptr[hDD11GF_.offset(i0,i1+2,i2+1)];
const double hDD11_i0_i1m2_i2p2 = hDD11GF_.ptr[hDD11GF_.offset(i0,i1-2,i2+2)];
const double hDD11_i0_i1m1_i2p2 = hDD11GF_.ptr[hDD11GF_.offset(i0,i1-1,i2+2)];
const double hDD11_i0m2_i1_i2p2 = hDD11GF_.ptr[hDD11GF_.offset(i0-2,i1,i2+2)];
const double hDD11_i0m1_i1_i2p2 = hDD11GF_.ptr[hDD11GF_.offset(i0-1,i1,i2+2)];
const double hDD11_i0_i1_i2p2 = hDD11GF_.ptr[hDD11GF_.offset(i0,i1,i2+2)];
const double hDD11_i0p1_i1_i2p2 = hDD11GF_.ptr[hDD11GF_.offset(i0+1,i1,i2+2)];
const double hDD11_i0p2_i1_i2p2 = hDD11GF_.ptr[hDD11GF_.offset(i0+2,i1,i2+2)];
const double hDD11_i0_i1p1_i2p2 = hDD11GF_.ptr[hDD11GF_.offset(i0,i1+1,i2+2)];
const double hDD11_i0_i1p2_i2p2 = hDD11GF_.ptr[hDD11GF_.offset(i0,i1+2,i2+2)];
const double hDD12_i0_i1m2_i2m2 = hDD12GF_.ptr[hDD12GF_.offset(i0,i1-2,i2-2)];
const double hDD12_i0_i1m1_i2m2 = hDD12GF_.ptr[hDD12GF_.offset(i0,i1-1,i2-2)];
const double hDD12_i0m2_i1_i2m2 = hDD12GF_.ptr[hDD12GF_.offset(i0-2,i1,i2-2)];
const double hDD12_i0m1_i1_i2m2 = hDD12GF_.ptr[hDD12GF_.offset(i0-1,i1,i2-2)];
const double hDD12_i0_i1_i2m2 = hDD12GF_.ptr[hDD12GF_.offset(i0,i1,i2-2)];
const double hDD12_i0p1_i1_i2m2 = hDD12GF_.ptr[hDD12GF_.offset(i0+1,i1,i2-2)];
const double hDD12_i0p2_i1_i2m2 = hDD12GF_.ptr[hDD12GF_.offset(i0+2,i1,i2-2)];
const double hDD12_i0_i1p1_i2m2 = hDD12GF_.ptr[hDD12GF_.offset(i0,i1+1,i2-2)];
const double hDD12_i0_i1p2_i2m2 = hDD12GF_.ptr[hDD12GF_.offset(i0,i1+2,i2-2)];
const double hDD12_i0_i1m2_i2m1 = hDD12GF_.ptr[hDD12GF_.offset(i0,i1-2,i2-1)];
const double hDD12_i0_i1p2_i2m1 = hDD12GF_.ptr[hDD12GF_.offset(i0,i1+2,i2-1)];
const double hDD12_i0m2_i1m2_i2 = hDD12GF_.ptr[hDD12GF_.offset(i0-2,i1-2,i2)];
const double hDD12_i0m1_i1m2_i2 = hDD12GF_.ptr[hDD12GF_.offset(i0-1,i1-2,i2)];
const double hDD12_i0_i1m2_i2 = hDD12GF_.ptr[hDD12GF_.offset(i0,i1-2,i2)];
const double hDD12_i0p1_i1m2_i2 = hDD12GF_.ptr[hDD12GF_.offset(i0+1,i1-2,i2)];
const double hDD12_i0p2_i1m2_i2 = hDD12GF_.ptr[hDD12GF_.offset(i0+2,i1-2,i2)];
const double hDD12_i0m2_i1m1_i2 = hDD12GF_.ptr[hDD12GF_.offset(i0-2,i1-1,i2)];
const double hDD12_i0p2_i1p1_i2 = hDD12GF_.ptr[hDD12GF_.offset(i0+2,i1+1,i2)];
const double hDD12_i0m2_i1p2_i2 = hDD12GF_.ptr[hDD12GF_.offset(i0-2,i1+2,i2)];
const double hDD12_i0m1_i1p2_i2 = hDD12GF_.ptr[hDD12GF_.offset(i0-1,i1+2,i2)];
const double hDD12_i0_i1p2_i2 = hDD12GF_.ptr[hDD12GF_.offset(i0,i1+2,i2)];
const double hDD12_i0p1_i1p2_i2 = hDD12GF_.ptr[hDD12GF_.offset(i0+1,i1+2,i2)];
const double hDD12_i0p2_i1p2_i2 = hDD12GF_.ptr[hDD12GF_.offset(i0+2,i1+2,i2)];
const double hDD12_i0_i1m2_i2p1 = hDD12GF_.ptr[hDD12GF_.offset(i0,i1-2,i2+1)];
const double hDD12_i0_i1p2_i2p1 = hDD12GF_.ptr[hDD12GF_.offset(i0,i1+2,i2+1)];
const double hDD12_i0_i1m2_i2p2 = hDD12GF_.ptr[hDD12GF_.offset(i0,i1-2,i2+2)];
const double hDD12_i0_i1m1_i2p2 = hDD12GF_.ptr[hDD12GF_.offset(i0,i1-1,i2+2)];
const double hDD12_i0m2_i1_i2p2 = hDD12GF_.ptr[hDD12GF_.offset(i0-2,i1,i2+2)];
const double hDD12_i0m1_i1_i2p2 = hDD12GF_.ptr[hDD12GF_.offset(i0-1,i1,i2+2)];
const double hDD12_i0_i1_i2p2 = hDD12GF_.ptr[hDD12GF_.offset(i0,i1,i2+2)];
const double hDD12_i0p1_i1_i2p2 = hDD12GF_.ptr[hDD12GF_.offset(i0+1,i1,i2+2)];
const double hDD12_i0p2_i1_i2p2 = hDD12GF_.ptr[hDD12GF_.offset(i0+2,i1,i2+2)];
const double hDD12_i0_i1p1_i2p2 = hDD12GF_.ptr[hDD12GF_.offset(i0,i1+1,i2+2)];
const double hDD12_i0_i1p2_i2p2 = hDD12GF_.ptr[hDD12GF_.offset(i0,i1+2,i2+2)];
const double hDD22_i0_i1m2_i2m2 = hDD22GF_.ptr[hDD22GF_.offset(i0,i1-2,i2-2)];
const double hDD22_i0_i1m1_i2m2 = hDD22GF_.ptr[hDD22GF_.offset(i0,i1-1,i2-2)];
const double hDD22_i0m2_i1_i2m2 = hDD22GF_.ptr[hDD22GF_.offset(i0-2,i1,i2-2)];
const double hDD22_i0m1_i1_i2m2 = hDD22GF_.ptr[hDD22GF_.offset(i0-1,i1,i2-2)];
const double hDD22_i0_i1_i2m2 = hDD22GF_.ptr[hDD22GF_.offset(i0,i1,i2-2)];
const double hDD22_i0p1_i1_i2m2 = hDD22GF_.ptr[hDD22GF_.offset(i0+1,i1,i2-2)];
const double hDD22_i0p2_i1_i2m2 = hDD22GF_.ptr[hDD22GF_.offset(i0+2,i1,i2-2)];
const double hDD22_i0_i1p1_i2m2 = hDD22GF_.ptr[hDD22GF_.offset(i0,i1+1,i2-2)];
const double hDD22_i0_i1p2_i2m2 = hDD22GF_.ptr[hDD22GF_.offset(i0,i1+2,i2-2)];
const double hDD22_i0_i1m2_i2m1 = hDD22GF_.ptr[hDD22GF_.offset(i0,i1-2,i2-1)];
const double hDD22_i0_i1p2_i2m1 = hDD22GF_.ptr[hDD22GF_.offset(i0,i1+2,i2-1)];
const double hDD22_i0m2_i1m2_i2 = hDD22GF_.ptr[hDD22GF_.offset(i0-2,i1-2,i2)];
const double hDD22_i0m1_i1m2_i2 = hDD22GF_.ptr[hDD22GF_.offset(i0-1,i1-2,i2)];
const double hDD22_i0_i1m2_i2 = hDD22GF_.ptr[hDD22GF_.offset(i0,i1-2,i2)];
const double hDD22_i0p1_i1m2_i2 = hDD22GF_.ptr[hDD22GF_.offset(i0+1,i1-2,i2)];
const double hDD22_i0p2_i1m2_i2 = hDD22GF_.ptr[hDD22GF_.offset(i0+2,i1-2,i2)];
const double hDD22_i0m2_i1m1_i2 = hDD22GF_.ptr[hDD22GF_.offset(i0-2,i1-1,i2)];
const double hDD22_i0p2_i1p1_i2 = hDD22GF_.ptr[hDD22GF_.offset(i0+2,i1+1,i2)];
const double hDD22_i0m2_i1p2_i2 = hDD22GF_.ptr[hDD22GF_.offset(i0-2,i1+2,i2)];
const double hDD22_i0m1_i1p2_i2 = hDD22GF_.ptr[hDD22GF_.offset(i0-1,i1+2,i2)];
const double hDD22_i0_i1p2_i2 = hDD22GF_.ptr[hDD22GF_.offset(i0,i1+2,i2)];
const double hDD22_i0p1_i1p2_i2 = hDD22GF_.ptr[hDD22GF_.offset(i0+1,i1+2,i2)];
const double hDD22_i0p2_i1p2_i2 = hDD22GF_.ptr[hDD22GF_.offset(i0+2,i1+2,i2)];
const double hDD22_i0_i1m2_i2p1 = hDD22GF_.ptr[hDD22GF_.offset(i0,i1-2,i2+1)];
const double hDD22_i0_i1p2_i2p1 = hDD22GF_.ptr[hDD22GF_.offset(i0,i1+2,i2+1)];
const double hDD22_i0_i1m2_i2p2 = hDD22GF_.ptr[hDD22GF_.offset(i0,i1-2,i2+2)];
const double hDD22_i0_i1m1_i2p2 = hDD22GF_.ptr[hDD22GF_.offset(i0,i1-1,i2+2)];
const double hDD22_i0m2_i1_i2p2 = hDD22GF_.ptr[hDD22GF_.offset(i0-2,i1,i2+2)];
const double hDD22_i0m1_i1_i2p2 = hDD22GF_.ptr[hDD22GF_.offset(i0-1,i1,i2+2)];
const double hDD22_i0_i1_i2p2 = hDD22GF_.ptr[hDD22GF_.offset(i0,i1,i2+2)];
const double hDD22_i0p1_i1_i2p2 = hDD22GF_.ptr[hDD22GF_.offset(i0+1,i1,i2+2)];
const double hDD22_i0p2_i1_i2p2 = hDD22GF_.ptr[hDD22GF_.offset(i0+2,i1,i2+2)];
const double hDD22_i0_i1p1_i2p2 = hDD22GF_.ptr[hDD22GF_.offset(i0,i1+1,i2+2)];
const double hDD22_i0_i1p2_i2p2 = hDD22GF_.ptr[hDD22GF_.offset(i0,i1+2,i2+2)];
const double lambdaU0_i0_i1_i2m2 = lambdaU0GF_.ptr[lambdaU0GF_.offset(i0,i1,i2-2)];
const double lambdaU2_i0_i1_i2p2 = lambdaU2GF_.ptr[lambdaU2GF_.offset(i0,i1,i2+2)];
const double tmpFD0 = (1.0/12.0)*hDD00_i0m2_i1_i2;
const double tmpFD1 = -1.0/12.0*hDD00_i0p2_i1_i2;
const double tmpFD2 = (1.0/12.0)*hDD00_i0_i1m2_i2;
const double tmpFD3 = -1.0/12.0*hDD00_i0_i1p2_i2;
const double tmpFD4 = (1.0/12.0)*hDD00_i0_i1_i2m2;
const double tmpFD5 = -1.0/12.0*hDD00_i0_i1_i2p2;
const double tmpFD6 = (1.0/12.0)*hDD01_i0m2_i1_i2;
const double tmpFD7 = -1.0/12.0*hDD01_i0p2_i1_i2;
const double tmpFD8 = (1.0/12.0)*hDD01_i0_i1m2_i2;
const double tmpFD9 = -1.0/12.0*hDD01_i0_i1p2_i2;
const double tmpFD10 = (1.0/12.0)*hDD01_i0_i1_i2m2;
const double tmpFD11 = -1.0/12.0*hDD01_i0_i1_i2p2;
const double tmpFD12 = (1.0/12.0)*hDD02_i0m2_i1_i2;
const double tmpFD13 = -1.0/12.0*hDD02_i0p2_i1_i2;
const double tmpFD14 = (1.0/12.0)*hDD02_i0_i1m2_i2;
const double tmpFD15 = -1.0/12.0*hDD02_i0_i1p2_i2;
const double tmpFD16 = (1.0/12.0)*hDD02_i0_i1_i2m2;
const double tmpFD17 = -1.0/12.0*hDD02_i0_i1_i2p2;
const double tmpFD18 = (1.0/12.0)*hDD11_i0m2_i1_i2;
const double tmpFD19 = -1.0/12.0*hDD11_i0p2_i1_i2;
const double tmpFD20 = (1.0/12.0)*hDD11_i0_i1m2_i2;
const double tmpFD21 = -1.0/12.0*hDD11_i0_i1p2_i2;
const double tmpFD22 = (1.0/12.0)*hDD11_i0_i1_i2m2;
const double tmpFD23 = -1.0/12.0*hDD11_i0_i1_i2p2;
const double tmpFD24 = (1.0/12.0)*hDD12_i0m2_i1_i2;
const double tmpFD25 = -1.0/12.0*hDD12_i0p2_i1_i2;
const double tmpFD26 = (1.0/12.0)*hDD12_i0_i1m2_i2;
const double tmpFD27 = -1.0/12.0*hDD12_i0_i1p2_i2;
const double tmpFD28 = (1.0/12.0)*hDD12_i0_i1_i2m2;
const double tmpFD29 = -1.0/12.0*hDD12_i0_i1_i2p2;
const double tmpFD30 = (1.0/12.0)*hDD22_i0m2_i1_i2;
const double tmpFD31 = -1.0/12.0*hDD22_i0p2_i1_i2;
const double tmpFD32 = (1.0/12.0)*hDD22_i0_i1m2_i2;
const double tmpFD33 = -1.0/12.0*hDD22_i0_i1p2_i2;
const double tmpFD34 = (1.0/12.0)*hDD22_i0_i1_i2m2;
const double tmpFD35 = -1.0/12.0*hDD22_i0_i1_i2p2;
const double tmpFD36 = ((invdx0)*(invdx0));
const double tmpFD37 = -5.0/2.0*hDD00;
const double tmpFD38 = invdx0*invdx1;
const double tmpFD39 = invdx0*invdx2;
const double tmpFD40 = ((invdx1)*(invdx1));
const double tmpFD41 = invdx1*invdx2;
const double tmpFD42 = ((invdx2)*(invdx2));
const double tmpFD43 = -5.0/2.0*hDD01;
const double tmpFD44 = -5.0/2.0*hDD02;
const double tmpFD45 = -5.0/2.0*hDD11;
const double tmpFD46 = -5.0/2.0*hDD12;
const double tmpFD47 = -5.0/2.0*hDD22;
const double hDD_dD000 = invdx0*(-2.0/3.0*hDD00_i0m1_i1_i2 + (2.0/3.0)*hDD00_i0p1_i1_i2 + tmpFD0 + tmpFD1);
const double hDD_dD001 = invdx1*(-2.0/3.0*hDD00_i0_i1m1_i2 + (2.0/3.0)*hDD00_i0_i1p1_i2 + tmpFD2 + tmpFD3);
const double hDD_dD002 = invdx2*(-2.0/3.0*hDD00_i0_i1_i2m1 + (2.0/3.0)*hDD00_i0_i1_i2p1 + tmpFD4 + tmpFD5);
const double hDD_dD010 = invdx0*(-2.0/3.0*hDD01_i0m1_i1_i2 + (2.0/3.0)*hDD01_i0p1_i1_i2 + tmpFD6 + tmpFD7);
const double hDD_dD011 = invdx1*(-2.0/3.0*hDD01_i0_i1m1_i2 + (2.0/3.0)*hDD01_i0_i1p1_i2 + tmpFD8 + tmpFD9);
const double hDD_dD012 = invdx2*(-2.0/3.0*hDD01_i0_i1_i2m1 + (2.0/3.0)*hDD01_i0_i1_i2p1 + tmpFD10 + tmpFD11);
const double hDD_dD020 = invdx0*(-2.0/3.0*hDD02_i0m1_i1_i2 + (2.0/3.0)*hDD02_i0p1_i1_i2 + tmpFD12 + tmpFD13);
const double hDD_dD021 = invdx1*(-2.0/3.0*hDD02_i0_i1m1_i2 + (2.0/3.0)*hDD02_i0_i1p1_i2 + tmpFD14 + tmpFD15);
const double hDD_dD022 = invdx2*(-2.0/3.0*hDD02_i0_i1_i2m1 + (2.0/3.0)*hDD02_i0_i1_i2p1 + tmpFD16 + tmpFD17);
const double hDD_dD110 = invdx0*(-2.0/3.0*hDD11_i0m1_i1_i2 + (2.0/3.0)*hDD11_i0p1_i1_i2 + tmpFD18 + tmpFD19);
const double hDD_dD111 = invdx1*(-2.0/3.0*hDD11_i0_i1m1_i2 + (2.0/3.0)*hDD11_i0_i1p1_i2 + tmpFD20 + tmpFD21);
const double hDD_dD112 = invdx2*(-2.0/3.0*hDD11_i0_i1_i2m1 + (2.0/3.0)*hDD11_i0_i1_i2p1 + tmpFD22 + tmpFD23);
const double hDD_dD120 = invdx0*(-2.0/3.0*hDD12_i0m1_i1_i2 + (2.0/3.0)*hDD12_i0p1_i1_i2 + tmpFD24 + tmpFD25);
const double hDD_dD121 = invdx1*(-2.0/3.0*hDD12_i0_i1m1_i2 + (2.0/3.0)*hDD12_i0_i1p1_i2 + tmpFD26 + tmpFD27);
const double hDD_dD122 = invdx2*(-2.0/3.0*hDD12_i0_i1_i2m1 + (2.0/3.0)*hDD12_i0_i1_i2p1 + tmpFD28 + tmpFD29);
const double hDD_dD220 = invdx0*(-2.0/3.0*hDD22_i0m1_i1_i2 + (2.0/3.0)*hDD22_i0p1_i1_i2 + tmpFD30 + tmpFD31);
const double hDD_dD221 = invdx1*(-2.0/3.0*hDD22_i0_i1m1_i2 + (2.0/3.0)*hDD22_i0_i1p1_i2 + tmpFD32 + tmpFD33);
const double hDD_dD222 = invdx2*(-2.0/3.0*hDD22_i0_i1_i2m1 + (2.0/3.0)*hDD22_i0_i1_i2p1 + tmpFD34 + tmpFD35);
const double hDD_dDD0000 = tmpFD36*((4.0/3.0)*hDD00_i0m1_i1_i2 + (4.0/3.0)*hDD00_i0p1_i1_i2 - tmpFD0 + tmpFD1 + tmpFD37);
const double hDD_dDD0001 = tmpFD38*((4.0/9.0)*hDD00_i0m1_i1m1_i2 - 1.0/18.0*hDD00_i0m1_i1m2_i2 - 4.0/9.0*hDD00_i0m1_i1p1_i2 + (1.0/18.0)*hDD00_i0m1_i1p2_i2 - 1.0/18.0*hDD00_i0m2_i1m1_i2 + (1.0/144.0)*hDD00_i0m2_i1m2_i2 + (1.0/18.0)*hDD00_i0m2_i1p1_i2 - 1.0/144.0*hDD00_i0m2_i1p2_i2 - 4.0/9.0*hDD00_i0p1_i1m1_i2 + (1.0/18.0)*hDD00_i0p1_i1m2_i2 + (4.0/9.0)*hDD00_i0p1_i1p1_i2 - 1.0/18.0*hDD00_i0p1_i1p2_i2 + (1.0/18.0)*hDD00_i0p2_i1m1_i2 - 1.0/144.0*hDD00_i0p2_i1m2_i2 - 1.0/18.0*hDD00_i0p2_i1p1_i2 + (1.0/144.0)*hDD00_i0p2_i1p2_i2);
const double hDD_dDD0002 = tmpFD39*((4.0/9.0)*hDD00_i0m1_i1_i2m1 - 1.0/18.0*hDD00_i0m1_i1_i2m2 - 4.0/9.0*hDD00_i0m1_i1_i2p1 + (1.0/18.0)*hDD00_i0m1_i1_i2p2 - 1.0/18.0*hDD00_i0m2_i1_i2m1 + (1.0/144.0)*hDD00_i0m2_i1_i2m2 + (1.0/18.0)*hDD00_i0m2_i1_i2p1 - 1.0/144.0*hDD00_i0m2_i1_i2p2 - 4.0/9.0*hDD00_i0p1_i1_i2m1 + (1.0/18.0)*hDD00_i0p1_i1_i2m2 + (4.0/9.0)*hDD00_i0p1_i1_i2p1 - 1.0/18.0*hDD00_i0p1_i1_i2p2 + (1.0/18.0)*hDD00_i0p2_i1_i2m1 - 1.0/144.0*hDD00_i0p2_i1_i2m2 - 1.0/18.0*hDD00_i0p2_i1_i2p1 + (1.0/144.0)*hDD00_i0p2_i1_i2p2);
const double hDD_dDD0011 = tmpFD40*((4.0/3.0)*hDD00_i0_i1m1_i2 + (4.0/3.0)*hDD00_i0_i1p1_i2 - tmpFD2 + tmpFD3 + tmpFD37);
const double hDD_dDD0012 = tmpFD41*((4.0/9.0)*hDD00_i0_i1m1_i2m1 - 1.0/18.0*hDD00_i0_i1m1_i2m2 - 4.0/9.0*hDD00_i0_i1m1_i2p1 + (1.0/18.0)*hDD00_i0_i1m1_i2p2 - 1.0/18.0*hDD00_i0_i1m2_i2m1 + (1.0/144.0)*hDD00_i0_i1m2_i2m2 + (1.0/18.0)*hDD00_i0_i1m2_i2p1 - 1.0/144.0*hDD00_i0_i1m2_i2p2 - 4.0/9.0*hDD00_i0_i1p1_i2m1 + (1.0/18.0)*hDD00_i0_i1p1_i2m2 + (4.0/9.0)*hDD00_i0_i1p1_i2p1 - 1.0/18.0*hDD00_i0_i1p1_i2p2 + (1.0/18.0)*hDD00_i0_i1p2_i2m1 - 1.0/144.0*hDD00_i0_i1p2_i2m2 - 1.0/18.0*hDD00_i0_i1p2_i2p1 + (1.0/144.0)*hDD00_i0_i1p2_i2p2);
const double hDD_dDD0022 = tmpFD42*((4.0/3.0)*hDD00_i0_i1_i2m1 + (4.0/3.0)*hDD00_i0_i1_i2p1 + tmpFD37 - tmpFD4 + tmpFD5);
const double hDD_dDD0100 = tmpFD36*((4.0/3.0)*hDD01_i0m1_i1_i2 + (4.0/3.0)*hDD01_i0p1_i1_i2 + tmpFD43 - tmpFD6 + tmpFD7);
const double hDD_dDD0101 = tmpFD38*((4.0/9.0)*hDD01_i0m1_i1m1_i2 - 1.0/18.0*hDD01_i0m1_i1m2_i2 - 4.0/9.0*hDD01_i0m1_i1p1_i2 + (1.0/18.0)*hDD01_i0m1_i1p2_i2 - 1.0/18.0*hDD01_i0m2_i1m1_i2 + (1.0/144.0)*hDD01_i0m2_i1m2_i2 + (1.0/18.0)*hDD01_i0m2_i1p1_i2 - 1.0/144.0*hDD01_i0m2_i1p2_i2 - 4.0/9.0*hDD01_i0p1_i1m1_i2 + (1.0/18.0)*hDD01_i0p1_i1m2_i2 + (4.0/9.0)*hDD01_i0p1_i1p1_i2 - 1.0/18.0*hDD01_i0p1_i1p2_i2 + (1.0/18.0)*hDD01_i0p2_i1m1_i2 - 1.0/144.0*hDD01_i0p2_i1m2_i2 - 1.0/18.0*hDD01_i0p2_i1p1_i2 + (1.0/144.0)*hDD01_i0p2_i1p2_i2);
const double hDD_dDD0102 = tmpFD39*((4.0/9.0)*hDD01_i0m1_i1_i2m1 - 1.0/18.0*hDD01_i0m1_i1_i2m2 - 4.0/9.0*hDD01_i0m1_i1_i2p1 + (1.0/18.0)*hDD01_i0m1_i1_i2p2 - 1.0/18.0*hDD01_i0m2_i1_i2m1 + (1.0/144.0)*hDD01_i0m2_i1_i2m2 + (1.0/18.0)*hDD01_i0m2_i1_i2p1 - 1.0/144.0*hDD01_i0m2_i1_i2p2 - 4.0/9.0*hDD01_i0p1_i1_i2m1 + (1.0/18.0)*hDD01_i0p1_i1_i2m2 + (4.0/9.0)*hDD01_i0p1_i1_i2p1 - 1.0/18.0*hDD01_i0p1_i1_i2p2 + (1.0/18.0)*hDD01_i0p2_i1_i2m1 - 1.0/144.0*hDD01_i0p2_i1_i2m2 - 1.0/18.0*hDD01_i0p2_i1_i2p1 + (1.0/144.0)*hDD01_i0p2_i1_i2p2);
const double hDD_dDD0111 = tmpFD40*((4.0/3.0)*hDD01_i0_i1m1_i2 + (4.0/3.0)*hDD01_i0_i1p1_i2 + tmpFD43 - tmpFD8 + tmpFD9);
const double hDD_dDD0112 = tmpFD41*((4.0/9.0)*hDD01_i0_i1m1_i2m1 - 1.0/18.0*hDD01_i0_i1m1_i2m2 - 4.0/9.0*hDD01_i0_i1m1_i2p1 + (1.0/18.0)*hDD01_i0_i1m1_i2p2 - 1.0/18.0*hDD01_i0_i1m2_i2m1 + (1.0/144.0)*hDD01_i0_i1m2_i2m2 + (1.0/18.0)*hDD01_i0_i1m2_i2p1 - 1.0/144.0*hDD01_i0_i1m2_i2p2 - 4.0/9.0*hDD01_i0_i1p1_i2m1 + (1.0/18.0)*hDD01_i0_i1p1_i2m2 + (4.0/9.0)*hDD01_i0_i1p1_i2p1 - 1.0/18.0*hDD01_i0_i1p1_i2p2 + (1.0/18.0)*hDD01_i0_i1p2_i2m1 - 1.0/144.0*hDD01_i0_i1p2_i2m2 - 1.0/18.0*hDD01_i0_i1p2_i2p1 + (1.0/144.0)*hDD01_i0_i1p2_i2p2);
const double hDD_dDD0122 = tmpFD42*((4.0/3.0)*hDD01_i0_i1_i2m1 + (4.0/3.0)*hDD01_i0_i1_i2p1 - tmpFD10 + tmpFD11 + tmpFD43);
const double hDD_dDD0200 = tmpFD36*((4.0/3.0)*hDD02_i0m1_i1_i2 + (4.0/3.0)*hDD02_i0p1_i1_i2 - tmpFD12 + tmpFD13 + tmpFD44);
const double hDD_dDD0201 = tmpFD38*((4.0/9.0)*hDD02_i0m1_i1m1_i2 - 1.0/18.0*hDD02_i0m1_i1m2_i2 - 4.0/9.0*hDD02_i0m1_i1p1_i2 + (1.0/18.0)*hDD02_i0m1_i1p2_i2 - 1.0/18.0*hDD02_i0m2_i1m1_i2 + (1.0/144.0)*hDD02_i0m2_i1m2_i2 + (1.0/18.0)*hDD02_i0m2_i1p1_i2 - 1.0/144.0*hDD02_i0m2_i1p2_i2 - 4.0/9.0*hDD02_i0p1_i1m1_i2 + (1.0/18.0)*hDD02_i0p1_i1m2_i2 + (4.0/9.0)*hDD02_i0p1_i1p1_i2 - 1.0/18.0*hDD02_i0p1_i1p2_i2 + (1.0/18.0)*hDD02_i0p2_i1m1_i2 - 1.0/144.0*hDD02_i0p2_i1m2_i2 - 1.0/18.0*hDD02_i0p2_i1p1_i2 + (1.0/144.0)*hDD02_i0p2_i1p2_i2);
const double hDD_dDD0202 = tmpFD39*((4.0/9.0)*hDD02_i0m1_i1_i2m1 - 1.0/18.0*hDD02_i0m1_i1_i2m2 - 4.0/9.0*hDD02_i0m1_i1_i2p1 + (1.0/18.0)*hDD02_i0m1_i1_i2p2 - 1.0/18.0*hDD02_i0m2_i1_i2m1 + (1.0/144.0)*hDD02_i0m2_i1_i2m2 + (1.0/18.0)*hDD02_i0m2_i1_i2p1 - 1.0/144.0*hDD02_i0m2_i1_i2p2 - 4.0/9.0*hDD02_i0p1_i1_i2m1 + (1.0/18.0)*hDD02_i0p1_i1_i2m2 + (4.0/9.0)*hDD02_i0p1_i1_i2p1 - 1.0/18.0*hDD02_i0p1_i1_i2p2 + (1.0/18.0)*hDD02_i0p2_i1_i2m1 - 1.0/144.0*hDD02_i0p2_i1_i2m2 - 1.0/18.0*hDD02_i0p2_i1_i2p1 + (1.0/144.0)*hDD02_i0p2_i1_i2p2);
const double hDD_dDD0211 = tmpFD40*((4.0/3.0)*hDD02_i0_i1m1_i2 + (4.0/3.0)*hDD02_i0_i1p1_i2 - tmpFD14 + tmpFD15 + tmpFD44);
const double hDD_dDD0212 = tmpFD41*((4.0/9.0)*hDD02_i0_i1m1_i2m1 - 1.0/18.0*hDD02_i0_i1m1_i2m2 - 4.0/9.0*hDD02_i0_i1m1_i2p1 + (1.0/18.0)*hDD02_i0_i1m1_i2p2 - 1.0/18.0*hDD02_i0_i1m2_i2m1 + (1.0/144.0)*hDD02_i0_i1m2_i2m2 + (1.0/18.0)*hDD02_i0_i1m2_i2p1 - 1.0/144.0*hDD02_i0_i1m2_i2p2 - 4.0/9.0*hDD02_i0_i1p1_i2m1 + (1.0/18.0)*hDD02_i0_i1p1_i2m2 + (4.0/9.0)*hDD02_i0_i1p1_i2p1 - 1.0/18.0*hDD02_i0_i1p1_i2p2 + (1.0/18.0)*hDD02_i0_i1p2_i2m1 - 1.0/144.0*hDD02_i0_i1p2_i2m2 - 1.0/18.0*hDD02_i0_i1p2_i2p1 + (1.0/144.0)*hDD02_i0_i1p2_i2p2);
const double hDD_dDD0222 = tmpFD42*((4.0/3.0)*hDD02_i0_i1_i2m1 + (4.0/3.0)*hDD02_i0_i1_i2p1 - tmpFD16 + tmpFD17 + tmpFD44);
const double hDD_dDD1100 = tmpFD36*((4.0/3.0)*hDD11_i0m1_i1_i2 + (4.0/3.0)*hDD11_i0p1_i1_i2 - tmpFD18 + tmpFD19 + tmpFD45);
const double hDD_dDD1101 = tmpFD38*((4.0/9.0)*hDD11_i0m1_i1m1_i2 - 1.0/18.0*hDD11_i0m1_i1m2_i2 - 4.0/9.0*hDD11_i0m1_i1p1_i2 + (1.0/18.0)*hDD11_i0m1_i1p2_i2 - 1.0/18.0*hDD11_i0m2_i1m1_i2 + (1.0/144.0)*hDD11_i0m2_i1m2_i2 + (1.0/18.0)*hDD11_i0m2_i1p1_i2 - 1.0/144.0*hDD11_i0m2_i1p2_i2 - 4.0/9.0*hDD11_i0p1_i1m1_i2 + (1.0/18.0)*hDD11_i0p1_i1m2_i2 + (4.0/9.0)*hDD11_i0p1_i1p1_i2 - 1.0/18.0*hDD11_i0p1_i1p2_i2 + (1.0/18.0)*hDD11_i0p2_i1m1_i2 - 1.0/144.0*hDD11_i0p2_i1m2_i2 - 1.0/18.0*hDD11_i0p2_i1p1_i2 + (1.0/144.0)*hDD11_i0p2_i1p2_i2);
const double hDD_dDD1102 = tmpFD39*((4.0/9.0)*hDD11_i0m1_i1_i2m1 - 1.0/18.0*hDD11_i0m1_i1_i2m2 - 4.0/9.0*hDD11_i0m1_i1_i2p1 + (1.0/18.0)*hDD11_i0m1_i1_i2p2 - 1.0/18.0*hDD11_i0m2_i1_i2m1 + (1.0/144.0)*hDD11_i0m2_i1_i2m2 + (1.0/18.0)*hDD11_i0m2_i1_i2p1 - 1.0/144.0*hDD11_i0m2_i1_i2p2 - 4.0/9.0*hDD11_i0p1_i1_i2m1 + (1.0/18.0)*hDD11_i0p1_i1_i2m2 + (4.0/9.0)*hDD11_i0p1_i1_i2p1 - 1.0/18.0*hDD11_i0p1_i1_i2p2 + (1.0/18.0)*hDD11_i0p2_i1_i2m1 - 1.0/144.0*hDD11_i0p2_i1_i2m2 - 1.0/18.0*hDD11_i0p2_i1_i2p1 + (1.0/144.0)*hDD11_i0p2_i1_i2p2);
const double hDD_dDD1111 = tmpFD40*((4.0/3.0)*hDD11_i0_i1m1_i2 + (4.0/3.0)*hDD11_i0_i1p1_i2 - tmpFD20 + tmpFD21 + tmpFD45);
const double hDD_dDD1112 = tmpFD41*((4.0/9.0)*hDD11_i0_i1m1_i2m1 - 1.0/18.0*hDD11_i0_i1m1_i2m2 - 4.0/9.0*hDD11_i0_i1m1_i2p1 + (1.0/18.0)*hDD11_i0_i1m1_i2p2 - 1.0/18.0*hDD11_i0_i1m2_i2m1 + (1.0/144.0)*hDD11_i0_i1m2_i2m2 + (1.0/18.0)*hDD11_i0_i1m2_i2p1 - 1.0/144.0*hDD11_i0_i1m2_i2p2 - 4.0/9.0*hDD11_i0_i1p1_i2m1 + (1.0/18.0)*hDD11_i0_i1p1_i2m2 + (4.0/9.0)*hDD11_i0_i1p1_i2p1 - 1.0/18.0*hDD11_i0_i1p1_i2p2 + (1.0/18.0)*hDD11_i0_i1p2_i2m1 - 1.0/144.0*hDD11_i0_i1p2_i2m2 - 1.0/18.0*hDD11_i0_i1p2_i2p1 + (1.0/144.0)*hDD11_i0_i1p2_i2p2);
const double hDD_dDD1122 = tmpFD42*((4.0/3.0)*hDD11_i0_i1_i2m1 + (4.0/3.0)*hDD11_i0_i1_i2p1 - tmpFD22 + tmpFD23 + tmpFD45);
const double hDD_dDD1200 = tmpFD36*((4.0/3.0)*hDD12_i0m1_i1_i2 + (4.0/3.0)*hDD12_i0p1_i1_i2 - tmpFD24 + tmpFD25 + tmpFD46);
const double hDD_dDD1201 = tmpFD38*((4.0/9.0)*hDD12_i0m1_i1m1_i2 - 1.0/18.0*hDD12_i0m1_i1m2_i2 - 4.0/9.0*hDD12_i0m1_i1p1_i2 + (1.0/18.0)*hDD12_i0m1_i1p2_i2 - 1.0/18.0*hDD12_i0m2_i1m1_i2 + (1.0/144.0)*hDD12_i0m2_i1m2_i2 + (1.0/18.0)*hDD12_i0m2_i1p1_i2 - 1.0/144.0*hDD12_i0m2_i1p2_i2 - 4.0/9.0*hDD12_i0p1_i1m1_i2 + (1.0/18.0)*hDD12_i0p1_i1m2_i2 + (4.0/9.0)*hDD12_i0p1_i1p1_i2 - 1.0/18.0*hDD12_i0p1_i1p2_i2 + (1.0/18.0)*hDD12_i0p2_i1m1_i2 - 1.0/144.0*hDD12_i0p2_i1m2_i2 - 1.0/18.0*hDD12_i0p2_i1p1_i2 + (1.0/144.0)*hDD12_i0p2_i1p2_i2);
const double hDD_dDD1202 = tmpFD39*((4.0/9.0)*hDD12_i0m1_i1_i2m1 - 1.0/18.0*hDD12_i0m1_i1_i2m2 - 4.0/9.0*hDD12_i0m1_i1_i2p1 + (1.0/18.0)*hDD12_i0m1_i1_i2p2 - 1.0/18.0*hDD12_i0m2_i1_i2m1 + (1.0/144.0)*hDD12_i0m2_i1_i2m2 + (1.0/18.0)*hDD12_i0m2_i1_i2p1 - 1.0/144.0*hDD12_i0m2_i1_i2p2 - 4.0/9.0*hDD12_i0p1_i1_i2m1 + (1.0/18.0)*hDD12_i0p1_i1_i2m2 + (4.0/9.0)*hDD12_i0p1_i1_i2p1 - 1.0/18.0*hDD12_i0p1_i1_i2p2 + (1.0/18.0)*hDD12_i0p2_i1_i2m1 - 1.0/144.0*hDD12_i0p2_i1_i2m2 - 1.0/18.0*hDD12_i0p2_i1_i2p1 + (1.0/144.0)*hDD12_i0p2_i1_i2p2);
const double hDD_dDD1211 = tmpFD40*((4.0/3.0)*hDD12_i0_i1m1_i2 + (4.0/3.0)*hDD12_i0_i1p1_i2 - tmpFD26 + tmpFD27 + tmpFD46);
const double hDD_dDD1212 = tmpFD41*((4.0/9.0)*hDD12_i0_i1m1_i2m1 - 1.0/18.0*hDD12_i0_i1m1_i2m2 - 4.0/9.0*hDD12_i0_i1m1_i2p1 + (1.0/18.0)*hDD12_i0_i1m1_i2p2 - 1.0/18.0*hDD12_i0_i1m2_i2m1 + (1.0/144.0)*hDD12_i0_i1m2_i2m2 + (1.0/18.0)*hDD12_i0_i1m2_i2p1 - 1.0/144.0*hDD12_i0_i1m2_i2p2 - 4.0/9.0*hDD12_i0_i1p1_i2m1 + (1.0/18.0)*hDD12_i0_i1p1_i2m2 + (4.0/9.0)*hDD12_i0_i1p1_i2p1 - 1.0/18.0*hDD12_i0_i1p1_i2p2 + (1.0/18.0)*hDD12_i0_i1p2_i2m1 - 1.0/144.0*hDD12_i0_i1p2_i2m2 - 1.0/18.0*hDD12_i0_i1p2_i2p1 + (1.0/144.0)*hDD12_i0_i1p2_i2p2);
const double hDD_dDD1222 = tmpFD42*((4.0/3.0)*hDD12_i0_i1_i2m1 + (4.0/3.0)*hDD12_i0_i1_i2p1 - tmpFD28 + tmpFD29 + tmpFD46);
const double hDD_dDD2200 = tmpFD36*((4.0/3.0)*hDD22_i0m1_i1_i2 + (4.0/3.0)*hDD22_i0p1_i1_i2 - tmpFD30 + tmpFD31 + tmpFD47);
const double hDD_dDD2201 = tmpFD38*((4.0/9.0)*hDD22_i0m1_i1m1_i2 - 1.0/18.0*hDD22_i0m1_i1m2_i2 - 4.0/9.0*hDD22_i0m1_i1p1_i2 + (1.0/18.0)*hDD22_i0m1_i1p2_i2 - 1.0/18.0*hDD22_i0m2_i1m1_i2 + (1.0/144.0)*hDD22_i0m2_i1m2_i2 + (1.0/18.0)*hDD22_i0m2_i1p1_i2 - 1.0/144.0*hDD22_i0m2_i1p2_i2 - 4.0/9.0*hDD22_i0p1_i1m1_i2 + (1.0/18.0)*hDD22_i0p1_i1m2_i2 + (4.0/9.0)*hDD22_i0p1_i1p1_i2 - 1.0/18.0*hDD22_i0p1_i1p2_i2 + (1.0/18.0)*hDD22_i0p2_i1m1_i2 - 1.0/144.0*hDD22_i0p2_i1m2_i2 - 1.0/18.0*hDD22_i0p2_i1p1_i2 + (1.0/144.0)*hDD22_i0p2_i1p2_i2);
const double hDD_dDD2202 = tmpFD39*((4.0/9.0)*hDD22_i0m1_i1_i2m1 - 1.0/18.0*hDD22_i0m1_i1_i2m2 - 4.0/9.0*hDD22_i0m1_i1_i2p1 + (1.0/18.0)*hDD22_i0m1_i1_i2p2 - 1.0/18.0*hDD22_i0m2_i1_i2m1 + (1.0/144.0)*hDD22_i0m2_i1_i2m2 + (1.0/18.0)*hDD22_i0m2_i1_i2p1 - 1.0/144.0*hDD22_i0m2_i1_i2p2 - 4.0/9.0*hDD22_i0p1_i1_i2m1 + (1.0/18.0)*hDD22_i0p1_i1_i2m2 + (4.0/9.0)*hDD22_i0p1_i1_i2p1 - 1.0/18.0*hDD22_i0p1_i1_i2p2 + (1.0/18.0)*hDD22_i0p2_i1_i2m1 - 1.0/144.0*hDD22_i0p2_i1_i2m2 - 1.0/18.0*hDD22_i0p2_i1_i2p1 + (1.0/144.0)*hDD22_i0p2_i1_i2p2);
const double hDD_dDD2211 = tmpFD40*((4.0/3.0)*hDD22_i0_i1m1_i2 + (4.0/3.0)*hDD22_i0_i1p1_i2 - tmpFD32 + tmpFD33 + tmpFD47);
const double hDD_dDD2212 = tmpFD41*((4.0/9.0)*hDD22_i0_i1m1_i2m1 - 1.0/18.0*hDD22_i0_i1m1_i2m2 - 4.0/9.0*hDD22_i0_i1m1_i2p1 + (1.0/18.0)*hDD22_i0_i1m1_i2p2 - 1.0/18.0*hDD22_i0_i1m2_i2m1 + (1.0/144.0)*hDD22_i0_i1m2_i2m2 + (1.0/18.0)*hDD22_i0_i1m2_i2p1 - 1.0/144.0*hDD22_i0_i1m2_i2p2 - 4.0/9.0*hDD22_i0_i1p1_i2m1 + (1.0/18.0)*hDD22_i0_i1p1_i2m2 + (4.0/9.0)*hDD22_i0_i1p1_i2p1 - 1.0/18.0*hDD22_i0_i1p1_i2p2 + (1.0/18.0)*hDD22_i0_i1p2_i2m1 - 1.0/144.0*hDD22_i0_i1p2_i2m2 - 1.0/18.0*hDD22_i0_i1p2_i2p1 + (1.0/144.0)*hDD22_i0_i1p2_i2p2);
const double hDD_dDD2222 = tmpFD42*((4.0/3.0)*hDD22_i0_i1_i2m1 + (4.0/3.0)*hDD22_i0_i1_i2p1 - tmpFD34 + tmpFD35 + tmpFD47);
const double lambdaU_dD00 = invdx0*(-2.0/3.0*lambdaU0_i0m1_i1_i2 + (1.0/12.0)*lambdaU0_i0m2_i1_i2 + (2.0/3.0)*lambdaU0_i0p1_i1_i2 - 1.0/12.0*lambdaU0_i0p2_i1_i2);
const double lambdaU_dD01 = invdx1*(-2.0/3.0*lambdaU0_i0_i1m1_i2 + (1.0/12.0)*lambdaU0_i0_i1m2_i2 + (2.0/3.0)*lambdaU0_i0_i1p1_i2 - 1.0/12.0*lambdaU0_i0_i1p2_i2);
const double lambdaU_dD02 = invdx2*(-2.0/3.0*lambdaU0_i0_i1_i2m1 + (1.0/12.0)*lambdaU0_i0_i1_i2m2 + (2.0/3.0)*lambdaU0_i0_i1_i2p1 - 1.0/12.0*lambdaU0_i0_i1_i2p2);
const double lambdaU_dD10 = invdx0*(-2.0/3.0*lambdaU1_i0m1_i1_i2 + (1.0/12.0)*lambdaU1_i0m2_i1_i2 + (2.0/3.0)*lambdaU1_i0p1_i1_i2 - 1.0/12.0*lambdaU1_i0p2_i1_i2);
const double lambdaU_dD11 = invdx1*(-2.0/3.0*lambdaU1_i0_i1m1_i2 + (1.0/12.0)*lambdaU1_i0_i1m2_i2 + (2.0/3.0)*lambdaU1_i0_i1p1_i2 - 1.0/12.0*lambdaU1_i0_i1p2_i2);
const double lambdaU_dD12 = invdx2*(-2.0/3.0*lambdaU1_i0_i1_i2m1 + (1.0/12.0)*lambdaU1_i0_i1_i2m2 + (2.0/3.0)*lambdaU1_i0_i1_i2p1 - 1.0/12.0*lambdaU1_i0_i1_i2p2);
const double lambdaU_dD20 = invdx0*(-2.0/3.0*lambdaU2_i0m1_i1_i2 + (1.0/12.0)*lambdaU2_i0m2_i1_i2 + (2.0/3.0)*lambdaU2_i0p1_i1_i2 - 1.0/12.0*lambdaU2_i0p2_i1_i2);
const double lambdaU_dD21 = invdx1*(-2.0/3.0*lambdaU2_i0_i1m1_i2 + (1.0/12.0)*lambdaU2_i0_i1m2_i2 + (2.0/3.0)*lambdaU2_i0_i1p1_i2 - 1.0/12.0*lambdaU2_i0_i1p2_i2);
const double lambdaU_dD22 = invdx2*(-2.0/3.0*lambdaU2_i0_i1_i2m1 + (1.0/12.0)*lambdaU2_i0_i1_i2m2 + (2.0/3.0)*lambdaU2_i0_i1_i2p1 - 1.0/12.0*lambdaU2_i0_i1_i2p2);
const double tmpFD0 = ((invdx0)*(invdx0));
const double tmpFD1 = -2*hDD00;
const double tmpFD2 = invdx0*invdx1;
const double tmpFD3 = invdx0*invdx2;
const double tmpFD4 = ((invdx1)*(invdx1));
const double tmpFD5 = invdx1*invdx2;
const double tmpFD6 = ((invdx2)*(invdx2));
const double tmpFD7 = -2*hDD01;
const double tmpFD8 = -2*hDD02;
const double tmpFD9 = -2*hDD11;
const double tmpFD10 = -2*hDD12;
const double tmpFD11 = -2*hDD22;
const double hDD_dD000 = invdx0*(-1.0/2.0*hDD00_i0m1_i1_i2 + (1.0/2.0)*hDD00_i0p1_i1_i2);
const double hDD_dD001 = invdx1*(-1.0/2.0*hDD00_i0_i1m1_i2 + (1.0/2.0)*hDD00_i0_i1p1_i2);
const double hDD_dD002 = invdx2*(-1.0/2.0*hDD00_i0_i1_i2m1 + (1.0/2.0)*hDD00_i0_i1_i2p1);
const double hDD_dD010 = invdx0*(-1.0/2.0*hDD01_i0m1_i1_i2 + (1.0/2.0)*hDD01_i0p1_i1_i2);
const double hDD_dD011 = invdx1*(-1.0/2.0*hDD01_i0_i1m1_i2 + (1.0/2.0)*hDD01_i0_i1p1_i2);
const double hDD_dD012 = invdx2*(-1.0/2.0*hDD01_i0_i1_i2m1 + (1.0/2.0)*hDD01_i0_i1_i2p1);
const double hDD_dD020 = invdx0*(-1.0/2.0*hDD02_i0m1_i1_i2 + (1.0/2.0)*hDD02_i0p1_i1_i2);
const double hDD_dD021 = invdx1*(-1.0/2.0*hDD02_i0_i1m1_i2 + (1.0/2.0)*hDD02_i0_i1p1_i2);
const double hDD_dD022 = invdx2*(-1.0/2.0*hDD02_i0_i1_i2m1 + (1.0/2.0)*hDD02_i0_i1_i2p1);
const double hDD_dD110 = invdx0*(-1.0/2.0*hDD11_i0m1_i1_i2 + (1.0/2.0)*hDD11_i0p1_i1_i2);
const double hDD_dD111 = invdx1*(-1.0/2.0*hDD11_i0_i1m1_i2 + (1.0/2.0)*hDD11_i0_i1p1_i2);
const double hDD_dD112 = invdx2*(-1.0/2.0*hDD11_i0_i1_i2m1 + (1.0/2.0)*hDD11_i0_i1_i2p1);
const double hDD_dD120 = invdx0*(-1.0/2.0*hDD12_i0m1_i1_i2 + (1.0/2.0)*hDD12_i0p1_i1_i2);
const double hDD_dD121 = invdx1*(-1.0/2.0*hDD12_i0_i1m1_i2 + (1.0/2.0)*hDD12_i0_i1p1_i2);
const double hDD_dD122 = invdx2*(-1.0/2.0*hDD12_i0_i1_i2m1 + (1.0/2.0)*hDD12_i0_i1_i2p1);
const double hDD_dD220 = invdx0*(-1.0/2.0*hDD22_i0m1_i1_i2 + (1.0/2.0)*hDD22_i0p1_i1_i2);
const double hDD_dD221 = invdx1*(-1.0/2.0*hDD22_i0_i1m1_i2 + (1.0/2.0)*hDD22_i0_i1p1_i2);
const double hDD_dD222 = invdx2*(-1.0/2.0*hDD22_i0_i1_i2m1 + (1.0/2.0)*hDD22_i0_i1_i2p1);
const double hDD_dDD0000 = tmpFD0*(hDD00_i0m1_i1_i2 + hDD00_i0p1_i1_i2 + tmpFD1);
const double hDD_dDD0001 = tmpFD2*((1.0/4.0)*hDD00_i0m1_i1m1_i2 - 1.0/4.0*hDD00_i0m1_i1p1_i2 - 1.0/4.0*hDD00_i0p1_i1m1_i2 + (1.0/4.0)*hDD00_i0p1_i1p1_i2);
const double hDD_dDD0002 = tmpFD3*((1.0/4.0)*hDD00_i0m1_i1_i2m1 - 1.0/4.0*hDD00_i0m1_i1_i2p1 - 1.0/4.0*hDD00_i0p1_i1_i2m1 + (1.0/4.0)*hDD00_i0p1_i1_i2p1);
const double hDD_dDD0011 = tmpFD4*(hDD00_i0_i1m1_i2 + hDD00_i0_i1p1_i2 + tmpFD1);
const double hDD_dDD0012 = tmpFD5*((1.0/4.0)*hDD00_i0_i1m1_i2m1 - 1.0/4.0*hDD00_i0_i1m1_i2p1 - 1.0/4.0*hDD00_i0_i1p1_i2m1 + (1.0/4.0)*hDD00_i0_i1p1_i2p1);
const double hDD_dDD0022 = tmpFD6*(hDD00_i0_i1_i2m1 + hDD00_i0_i1_i2p1 + tmpFD1);
const double hDD_dDD0100 = tmpFD0*(hDD01_i0m1_i1_i2 + hDD01_i0p1_i1_i2 + tmpFD7);
const double hDD_dDD0101 = tmpFD2*((1.0/4.0)*hDD01_i0m1_i1m1_i2 - 1.0/4.0*hDD01_i0m1_i1p1_i2 - 1.0/4.0*hDD01_i0p1_i1m1_i2 + (1.0/4.0)*hDD01_i0p1_i1p1_i2);
const double hDD_dDD0102 = tmpFD3*((1.0/4.0)*hDD01_i0m1_i1_i2m1 - 1.0/4.0*hDD01_i0m1_i1_i2p1 - 1.0/4.0*hDD01_i0p1_i1_i2m1 + (1.0/4.0)*hDD01_i0p1_i1_i2p1);
const double hDD_dDD0111 = tmpFD4*(hDD01_i0_i1m1_i2 + hDD01_i0_i1p1_i2 + tmpFD7);
const double hDD_dDD0112 = tmpFD5*((1.0/4.0)*hDD01_i0_i1m1_i2m1 - 1.0/4.0*hDD01_i0_i1m1_i2p1 - 1.0/4.0*hDD01_i0_i1p1_i2m1 + (1.0/4.0)*hDD01_i0_i1p1_i2p1);
const double hDD_dDD0122 = tmpFD6*(hDD01_i0_i1_i2m1 + hDD01_i0_i1_i2p1 + tmpFD7);
const double hDD_dDD0200 = tmpFD0*(hDD02_i0m1_i1_i2 + hDD02_i0p1_i1_i2 + tmpFD8);
const double hDD_dDD0201 = tmpFD2*((1.0/4.0)*hDD02_i0m1_i1m1_i2 - 1.0/4.0*hDD02_i0m1_i1p1_i2 - 1.0/4.0*hDD02_i0p1_i1m1_i2 + (1.0/4.0)*hDD02_i0p1_i1p1_i2);
const double hDD_dDD0202 = tmpFD3*((1.0/4.0)*hDD02_i0m1_i1_i2m1 - 1.0/4.0*hDD02_i0m1_i1_i2p1 - 1.0/4.0*hDD02_i0p1_i1_i2m1 + (1.0/4.0)*hDD02_i0p1_i1_i2p1);
const double hDD_dDD0211 = tmpFD4*(hDD02_i0_i1m1_i2 + hDD02_i0_i1p1_i2 + tmpFD8);
const double hDD_dDD0212 = tmpFD5*((1.0/4.0)*hDD02_i0_i1m1_i2m1 - 1.0/4.0*hDD02_i0_i1m1_i2p1 - 1.0/4.0*hDD02_i0_i1p1_i2m1 + (1.0/4.0)*hDD02_i0_i1p1_i2p1);
const double hDD_dDD0222 = tmpFD6*(hDD02_i0_i1_i2m1 + hDD02_i0_i1_i2p1 + tmpFD8);
const double hDD_dDD1100 = tmpFD0*(hDD11_i0m1_i1_i2 + hDD11_i0p1_i1_i2 + tmpFD9);
const double hDD_dDD1101 = tmpFD2*((1.0/4.0)*hDD11_i0m1_i1m1_i2 - 1.0/4.0*hDD11_i0m1_i1p1_i2 - 1.0/4.0*hDD11_i0p1_i1m1_i2 + (1.0/4.0)*hDD11_i0p1_i1p1_i2);
const double hDD_dDD1102 = tmpFD3*((1.0/4.0)*hDD11_i0m1_i1_i2m1 - 1.0/4.0*hDD11_i0m1_i1_i2p1 - 1.0/4.0*hDD11_i0p1_i1_i2m1 + (1.0/4.0)*hDD11_i0p1_i1_i2p1);
const double hDD_dDD1111 = tmpFD4*(hDD11_i0_i1m1_i2 + hDD11_i0_i1p1_i2 + tmpFD9);
const double hDD_dDD1112 = tmpFD5*((1.0/4.0)*hDD11_i0_i1m1_i2m1 - 1.0/4.0*hDD11_i0_i1m1_i2p1 - 1.0/4.0*hDD11_i0_i1p1_i2m1 + (1.0/4.0)*hDD11_i0_i1p1_i2p1);
const double hDD_dDD1122 = tmpFD6*(hDD11_i0_i1_i2m1 + hDD11_i0_i1_i2p1 + tmpFD9);
const double hDD_dDD1200 = tmpFD0*(hDD12_i0m1_i1_i2 + hDD12_i0p1_i1_i2 + tmpFD10);
const double hDD_dDD1201 = tmpFD2*((1.0/4.0)*hDD12_i0m1_i1m1_i2 - 1.0/4.0*hDD12_i0m1_i1p1_i2 - 1.0/4.0*hDD12_i0p1_i1m1_i2 + (1.0/4.0)*hDD12_i0p1_i1p1_i2);
const double hDD_dDD1202 = tmpFD3*((1.0/4.0)*hDD12_i0m1_i1_i2m1 - 1.0/4.0*hDD12_i0m1_i1_i2p1 - 1.0/4.0*hDD12_i0p1_i1_i2m1 + (1.0/4.0)*hDD12_i0p1_i1_i2p1);
const double hDD_dDD1211 = tmpFD4*(hDD12_i0_i1m1_i2 + hDD12_i0_i1p1_i2 + tmpFD10);
const double hDD_dDD1212 = tmpFD5*((1.0/4.0)*hDD12_i0_i1m1_i2m1 - 1.0/4.0*hDD12_i0_i1m1_i2p1 - 1.0/4.0*hDD12_i0_i1p1_i2m1 + (1.0/4.0)*hDD12_i0_i1p1_i2p1);
const double hDD_dDD1222 = tmpFD6*(hDD12_i0_i1_i2m1 + hDD12_i0_i1_i2p1 + tmpFD10);
const double hDD_dDD2200 = tmpFD0*(hDD22_i0m1_i1_i2 + hDD22_i0p1_i1_i2 + tmpFD11);
const double hDD_dDD2201 = tmpFD2*((1.0/4.0)*hDD22_i0m1_i1m1_i2 - 1.0/4.0*hDD22_i0m1_i1p1_i2 - 1.0/4.0*hDD22_i0p1_i1m1_i2 + (1.0/4.0)*hDD22_i0p1_i1p1_i2);
const double hDD_dDD2202 = tmpFD3*((1.0/4.0)*hDD22_i0m1_i1_i2m1 - 1.0/4.0*hDD22_i0m1_i1_i2p1 - 1.0/4.0*hDD22_i0p1_i1_i2m1 + (1.0/4.0)*hDD22_i0p1_i1_i2p1);
const double hDD_dDD2211 = tmpFD4*(hDD22_i0_i1m1_i2 + hDD22_i0_i1p1_i2 + tmpFD11);
const double hDD_dDD2212 = tmpFD5*((1.0/4.0)*hDD22_i0_i1m1_i2m1 - 1.0/4.0*hDD22_i0_i1m1_i2p1 - 1.0/4.0*hDD22_i0_i1p1_i2m1 + (1.0/4.0)*hDD22_i0_i1p1_i2p1);
const double hDD_dDD2222 = tmpFD6*(hDD22_i0_i1_i2m1 + hDD22_i0_i1_i2p1 + tmpFD11);
const double lambdaU_dD00 = invdx0*(-1.0/2.0*lambdaU0_i0m1_i1_i2 + (1.0/2.0)*lambdaU0_i0p1_i1_i2);
const double lambdaU_dD01 = invdx1*(-1.0/2.0*lambdaU0_i0_i1m1_i2 + (1.0/2.0)*lambdaU0_i0_i1p1_i2);
const double lambdaU_dD02 = invdx2*(-1.0/2.0*lambdaU0_i0_i1_i2m1 + (1.0/2.0)*lambdaU0_i0_i1_i2p1);
const double lambdaU_dD10 = invdx0*(-1.0/2.0*lambdaU1_i0m1_i1_i2 + (1.0/2.0)*lambdaU1_i0p1_i1_i2);
const double lambdaU_dD11 = invdx1*(-1.0/2.0*lambdaU1_i0_i1m1_i2 + (1.0/2.0)*lambdaU1_i0_i1p1_i2);
const double lambdaU_dD12 = invdx2*(-1.0/2.0*lambdaU1_i0_i1_i2m1 + (1.0/2.0)*lambdaU1_i0_i1_i2p1);
const double lambdaU_dD20 = invdx0*(-1.0/2.0*lambdaU2_i0m1_i1_i2 + (1.0/2.0)*lambdaU2_i0p1_i1_i2);
const double lambdaU_dD21 = invdx1*(-1.0/2.0*lambdaU2_i0_i1m1_i2 + (1.0/2.0)*lambdaU2_i0_i1p1_i2);
const double lambdaU_dD22 = invdx2*(-1.0/2.0*lambdaU2_i0_i1_i2m1 + (1.0/2.0)*lambdaU2_i0_i1_i2p1);
const double hDD00_i0_i1m2_i2m2 = hDD00GF_.ptr[hDD00GF_.offset(i0,i1-2,i2-2)];
const double hDD00_i0_i1m1_i2m2 = hDD00GF_.ptr[hDD00GF_.offset(i0,i1-1,i2-2)];
const double hDD00_i0m2_i1_i2m2 = hDD00GF_.ptr[hDD00GF_.offset(i0-2,i1,i2-2)];
const double hDD00_i0m1_i1_i2m2 = hDD00GF_.ptr[hDD00GF_.offset(i0-1,i1,i2-2)];
const double hDD00_i0_i1_i2m2 = hDD00GF_.ptr[hDD00GF_.offset(i0,i1,i2-2)];
const double hDD00_i0p1_i1_i2m2 = hDD00GF_.ptr[hDD00GF_.offset(i0+1,i1,i2-2)];
const double hDD00_i0p2_i1_i2m2 = hDD00GF_.ptr[hDD00GF_.offset(i0+2,i1,i2-2)];
const double hDD00_i0_i1p1_i2m2 = hDD00GF_.ptr[hDD00GF_.offset(i0,i1+1,i2-2)];
const double hDD00_i0_i1p2_i2m2 = hDD00GF_.ptr[hDD00GF_.offset(i0,i1+2,i2-2)];
const double hDD00_i0_i1m2_i2m1 = hDD00GF_.ptr[hDD00GF_.offset(i0,i1-2,i2-1)];
const double hDD00_i0_i1p2_i2m1 = hDD00GF_.ptr[hDD00GF_.offset(i0,i1+2,i2-1)];
const double hDD00_i0m2_i1m2_i2 = hDD00GF_.ptr[hDD00GF_.offset(i0-2,i1-2,i2)];
const double hDD00_i0m1_i1m2_i2 = hDD00GF_.ptr[hDD00GF_.offset(i0-1,i1-2,i2)];
const double hDD00_i0_i1m2_i2 = hDD00GF_.ptr[hDD00GF_.offset(i0,i1-2,i2)];
const double hDD00_i0p1_i1m2_i2 = hDD00GF_.ptr[hDD00GF_.offset(i0+1,i1-2,i2)];
const double hDD00_i0p2_i1m2_i2 = hDD00GF_.ptr[hDD00GF_.offset(i0+2,i1-2,i2)];
const double hDD00_i0m2_i1m1_i2 = hDD00GF_.ptr[hDD00GF_.offset(i0-2,i1-1,i2)];
const double hDD00_i0p2_i1p1_i2 = hDD00GF_.ptr[hDD00GF_.offset(i0+2,i1+1,i2)];
const double hDD00_i0m2_i1p2_i2 = hDD00GF_.ptr[hDD00GF_.offset(i0-2,i1+2,i2)];
const double hDD00_i0m1_i1p2_i2 = hDD00GF_.ptr[hDD00GF_.offset(i0-1,i1+2,i2)];
const double hDD00_i0_i1p2_i2 = hDD00GF_.ptr[hDD00GF_.offset(i0,i1+2,i2)];
const double hDD00_i0p1_i1p2_i2 = hDD00GF_.ptr[hDD00GF_.offset(i0+1,i1+2,i2)];
const double hDD00_i0p2_i1p2_i2 = hDD00GF_.ptr[hDD00GF_.offset(i0+2,i1+2,i2)];
const double hDD00_i0_i1m2_i2p1 = hDD00GF_.ptr[hDD00GF_.offset(i0,i1-2,i2+1)];
const double hDD00_i0_i1p2_i2p1 = hDD00GF_.ptr[hDD00GF_.offset(i0,i1+2,i2+1)];
const double hDD00_i0_i1m2_i2p2 = hDD00GF_.ptr[hDD00GF_.offset(i0,i1-2,i2+2)];
const double hDD00_i0_i1m1_i2p2 = hDD00GF_.ptr[hDD00GF_.offset(i0,i1-1,i2+2)];
const double hDD00_i0m2_i1_i2p2 = hDD00GF_.ptr[hDD00GF_.offset(i0-2,i1,i2+2)];
const double hDD00_i0m1_i1_i2p2 = hDD00GF_.ptr[hDD00GF_.offset(i0-1,i1,i2+2)];
const double hDD00_i0_i1_i2p2 = hDD00GF_.ptr[hDD00GF_.offset(i0,i1,i2+2)];
const double hDD00_i0p1_i1_i2p2 = hDD00GF_.ptr[hDD00GF_.offset(i0+1,i1,i2+2)];
const double hDD00_i0p2_i1_i2p2 = hDD00GF_.ptr[hDD00GF_.offset(i0+2,i1,i2+2)];
const double hDD00_i0_i1p1_i2p2 = hDD00GF_.ptr[hDD00GF_.offset(i0,i1+1,i2+2)];
const double hDD00_i0_i1p2_i2p2 = hDD00GF_.ptr[hDD00GF_.offset(i0,i1+2,i2+2)];
const double hDD01_i0_i1m2_i2m2 = hDD01GF_.ptr[hDD01GF_.offset(i0,i1-2,i2-2)];
const double hDD01_i0_i1m1_i2m2 = hDD01GF_.ptr[hDD01GF_.offset(i0,i1-1,i2-2)];
const double hDD01_i0m2_i1_i2m2 = hDD01GF_.ptr[hDD01GF_.offset(i0-2,i1,i2-2)];
const double hDD01_i0m1_i1_i2m2 = hDD01GF_.ptr[hDD01GF_.offset(i0-1,i1,i2-2)];
const double hDD01_i0_i1_i2m2 = hDD01GF_.ptr[hDD01GF_.offset(i0,i1,i2-2)];
const double hDD01_i0p1_i1_i2m2 = hDD01GF_.ptr[hDD01GF_.offset(i0+1,i1,i2-2)];
const double hDD01_i0p2_i1_i2m2 = hDD01GF_.ptr[hDD01GF_.offset(i0+2,i1,i2-2)];
const double hDD01_i0_i1p1_i2m2 = hDD01GF_.ptr[hDD01GF_.offset(i0,i1+1,i2-2)];
const double hDD01_i0_i1p2_i2m2 = hDD01GF_.ptr[hDD01GF_.offset(i0,i1+2,i2-2)];
const double hDD01_i0_i1m2_i2m1 = hDD01GF_.ptr[hDD01GF_.offset(i0,i1-2,i2-1)];
const double hDD01_i0_i1p2_i2m1 = hDD01GF_.ptr[hDD01GF_.offset(i0,i1+2,i2-1)];
const double hDD01_i0m2_i1m2_i2 = hDD01GF_.ptr[hDD01GF_.offset(i0-2,i1-2,i2)];
const double hDD01_i0m1_i1m2_i2 = hDD01GF_.ptr[hDD01GF_.offset(i0-1,i1-2,i2)];
const double hDD01_i0_i1m2_i2 = hDD01GF_.ptr[hDD01GF_.offset(i0,i1-2,i2)];
const double hDD01_i0p1_i1m2_i2 = hDD01GF_.ptr[hDD01GF_.offset(i0+1,i1-2,i2)];
const double hDD01_i0p2_i1m2_i2 = hDD01GF_.ptr[hDD01GF_.offset(i0+2,i1-2,i2)];
const double hDD01_i0m2_i1m1_i2 = hDD01GF_.ptr[hDD01GF_.offset(i0-2,i1-1,i2)];
const double hDD01_i0p2_i1p1_i2 = hDD01GF_.ptr[hDD01GF_.offset(i0+2,i1+1,i2)];
const double hDD01_i0m2_i1p2_i2 = hDD01GF_.ptr[hDD01GF_.offset(i0-2,i1+2,i2)];
const double hDD01_i0m1_i1p2_i2 = hDD01GF_.ptr[hDD01GF_.offset(i0-1,i1+2,i2)];
const double hDD01_i0_i1p2_i2 = hDD01GF_.ptr[hDD01GF_.offset(i0,i1+2,i2)];
const double hDD01_i0p1_i1p2_i2 = hDD01GF_.ptr[hDD01GF_.offset(i0+1,i1+2,i2)];
const double hDD01_i0p2_i1p2_i2 = hDD01GF_.ptr[hDD01GF_.offset(i0+2,i1+2,i2)];
const double hDD01_i0_i1m2_i2p1 = hDD01GF_.ptr[hDD01GF_.offset(i0,i1-2,i2+1)];
const double hDD01_i0_i1p2_i2p1 = hDD01GF_.ptr[hDD01GF_.offset(i0,i1+2,i2+1)];
const double hDD01_i0_i1m2_i2p2 = hDD01GF_.ptr[hDD01GF_.offset(i0,i1-2,i2+2)];
const double hDD01_i0_i1m1_i2p2 = hDD01GF_.ptr[hDD01GF_.offset(i0,i1-1,i2+2)];
const double hDD01_i0m2_i1_i2p2 = hDD01GF_.ptr[hDD01GF_.offset(i0-2,i1,i2+2)];
const double hDD01_i0m1_i1_i2p2 = hDD01GF_.ptr[hDD01GF_.offset(i0-1,i1,i2+2)];
const double hDD01_i0_i1_i2p2 = hDD01GF_.ptr[hDD01GF_.offset(i0,i1,i2+2)];
const double hDD01_i0p1_i1_i2p2 = hDD01GF_.ptr[hDD01GF_.offset(i0+1,i1,i2+2)];
const double hDD01_i0p2_i1_i2p2 = hDD01GF_.ptr[hDD01GF_.offset(i0+2,i1,i2+2)];
const double hDD01_i0_i1p1_i2p2 = hDD01GF_.ptr[hDD01GF_.offset(i0,i1+1,i2+2)];
const double hDD01_i0_i1p2_i2p2 = hDD01GF_.ptr[hDD01GF_.offset(i0,i1+2,i2+2)];
const double hDD02_i0_i1m2_i2m2 = hDD02GF_.ptr[hDD02GF_.offset(i0,i1-2,i2-2)];
const double hDD02_i0_i1m1_i2m2 = hDD02GF_.ptr[hDD02GF_.offset(i0,i1-1,i2-2)];
const double hDD02_i0m2_i1_i2m2 = hDD02GF_.ptr[hDD02GF_.offset(i0-2,i1,i2-2)];
const double hDD02_i0m1_i1_i2m2 = hDD02GF_.ptr[hDD02GF_.offset(i0-1,i1,i2-2)];
const double hDD02_i0_i1_i2m2 = hDD02GF_.ptr[hDD02GF_.offset(i0,i1,i2-2)];
const double hDD02_i0p1_i1_i2m2 = hDD02GF_.ptr[hDD02GF_.offset(i0+1,i1,i2-2)];
const double hDD02_i0p2_i1_i2m2 = hDD02GF_.ptr[hDD02GF_.offset(i0+2,i1,i2-2)];
const double hDD02_i0_i1p1_i2m2 = hDD02GF_.ptr[hDD02GF_.offset(i0,i1+1,i2-2)];
const double hDD02_i0_i1p2_i2m2 = hDD02GF_.ptr[hDD02GF_.offset(i0,i1+2,i2-2)];
const double hDD02_i0_i1m2_i2m1 = hDD02GF_.ptr[hDD02GF_.offset(i0,i1-2,i2-1)];
const double hDD02_i0_i1p2_i2m1 = hDD02GF_.ptr[hDD02GF_.offset(i0,i1+2,i2-1)];
const double hDD02_i0m2_i1m2_i2 = hDD02GF_.ptr[hDD02GF_.offset(i0-2,i1-2,i2)];
const double hDD02_i0m1_i1m2_i2 = hDD02GF_.ptr[hDD02GF_.offset(i0-1,i1-2,i2)];
const double hDD02_i0_i1m2_i2 = hDD02GF_.ptr[hDD02GF_.offset(i0,i1-2,i2)];
const double hDD02_i0p1_i1m2_i2 = hDD02GF_.ptr[hDD02GF_.offset(i0+1,i1-2,i2)];
const double hDD02_i0p2_i1m2_i2 = hDD02GF_.ptr[hDD02GF_.offset(i0+2,i1-2,i2)];
const double hDD02_i0m2_i1m1_i2 = hDD02GF_.ptr[hDD02GF_.offset(i0-2,i1-1,i2)];
const double hDD02_i0p2_i1p1_i2 = hDD02GF_.ptr[hDD02GF_.offset(i0+2,i1+1,i2)];
const double hDD02_i0m2_i1p2_i2 = hDD02GF_.ptr[hDD02GF_.offset(i0-2,i1+2,i2)];
const double hDD02_i0m1_i1p2_i2 = hDD02GF_.ptr[hDD02GF_.offset(i0-1,i1+2,i2)];
const double hDD02_i0_i1p2_i2 = hDD02GF_.ptr[hDD02GF_.offset(i0,i1+2,i2)];
const double hDD02_i0p1_i1p2_i2 = hDD02GF_.ptr[hDD02GF_.offset(i0+1,i1+2,i2)];
const double hDD02_i0p2_i1p2_i2 = hDD02GF_.ptr[hDD02GF_.offset(i0+2,i1+2,i2)];
const double hDD02_i0_i1m2_i2p1 = hDD02GF_.ptr[hDD02GF_.offset(i0,i1-2,i2+1)];
const double hDD02_i0_i1p2_i2p1 = hDD02GF_.ptr[hDD02GF_.offset(i0,i1+2,i2+1)];
const double hDD02_i0_i1m2_i2p2 = hDD02GF_.ptr[hDD02GF_.offset(i0,i1-2,i2+2)];
const double hDD02_i0_i1m1_i2p2 = hDD02GF_.ptr[hDD02GF_.offset(i0,i1-1,i2+2)];
const double hDD02_i0m2_i1_i2p2 = hDD02GF_.ptr[hDD02GF_.offset(i0-2,i1,i2+2)];
const double hDD02_i0m1_i1_i2p2 = hDD02GF_.ptr[hDD02GF_.offset(i0-1,i1,i2+2)];
const double hDD02_i0_i1_i2p2 = hDD02GF_.ptr[hDD02GF_.offset(i0,i1,i2+2)];
const double hDD02_i0p1_i1_i2p2 = hDD02GF_.ptr[hDD02GF_.offset(i0+1,i1,i2+2)];
const double hDD02_i0p2_i1_i2p2 = hDD02GF_.ptr[hDD02GF_.offset(i0+2,i1,i2+2)];
const double hDD02_i0_i1p1_i2p2 = hDD02GF_.ptr[hDD02GF_.offset(i0,i1+1,i2+2)];
const double hDD02_i0_i1p2_i2p2 = hDD02GF_.ptr[hDD02GF_.offset(i0,i1+2,i2+2)];
const double hDD11_i0_i1m2_i2m2 = hDD11GF_.ptr[hDD11GF_.offset(i0,i1-2,i2-2)];
const double hDD11_i0_i1m1_i2m2 = hDD11GF_.ptr[hDD11GF_.offset(i0,i1-1,i2-2)];
const double hDD11_i0m2_i1_i2m2 = hDD11GF_.ptr[hDD11GF_.offset(i0-2,i1,i2-2)];
const double hDD11_i0m1_i1_i2m2 = hDD11GF_.ptr[hDD11GF_.offset(i0-1,i1,i2-2)];
const double hDD11_i0_i1_i2m2 = hDD11GF_.ptr[hDD11GF_.offset(i0,i1,i2-2)];
const double hDD11_i0p1_i1_i2m2 = hDD11GF_.ptr[hDD11GF_.offset(i0+1,i1,i2-2)];
const double hDD11_i0p2_i1_i2m2 = hDD11GF_.ptr[hDD11GF_.offset(i0+2,i1,i2-2)];
const double hDD11_i0_i1p1_i2m2 = hDD11GF_.ptr[hDD11GF_.offset(i0,i1+1,i2-2)];
const double hDD11_i0_i1p2_i2m2 = hDD11GF_.ptr[hDD11GF_.offset(i0,i1+2,i2-2)];
const double hDD11_i0_i1m2_i2m1 = hDD11GF_.ptr[hDD11GF_.offset(i0,i1-2,i2-1)];
const double hDD11_i0_i1p2_i2m1 = hDD11GF_.ptr[hDD11GF_.offset(i0,i1+2,i2-1)];
const double hDD11_i0m2_i1m2_i2 = hDD11GF_.ptr[hDD11GF_.offset(i0-2,i1-2,i2)];
const double hDD11_i0m1_i1m2_i2 = hDD11GF_.ptr[hDD11GF_.offset(i0-1,i1-2,i2)];
const double hDD11_i0_i1m2_i2 = hDD11GF_.ptr[hDD11GF_.offset(i0,i1-2,i2)];
const double hDD11_i0p1_i1m2_i2 = hDD11GF_.ptr[hDD11GF_.offset(i0+1,i1-2,i2)];
const double hDD11_i0p2_i1m2_i2 = hDD11GF_.ptr[hDD11GF_.offset(i0+2,i1-2,i2)];
const double hDD11_i0m2_i1m1_i2 = hDD11GF_.ptr[hDD11GF_.offset(i0-2,i1-1,i2)];
const double hDD11_i0p2_i1p1_i2 = hDD11GF_.ptr[hDD11GF_.offset(i0+2,i1+1,i2)];
const double hDD11_i0m2_i1p2_i2 = hDD11GF_.ptr[hDD11GF_.offset(i0-2,i1+2,i2)];
const double hDD11_i0m1_i1p2_i2 = hDD11GF_.ptr[hDD11GF_.offset(i0-1,i1+2,i2)];
const double hDD11_i0_i1p2_i2 = hDD11GF_.ptr[hDD11GF_.offset(i0,i1+2,i2)];
const double hDD11_i0p1_i1p2_i2 = hDD11GF_.ptr[hDD11GF_.offset(i0+1,i1+2,i2)];
const double hDD11_i0p2_i1p2_i2 = hDD11GF_.ptr[hDD11GF_.offset(i0+2,i1+2,i2)];
const double hDD11_i0_i1m2_i2p1 = hDD11GF_.ptr[hDD11GF_.offset(i0,i1-2,i2+1)];
const double hDD11_i0_i1p2_i2p1 = hDD11GF_.ptr[hDD11GF_.offset(i0,i1+2,i2+1)];
const double hDD11_i0_i1m2_i2p2 = hDD11GF_.ptr[hDD11GF_.offset(i0,i1-2,i2+2)];
const double hDD11_i0_i1m1_i2p2 = hDD11GF_.ptr[hDD11GF_.offset(i0,i1-1,i2+2)];
const double hDD11_i0m2_i1_i2p2 = hDD11GF_.ptr[hDD11GF_.offset(i0-2,i1,i2+2)];
const double hDD11_i0m1_i1_i2p2 = hDD11GF_.ptr[hDD11GF_.offset(i0-1,i1,i2+2)];
const double hDD11_i0_i1_i2p2 = hDD11GF_.ptr[hDD11GF_.offset(i0,i1,i2+2)];
const double hDD11_i0p1_i1_i2p2 = hDD11GF_.ptr[hDD11GF_.offset(i0+1,i1,i2+2)];
const double hDD11_i0p2_i1_i2p2 = hDD11GF_.ptr[hDD11GF_.offset(i0+2,i1,i2+2)];
const double hDD11_i0_i1p1_i2p2 = hDD11GF_.ptr[hDD11GF_.offset(i0,i1+1,i2+2)];
const double hDD11_i0_i1p2_i2p2 = hDD11GF_.ptr[hDD11GF_.offset(i0,i1+2,i2+2)];
const double hDD12_i0_i1m2_i2m2 = hDD12GF_.ptr[hDD12GF_.offset(i0,i1-2,i2-2)];
const double hDD12_i0_i1m1_i2m2 = hDD12GF_.ptr[hDD12GF_.offset(i0,i1-1,i2-2)];
const double hDD12_i0m2_i1_i2m2 = hDD12GF_.ptr[hDD12GF_.offset(i0-2,i1,i2-2)];
const double hDD12_i0m1_i1_i2m2 = hDD12GF_.ptr[hDD12GF_.offset(i0-1,i1,i2-2)];
const double hDD12_i0_i1_i2m2 = hDD12GF_.ptr[hDD12GF_.offset(i0,i1,i2-2)];
const double hDD12_i0p1_i1_i2m2 = hDD12GF_.ptr[hDD12GF_.offset(i0+1,i1,i2-2)];
const double hDD12_i0p2_i1_i2m2 = hDD12GF_.ptr[hDD12GF_.offset(i0+2,i1,i2-2)];
const double hDD12_i0_i1p1_i2m2 = hDD12GF_.ptr[hDD12GF_.offset(i0,i1+1,i2-2)];
const double hDD12_i0_i1p2_i2m2 = hDD12GF_.ptr[hDD12GF_.offset(i0,i1+2,i2-2)];
const double hDD12_i0_i1m2_i2m1 = hDD12GF_.ptr[hDD12GF_.offset(i0,i1-2,i2-1)];
const double hDD12_i0_i1p2_i2m1 = hDD12GF_.ptr[hDD12GF_.offset(i0,i1+2,i2-1)];
const double hDD12_i0m2_i1m2_i2 = hDD12GF_.ptr[hDD12GF_.offset(i0-2,i1-2,i2)];
const double hDD12_i0m1_i1m2_i2 = hDD12GF_.ptr[hDD12GF_.offset(i0-1,i1-2,i2)];
const double hDD12_i0_i1m2_i2 = hDD12GF_.ptr[hDD12GF_.offset(i0,i1-2,i2)];
const double hDD12_i0p1_i1m2_i2 = hDD12GF_.ptr[hDD12GF_.offset(i0+1,i1-2,i2)];
const double hDD12_i0p2_i1m2_i2 = hDD12GF_.ptr[hDD12GF_.offset(i0+2,i1-2,i2)];
const double hDD12_i0m2_i1m1_i2 = hDD12GF_.ptr[hDD12GF_.offset(i0-2,i1-1,i2)];
const double hDD12_i0p2_i1p1_i2 = hDD12GF_.ptr[hDD12GF_.offset(i0+2,i1+1,i2)];
const double hDD12_i0m2_i1p2_i2 = hDD12GF_.ptr[hDD12GF_.offset(i0-2,i1+2,i2)];
const double hDD12_i0m1_i1p2_i2 = hDD12GF_.ptr[hDD12GF_.offset(i0-1,i1+2,i2)];
const double hDD12_i0_i1p2_i2 = hDD12GF_.ptr[hDD12GF_.offset(i0,i1+2,i2)];
const double hDD12_i0p1_i1p2_i2 = hDD12GF_.ptr[hDD12GF_.offset(i0+1,i1+2,i2)];
const double hDD12_i0p2_i1p2_i2 = hDD12GF_.ptr[hDD12GF_.offset(i0+2,i1+2,i2)];
const double hDD12_i0_i1m2_i2p1 = hDD12GF_.ptr[hDD12GF_.offset(i0,i1-2,i2+1)];
const double hDD12_i0_i1p2_i2p1 = hDD12GF_.ptr[hDD12GF_.offset(i0,i1+2,i2+1)];
const double hDD12_i0_i1m2_i2p2 = hDD12GF_.ptr[hDD12GF_.offset(i0,i1-2,i2+2)];
const double hDD12_i0_i1m1_i2p2 = hDD12GF_.ptr[hDD12GF_.offset(i0,i1-1,i2+2)];
const double hDD12_i0m2_i1_i2p2 = hDD12GF_.ptr[hDD12GF_.offset(i0-2,i1,i2+2)];
const double hDD12_i0m1_i1_i2p2 = hDD12GF_.ptr[hDD12GF_.offset(i0-1,i1,i2+2)];
const double hDD12_i0_i1_i2p2 = hDD12GF_.ptr[hDD12GF_.offset(i0,i1,i2+2)];
const double hDD12_i0p1_i1_i2p2 = hDD12GF_.ptr[hDD12GF_.offset(i0+1,i1,i2+2)];
const double hDD12_i0p2_i1_i2p2 = hDD12GF_.ptr[hDD12GF_.offset(i0+2,i1,i2+2)];
const double hDD12_i0_i1p1_i2p2 = hDD12GF_.ptr[hDD12GF_.offset(i0,i1+1,i2+2)];
const double hDD12_i0_i1p2_i2p2 = hDD12GF_.ptr[hDD12GF_.offset(i0,i1+2,i2+2)];
const double hDD22_i0_i1m2_i2m2 = hDD22GF_.ptr[hDD22GF_.offset(i0,i1-2,i2-2)];
const double hDD22_i0_i1m1_i2m2 = hDD22GF_.ptr[hDD22GF_.offset(i0,i1-1,i2-2)];
const double hDD22_i0m2_i1_i2m2 = hDD22GF_.ptr[hDD22GF_.offset(i0-2,i1,i2-2)];
const double hDD22_i0m1_i1_i2m2 = hDD22GF_.ptr[hDD22GF_.offset(i0-1,i1,i2-2)];
const double hDD22_i0_i1_i2m2 = hDD22GF_.ptr[hDD22GF_.offset(i0,i1,i2-2)];
const double hDD22_i0p1_i1_i2m2 = hDD22GF_.ptr[hDD22GF_.offset(i0+1,i1,i2-2)];
const double hDD22_i0p2_i1_i2m2 = hDD22GF_.ptr[hDD22GF_.offset(i0+2,i1,i2-2)];
const double hDD22_i0_i1p1_i2m2 = hDD22GF_.ptr[hDD22GF_.offset(i0,i1+1,i2-2)];
const double hDD22_i0_i1p2_i2m2 = hDD22GF_.ptr[hDD22GF_.offset(i0,i1+2,i2-2)];
const double hDD22_i0_i1m2_i2m1 = hDD22GF_.ptr[hDD22GF_.offset(i0,i1-2,i2-1)];
const double hDD22_i0_i1p2_i2m1 = hDD22GF_.ptr[hDD22GF_.offset(i0,i1+2,i2-1)];
const double hDD22_i0m2_i1m2_i2 = hDD22GF_.ptr[hDD22GF_.offset(i0-2,i1-2,i2)];
const double hDD22_i0m1_i1m2_i2 = hDD22GF_.ptr[hDD22GF_.offset(i0-1,i1-2,i2)];
const double hDD22_i0_i1m2_i2 = hDD22GF_.ptr[hDD22GF_.offset(i0,i1-2,i2)];
const double hDD22_i0p1_i1m2_i2 = hDD22GF_.ptr[hDD22GF_.offset(i0+1,i1-2,i2)];
const double hDD22_i0p2_i1m2_i2 = hDD22GF_.ptr[hDD22GF_.offset(i0+2,i1-2,i2)];
const double hDD22_i0m2_i1m1_i2 = hDD22GF_.ptr[hDD22GF_.offset(i0-2,i1-1,i2)];
const double hDD22_i0p2_i1p1_i2 = hDD22GF_.ptr[hDD22GF_.offset(i0+2,i1+1,i2)];
const double hDD22_i0m2_i1p2_i2 = hDD22GF_.ptr[hDD22GF_.offset(i0-2,i1+2,i2)];
const double hDD22_i0m1_i1p2_i2 = hDD22GF_.ptr[hDD22GF_.offset(i0-1,i1+2,i2)];
const double hDD22_i0_i1p2_i2 = hDD22GF_.ptr[hDD22GF_.offset(i0,i1+2,i2)];
const double hDD22_i0p1_i1p2_i2 = hDD22GF_.ptr[hDD22GF_.offset(i0+1,i1+2,i2)];
const double hDD22_i0p2_i1p2_i2 = hDD22GF_.ptr[hDD22GF_.offset(i0+2,i1+2,i2)];
const double hDD22_i0_i1m2_i2p1 = hDD22GF_.ptr[hDD22GF_.offset(i0,i1-2,i2+1)];
const double hDD22_i0_i1p2_i2p1 = hDD22GF_.ptr[hDD22GF_.offset(i0,i1+2,i2+1)];
const double hDD22_i0_i1m2_i2p2 = hDD22GF_.ptr[hDD22GF_.offset(i0,i1-2,i2+2)];
const double hDD22_i0_i1m1_i2p2 = hDD22GF_.ptr[hDD22GF_.offset(i0,i1-1,i2+2)];
const double hDD22_i0m2_i1_i2p2 = hDD22GF_.ptr[hDD22GF_.offset(i0-2,i1,i2+2)];
const double hDD22_i0m1_i1_i2p2 = hDD22GF_.ptr[hDD22GF_.offset(i0-1,i1,i2+2)];
const double hDD22_i0_i1_i2p2 = hDD22GF_.ptr[hDD22GF_.offset(i0,i1,i2+2)];
const double hDD22_i0p1_i1_i2p2 = hDD22GF_.ptr[hDD22GF_.offset(i0+1,i1,i2+2)];
const double hDD22_i0p2_i1_i2p2 = hDD22GF_.ptr[hDD22GF_.offset(i0+2,i1,i2+2)];
const double hDD22_i0_i1p1_i2p2 = hDD22GF_.ptr[hDD22GF_.offset(i0,i1+1,i2+2)];
const double hDD22_i0_i1p2_i2p2 = hDD22GF_.ptr[hDD22GF_.offset(i0,i1+2,i2+2)];
const double aDD00_i0_i1_i2m2 = aDD00GF_.ptr[aDD00GF_.offset(i0,i1,i2-2)];
const double trK_i0_i1_i2p2 = trKGF_.ptr[trKGF_.offset(i0,i1,i2+2)];
const double cf_i0_i1m2_i2m2 = cfGF_.ptr[cfGF_.offset(i0,i1-2,i2-2)];
const double cf_i0_i1m1_i2m2 = cfGF_.ptr[cfGF_.offset(i0,i1-1,i2-2)];
const double cf_i0m2_i1_i2m2 = cfGF_.ptr[cfGF_.offset(i0-2,i1,i2-2)];
const double cf_i0m1_i1_i2m2 = cfGF_.ptr[cfGF_.offset(i0-1,i1,i2-2)];
const double cf_i0_i1_i2m2 = cfGF_.ptr[cfGF_.offset(i0,i1,i2-2)];
const double cf_i0p1_i1_i2m2 = cfGF_.ptr[cfGF_.offset(i0+1,i1,i2-2)];
const double cf_i0p2_i1_i2m2 = cfGF_.ptr[cfGF_.offset(i0+2,i1,i2-2)];
const double cf_i0_i1p1_i2m2 = cfGF_.ptr[cfGF_.offset(i0,i1+1,i2-2)];
const double cf_i0_i1p2_i2m2 = cfGF_.ptr[cfGF_.offset(i0,i1+2,i2-2)];
const double cf_i0_i1m2_i2m1 = cfGF_.ptr[cfGF_.offset(i0,i1-2,i2-1)];
const double cf_i0_i1p2_i2m1 = cfGF_.ptr[cfGF_.offset(i0,i1+2,i2-1)];
const double cf_i0m2_i1m2_i2 = cfGF_.ptr[cfGF_.offset(i0-2,i1-2,i2)];
const double cf_i0m1_i1m2_i2 = cfGF_.ptr[cfGF_.offset(i0-1,i1-2,i2)];
const double cf_i0_i1m2_i2 = cfGF_.ptr[cfGF_.offset(i0,i1-2,i2)];
const double cf_i0p1_i1m2_i2 = cfGF_.ptr[cfGF_.offset(i0+1,i1-2,i2)];
const double cf_i0p2_i1m2_i2 = cfGF_.ptr[cfGF_.offset(i0+2,i1-2,i2)];
const double cf_i0m2_i1m1_i2 = cfGF_.ptr[cfGF_.offset(i0-2,i1-1,i2)];
const double cf_i0p2_i1p1_i2 = cfGF_.ptr[cfGF_.offset(i0+2,i1+1,i2)];
const double cf_i0m2_i1p2_i2 = cfGF_.ptr[cfGF_.offset(i0-2,i1+2,i2)];
const double cf_i0m1_i1p2_i2 = cfGF_.ptr[cfGF_.offset(i0-1,i1+2,i2)];
const double cf_i0_i1p2_i2 = cfGF_.ptr[cfGF_.offset(i0,i1+2,i2)];
const double cf_i0p1_i1p2_i2 = cfGF_.ptr[cfGF_.offset(i0+1,i1+2,i2)];
const double cf_i0p2_i1p2_i2 = cfGF_.ptr[cfGF_.offset(i0+2,i1+2,i2)];
const double cf_i0_i1m2_i2p1 = cfGF_.ptr[cfGF_.offset(i0,i1-2,i2+1)];
const double cf_i0_i1p2_i2p1 = cfGF_.ptr[cfGF_.offset(i0,i1+2,i2+1)];
const double cf_i0_i1m2_i2p2 = cfGF_.ptr[cfGF_.offset(i0,i1-2,i2+2)];
const double cf_i0_i1m1_i2p2 = cfGF_.ptr[cfGF_.offset(i0,i1-1,i2+2)];
const double cf_i0m2_i1_i2p2 = cfGF_.ptr[cfGF_.offset(i0-2,i1,i2+2)];
const double cf_i0m1_i1_i2p2 = cfGF_.ptr[cfGF_.offset(i0-1,i1,i2+2)];
const double cf_i0_i1_i2p2 = cfGF_.ptr[cfGF_.offset(i0,i1,i2+2)];
const double cf_i0p1_i1_i2p2 = cfGF_.ptr[cfGF_.offset(i0+1,i1,i2+2)];
const double cf_i0p2_i1_i2p2 = cfGF_.ptr[cfGF_.offset(i0+2,i1,i2+2)];
const double cf_i0_i1p1_i2p2 = cfGF_.ptr[cfGF_.offset(i0,i1+1,i2+2)];
const double cf_i0_i1p2_i2p2 = cfGF_.ptr[cfGF_.offset(i0,i1+2,i2+2)];
const double tmpFD0 = (1.0/12.0)*cf_i0m2_i1_i2;
const double tmpFD1 = -1.0/12.0*cf_i0p2_i1_i2;
const double tmpFD2 = (1.0/12.0)*cf_i0_i1m2_i2;
const double tmpFD3 = -1.0/12.0*cf_i0_i1p2_i2;
const double tmpFD4 = (1.0/12.0)*cf_i0_i1_i2m2;
const double tmpFD5 = -1.0/12.0*cf_i0_i1_i2p2;
const double tmpFD6 = ((invdx0)*(invdx0));
const double tmpFD7 = -5.0/2.0*cf;
const double tmpFD8 = invdx0*invdx1;
const double tmpFD9 = invdx0*invdx2;
const double tmpFD10 = ((invdx1)*(invdx1));
const double tmpFD11 = invdx1*invdx2;
const double tmpFD12 = ((invdx2)*(invdx2));
const double tmpFD13 = (1.0/12.0)*hDD00_i0m2_i1_i2;
const double tmpFD14 = -1.0/12.0*hDD00_i0p2_i1_i2;
const double tmpFD15 = (1.0/12.0)*hDD00_i0_i1m2_i2;
const double tmpFD16 = -1.0/12.0*hDD00_i0_i1p2_i2;
const double tmpFD17 = (1.0/12.0)*hDD00_i0_i1_i2m2;
const double tmpFD18 = -1.0/12.0*hDD00_i0_i1_i2p2;
const double tmpFD19 = (1.0/12.0)*hDD01_i0m2_i1_i2;
const double tmpFD20 = -1.0/12.0*hDD01_i0p2_i1_i2;
const double tmpFD21 = (1.0/12.0)*hDD01_i0_i1m2_i2;
const double tmpFD22 = -1.0/12.0*hDD01_i0_i1p2_i2;
const double tmpFD23 = (1.0/12.0)*hDD01_i0_i1_i2m2;
const double tmpFD24 = -1.0/12.0*hDD01_i0_i1_i2p2;
const double tmpFD25 = (1.0/12.0)*hDD02_i0m2_i1_i2;
const double tmpFD26 = -1.0/12.0*hDD02_i0p2_i1_i2;
const double tmpFD27 = (1.0/12.0)*hDD02_i0_i1m2_i2;
const double tmpFD28 = -1.0/12.0*hDD02_i0_i1p2_i2;
const double tmpFD29 = (1.0/12.0)*hDD02_i0_i1_i2m2;
const double tmpFD30 = -1.0/12.0*hDD02_i0_i1_i2p2;
const double tmpFD31 = (1.0/12.0)*hDD11_i0m2_i1_i2;
const double tmpFD32 = -1.0/12.0*hDD11_i0p2_i1_i2;
const double tmpFD33 = (1.0/12.0)*hDD11_i0_i1m2_i2;
const double tmpFD34 = -1.0/12.0*hDD11_i0_i1p2_i2;
const double tmpFD35 = (1.0/12.0)*hDD11_i0_i1_i2m2;
const double tmpFD36 = -1.0/12.0*hDD11_i0_i1_i2p2;
const double tmpFD37 = (1.0/12.0)*hDD12_i0m2_i1_i2;
const double tmpFD38 = -1.0/12.0*hDD12_i0p2_i1_i2;
const double tmpFD39 = (1.0/12.0)*hDD12_i0_i1m2_i2;
const double tmpFD40 = -1.0/12.0*hDD12_i0_i1p2_i2;
const double tmpFD41 = (1.0/12.0)*hDD12_i0_i1_i2m2;
const double tmpFD42 = -1.0/12.0*hDD12_i0_i1_i2p2;
const double tmpFD43 = (1.0/12.0)*hDD22_i0m2_i1_i2;
const double tmpFD44 = -1.0/12.0*hDD22_i0p2_i1_i2;
const double tmpFD45 = (1.0/12.0)*hDD22_i0_i1m2_i2;
const double tmpFD46 = -1.0/12.0*hDD22_i0_i1p2_i2;
const double tmpFD47 = (1.0/12.0)*hDD22_i0_i1_i2m2;
const double tmpFD48 = -1.0/12.0*hDD22_i0_i1_i2p2;
const double tmpFD49 = -5.0/2.0*hDD00;
const double tmpFD50 = -5.0/2.0*hDD01;
const double tmpFD51 = -5.0/2.0*hDD02;
const double tmpFD52 = -5.0/2.0*hDD11;
const double tmpFD53 = -5.0/2.0*hDD12;
const double tmpFD54 = -5.0/2.0*hDD22;
const double aDD_dD000 = invdx0*(-2.0/3.0*aDD00_i0m1_i1_i2 + (1.0/12.0)*aDD00_i0m2_i1_i2 + (2.0/3.0)*aDD00_i0p1_i1_i2 - 1.0/12.0*aDD00_i0p2_i1_i2);
const double aDD_dD001 = invdx1*(-2.0/3.0*aDD00_i0_i1m1_i2 + (1.0/12.0)*aDD00_i0_i1m2_i2 + (2.0/3.0)*aDD00_i0_i1p1_i2 - 1.0/12.0*aDD00_i0_i1p2_i2);
const double aDD_dD002 = invdx2*(-2.0/3.0*aDD00_i0_i1_i2m1 + (1.0/12.0)*aDD00_i0_i1_i2m2 + (2.0/3.0)*aDD00_i0_i1_i2p1 - 1.0/12.0*aDD00_i0_i1_i2p2);
const double aDD_dD010 = invdx0*(-2.0/3.0*aDD01_i0m1_i1_i2 + (1.0/12.0)*aDD01_i0m2_i1_i2 + (2.0/3.0)*aDD01_i0p1_i1_i2 - 1.0/12.0*aDD01_i0p2_i1_i2);
const double aDD_dD011 = invdx1*(-2.0/3.0*aDD01_i0_i1m1_i2 + (1.0/12.0)*aDD01_i0_i1m2_i2 + (2.0/3.0)*aDD01_i0_i1p1_i2 - 1.0/12.0*aDD01_i0_i1p2_i2);
const double aDD_dD012 = invdx2*(-2.0/3.0*aDD01_i0_i1_i2m1 + (1.0/12.0)*aDD01_i0_i1_i2m2 + (2.0/3.0)*aDD01_i0_i1_i2p1 - 1.0/12.0*aDD01_i0_i1_i2p2);
const double aDD_dD020 = invdx0*(-2.0/3.0*aDD02_i0m1_i1_i2 + (1.0/12.0)*aDD02_i0m2_i1_i2 + (2.0/3.0)*aDD02_i0p1_i1_i2 - 1.0/12.0*aDD02_i0p2_i1_i2);
const double aDD_dD021 = invdx1*(-2.0/3.0*aDD02_i0_i1m1_i2 + (1.0/12.0)*aDD02_i0_i1m2_i2 + (2.0/3.0)*aDD02_i0_i1p1_i2 - 1.0/12.0*aDD02_i0_i1p2_i2);
const double aDD_dD022 = invdx2*(-2.0/3.0*aDD02_i0_i1_i2m1 + (1.0/12.0)*aDD02_i0_i1_i2m2 + (2.0/3.0)*aDD02_i0_i1_i2p1 - 1.0/12.0*aDD02_i0_i1_i2p2);
const double aDD_dD110 = invdx0*(-2.0/3.0*aDD11_i0m1_i1_i2 + (1.0/12.0)*aDD11_i0m2_i1_i2 + (2.0/3.0)*aDD11_i0p1_i1_i2 - 1.0/12.0*aDD11_i0p2_i1_i2);
const double aDD_dD111 = invdx1*(-2.0/3.0*aDD11_i0_i1m1_i2 + (1.0/12.0)*aDD11_i0_i1m2_i2 + (2.0/3.0)*aDD11_i0_i1p1_i2 - 1.0/12.0*aDD11_i0_i1p2_i2);
const double aDD_dD112 = invdx2*(-2.0/3.0*aDD11_i0_i1_i2m1 + (1.0/12.0)*aDD11_i0_i1_i2m2 + (2.0/3.0)*aDD11_i0_i1_i2p1 - 1.0/12.0*aDD11_i0_i1_i2p2);
const double aDD_dD120 = invdx0*(-2.0/3.0*aDD12_i0m1_i1_i2 + (1.0/12.0)*aDD12_i0m2_i1_i2 + (2.0/3.0)*aDD12_i0p1_i1_i2 - 1.0/12.0*aDD12_i0p2_i1_i2);
const double aDD_dD121 = invdx1*(-2.0/3.0*aDD12_i0_i1m1_i2 + (1.0/12.0)*aDD12_i0_i1m2_i2 + (2.0/3.0)*aDD12_i0_i1p1_i2 - 1.0/12.0*aDD12_i0_i1p2_i2);
const double aDD_dD122 = invdx2*(-2.0/3.0*aDD12_i0_i1_i2m1 + (1.0/12.0)*aDD12_i0_i1_i2m2 + (2.0/3.0)*aDD12_i0_i1_i2p1 - 1.0/12.0*aDD12_i0_i1_i2p2);
const double aDD_dD220 = invdx0*(-2.0/3.0*aDD22_i0m1_i1_i2 + (1.0/12.0)*aDD22_i0m2_i1_i2 + (2.0/3.0)*aDD22_i0p1_i1_i2 - 1.0/12.0*aDD22_i0p2_i1_i2);
const double aDD_dD221 = invdx1*(-2.0/3.0*aDD22_i0_i1m1_i2 + (1.0/12.0)*aDD22_i0_i1m2_i2 + (2.0/3.0)*aDD22_i0_i1p1_i2 - 1.0/12.0*aDD22_i0_i1p2_i2);
const double aDD_dD222 = invdx2*(-2.0/3.0*aDD22_i0_i1_i2m1 + (1.0/12.0)*aDD22_i0_i1_i2m2 + (2.0/3.0)*aDD22_i0_i1_i2p1 - 1.0/12.0*aDD22_i0_i1_i2p2);
const double cf_dD0 = invdx0*(-2.0/3.0*cf_i0m1_i1_i2 + (2.0/3.0)*cf_i0p1_i1_i2 + tmpFD0 + tmpFD1);
const double cf_dD1 = invdx1*(-2.0/3.0*cf_i0_i1m1_i2 + (2.0/3.0)*cf_i0_i1p1_i2 + tmpFD2 + tmpFD3);
const double cf_dD2 = invdx2*(-2.0/3.0*cf_i0_i1_i2m1 + (2.0/3.0)*cf_i0_i1_i2p1 + tmpFD4 + tmpFD5);
const double cf_dDD00 = tmpFD6*((4.0/3.0)*cf_i0m1_i1_i2 + (4.0/3.0)*cf_i0p1_i1_i2 - tmpFD0 + tmpFD1 + tmpFD7);
const double cf_dDD01 = tmpFD8*((4.0/9.0)*cf_i0m1_i1m1_i2 - 1.0/18.0*cf_i0m1_i1m2_i2 - 4.0/9.0*cf_i0m1_i1p1_i2 + (1.0/18.0)*cf_i0m1_i1p2_i2 - 1.0/18.0*cf_i0m2_i1m1_i2 + (1.0/144.0)*cf_i0m2_i1m2_i2 + (1.0/18.0)*cf_i0m2_i1p1_i2 - 1.0/144.0*cf_i0m2_i1p2_i2 - 4.0/9.0*cf_i0p1_i1m1_i2 + (1.0/18.0)*cf_i0p1_i1m2_i2 + (4.0/9.0)*cf_i0p1_i1p1_i2 - 1.0/18.0*cf_i0p1_i1p2_i2 + (1.0/18.0)*cf_i0p2_i1m1_i2 - 1.0/144.0*cf_i0p2_i1m2_i2 - 1.0/18.0*cf_i0p2_i1p1_i2 + (1.0/144.0)*cf_i0p2_i1p2_i2);
const double cf_dDD02 = tmpFD9*((4.0/9.0)*cf_i0m1_i1_i2m1 - 1.0/18.0*cf_i0m1_i1_i2m2 - 4.0/9.0*cf_i0m1_i1_i2p1 + (1.0/18.0)*cf_i0m1_i1_i2p2 - 1.0/18.0*cf_i0m2_i1_i2m1 + (1.0/144.0)*cf_i0m2_i1_i2m2 + (1.0/18.0)*cf_i0m2_i1_i2p1 - 1.0/144.0*cf_i0m2_i1_i2p2 - 4.0/9.0*cf_i0p1_i1_i2m1 + (1.0/18.0)*cf_i0p1_i1_i2m2 + (4.0/9.0)*cf_i0p1_i1_i2p1 - 1.0/18.0*cf_i0p1_i1_i2p2 + (1.0/18.0)*cf_i0p2_i1_i2m1 - 1.0/144.0*cf_i0p2_i1_i2m2 - 1.0/18.0*cf_i0p2_i1_i2p1 + (1.0/144.0)*cf_i0p2_i1_i2p2);
const double cf_dDD11 = tmpFD10*((4.0/3.0)*cf_i0_i1m1_i2 + (4.0/3.0)*cf_i0_i1p1_i2 - tmpFD2 + tmpFD3 + tmpFD7);
const double cf_dDD12 = tmpFD11*((4.0/9.0)*cf_i0_i1m1_i2m1 - 1.0/18.0*cf_i0_i1m1_i2m2 - 4.0/9.0*cf_i0_i1m1_i2p1 + (1.0/18.0)*cf_i0_i1m1_i2p2 - 1.0/18.0*cf_i0_i1m2_i2m1 + (1.0/144.0)*cf_i0_i1m2_i2m2 + (1.0/18.0)*cf_i0_i1m2_i2p1 - 1.0/144.0*cf_i0_i1m2_i2p2 - 4.0/9.0*cf_i0_i1p1_i2m1 + (1.0/18.0)*cf_i0_i1p1_i2m2 + (4.0/9.0)*cf_i0_i1p1_i2p1 - 1.0/18.0*cf_i0_i1p1_i2p2 + (1.0/18.0)*cf_i0_i1p2_i2m1 - 1.0/144.0*cf_i0_i1p2_i2m2 - 1.0/18.0*cf_i0_i1p2_i2p1 + (1.0/144.0)*cf_i0_i1p2_i2p2);
const double cf_dDD22 = tmpFD12*((4.0/3.0)*cf_i0_i1_i2m1 + (4.0/3.0)*cf_i0_i1_i2p1 - tmpFD4 + tmpFD5 + tmpFD7);
const double hDD_dD000 = invdx0*(-2.0/3.0*hDD00_i0m1_i1_i2 + (2.0/3.0)*hDD00_i0p1_i1_i2 + tmpFD13 + tmpFD14);
const double hDD_dD001 = invdx1*(-2.0/3.0*hDD00_i0_i1m1_i2 + (2.0/3.0)*hDD00_i0_i1p1_i2 + tmpFD15 + tmpFD16);
const double hDD_dD002 = invdx2*(-2.0/3.0*hDD00_i0_i1_i2m1 + (2.0/3.0)*hDD00_i0_i1_i2p1 + tmpFD17 + tmpFD18);
const double hDD_dD010 = invdx0*(-2.0/3.0*hDD01_i0m1_i1_i2 + (2.0/3.0)*hDD01_i0p1_i1_i2 + tmpFD19 + tmpFD20);
const double hDD_dD011 = invdx1*(-2.0/3.0*hDD01_i0_i1m1_i2 + (2.0/3.0)*hDD01_i0_i1p1_i2 + tmpFD21 + tmpFD22);
const double hDD_dD012 = invdx2*(-2.0/3.0*hDD01_i0_i1_i2m1 + (2.0/3.0)*hDD01_i0_i1_i2p1 + tmpFD23 + tmpFD24);
const double hDD_dD020 = invdx0*(-2.0/3.0*hDD02_i0m1_i1_i2 + (2.0/3.0)*hDD02_i0p1_i1_i2 + tmpFD25 + tmpFD26);
const double hDD_dD021 = invdx1*(-2.0/3.0*hDD02_i0_i1m1_i2 + (2.0/3.0)*hDD02_i0_i1p1_i2 + tmpFD27 + tmpFD28);
const double hDD_dD022 = invdx2*(-2.0/3.0*hDD02_i0_i1_i2m1 + (2.0/3.0)*hDD02_i0_i1_i2p1 + tmpFD29 + tmpFD30);
const double hDD_dD110 = invdx0*(-2.0/3.0*hDD11_i0m1_i1_i2 + (2.0/3.0)*hDD11_i0p1_i1_i2 + tmpFD31 + tmpFD32);
const double hDD_dD111 = invdx1*(-2.0/3.0*hDD11_i0_i1m1_i2 + (2.0/3.0)*hDD11_i0_i1p1_i2 + tmpFD33 + tmpFD34);
const double hDD_dD112 = invdx2*(-2.0/3.0*hDD11_i0_i1_i2m1 + (2.0/3.0)*hDD11_i0_i1_i2p1 + tmpFD35 + tmpFD36);
const double hDD_dD120 = invdx0*(-2.0/3.0*hDD12_i0m1_i1_i2 + (2.0/3.0)*hDD12_i0p1_i1_i2 + tmpFD37 + tmpFD38);
const double hDD_dD121 = invdx1*(-2.0/3.0*hDD12_i0_i1m1_i2 + (2.0/3.0)*hDD12_i0_i1p1_i2 + tmpFD39 + tmpFD40);
const double hDD_dD122 = invdx2*(-2.0/3.0*hDD12_i0_i1_i2m1 + (2.0/3.0)*hDD12_i0_i1_i2p1 + tmpFD41 + tmpFD42);
const double hDD_dD220 = invdx0*(-2.0/3.0*hDD22_i0m1_i1_i2 + (2.0/3.0)*hDD22_i0p1_i1_i2 + tmpFD43 + tmpFD44);
const double hDD_dD221 = invdx1*(-2.0/3.0*hDD22_i0_i1m1_i2 + (2.0/3.0)*hDD22_i0_i1p1_i2 + tmpFD45 + tmpFD46);
const double hDD_dD222 = invdx2*(-2.0/3.0*hDD22_i0_i1_i2m1 + (2.0/3.0)*hDD22_i0_i1_i2p1 + tmpFD47 + tmpFD48);
const double hDD_dDD0000 = tmpFD6*((4.0/3.0)*hDD00_i0m1_i1_i2 + (4.0/3.0)*hDD00_i0p1_i1_i2 - tmpFD13 + tmpFD14 + tmpFD49);
const double hDD_dDD0001 = tmpFD8*((4.0/9.0)*hDD00_i0m1_i1m1_i2 - 1.0/18.0*hDD00_i0m1_i1m2_i2 - 4.0/9.0*hDD00_i0m1_i1p1_i2 + (1.0/18.0)*hDD00_i0m1_i1p2_i2 - 1.0/18.0*hDD00_i0m2_i1m1_i2 + (1.0/144.0)*hDD00_i0m2_i1m2_i2 + (1.0/18.0)*hDD00_i0m2_i1p1_i2 - 1.0/144.0*hDD00_i0m2_i1p2_i2 - 4.0/9.0*hDD00_i0p1_i1m1_i2 + (1.0/18.0)*hDD00_i0p1_i1m2_i2 + (4.0/9.0)*hDD00_i0p1_i1p1_i2 - 1.0/18.0*hDD00_i0p1_i1p2_i2 + (1.0/18.0)*hDD00_i0p2_i1m1_i2 - 1.0/144.0*hDD00_i0p2_i1m2_i2 - 1.0/18.0*hDD00_i0p2_i1p1_i2 + (1.0/144.0)*hDD00_i0p2_i1p2_i2);
const double hDD_dDD0002 = tmpFD9*((4.0/9.0)*hDD00_i0m1_i1_i2m1 - 1.0/18.0*hDD00_i0m1_i1_i2m2 - 4.0/9.0*hDD00_i0m1_i1_i2p1 + (1.0/18.0)*hDD00_i0m1_i1_i2p2 - 1.0/18.0*hDD00_i0m2_i1_i2m1 + (1.0/144.0)*hDD00_i0m2_i1_i2m2 + (1.0/18.0)*hDD00_i0m2_i1_i2p1 - 1.0/144.0*hDD00_i0m2_i1_i2p2 - 4.0/9.0*hDD00_i0p1_i1_i2m1 + (1.0/18.0)*hDD00_i0p1_i1_i2m2 + (4.0/9.0)*hDD00_i0p1_i1_i2p1 - 1.0/18.0*hDD00_i0p1_i1_i2p2 + (1.0/18.0)*hDD00_i0p2_i1_i2m1 - 1.0/144.0*hDD00_i0p2_i1_i2m2 - 1.0/18.0*hDD00_i0p2_i1_i2p1 + (1.0/144.0)*hDD00_i0p2_i1_i2p2);
const double hDD_dDD0011 = tmpFD10*((4.0/3.0)*hDD00_i0_i1m1_i2 + (4.0/3.0)*hDD00_i0_i1p1_i2 - tmpFD15 + tmpFD16 + tmpFD49);
const double hDD_dDD0012 = tmpFD11*((4.0/9.0)*hDD00_i0_i1m1_i2m1 - 1.0/18.0*hDD00_i0_i1m1_i2m2 - 4.0/9.0*hDD00_i0_i1m1_i2p1 + (1.0/18.0)*hDD00_i0_i1m1_i2p2 - 1.0/18.0*hDD00_i0_i1m2_i2m1 + (1.0/144.0)*hDD00_i0_i1m2_i2m2 + (1.0/18.0)*hDD00_i0_i1m2_i2p1 - 1.0/144.0*hDD00_i0_i1m2_i2p2 - 4.0/9.0*hDD00_i0_i1p1_i2m1 + (1.0/18.0)*hDD00_i0_i1p1_i2m2 + (4.0/9.0)*hDD00_i0_i1p1_i2p1 - 1.0/18.0*hDD00_i0_i1p1_i2p2 + (1.0/18.0)*hDD00_i0_i1p2_i2m1 - 1.0/144.0*hDD00_i0_i1p2_i2m2 - 1.0/18.0*hDD00_i0_i1p2_i2p1 + (1.0/144.0)*hDD00_i0_i1p2_i2p2);
const double hDD_dDD0022 = tmpFD12*((4.0/3.0)*hDD00_i0_i1_i2m1 + (4.0/3.0)*hDD00_i0_i1_i2p1 - tmpFD17 + tmpFD18 + tmpFD49);
const double hDD_dDD0100 = tmpFD6*((4.0/3.0)*hDD01_i0m1_i1_i2 + (4.0/3.0)*hDD01_i0p1_i1_i2 - tmpFD19 + tmpFD20 + tmpFD50);
const double hDD_dDD0101 = tmpFD8*((4.0/9.0)*hDD01_i0m1_i1m1_i2 - 1.0/18.0*hDD01_i0m1_i1m2_i2 - 4.0/9.0*hDD01_i0m1_i1p1_i2 + (1.0/18.0)*hDD01_i0m1_i1p2_i2 - 1.0/18.0*hDD01_i0m2_i1m1_i2 + (1.0/144.0)*hDD01_i0m2_i1m2_i2 + (1.0/18.0)*hDD01_i0m2_i1p1_i2 - 1.0/144.0*hDD01_i0m2_i1p2_i2 - 4.0/9.0*hDD01_i0p1_i1m1_i2 + (1.0/18.0)*hDD01_i0p1_i1m2_i2 + (4.0/9.0)*hDD01_i0p1_i1p1_i2 - 1.0/18.0*hDD01_i0p1_i1p2_i2 + (1.0/18.0)*hDD01_i0p2_i1m1_i2 - 1.0/144.0*hDD01_i0p2_i1m2_i2 - 1.0/18.0*hDD01_i0p2_i1p1_i2 + (1.0/144.0)*hDD01_i0p2_i1p2_i2);
const double hDD_dDD0102 = tmpFD9*((4.0/9.0)*hDD01_i0m1_i1_i2m1 - 1.0/18.0*hDD01_i0m1_i1_i2m2 - 4.0/9.0*hDD01_i0m1_i1_i2p1 + (1.0/18.0)*hDD01_i0m1_i1_i2p2 - 1.0/18.0*hDD01_i0m2_i1_i2m1 + (1.0/144.0)*hDD01_i0m2_i1_i2m2 + (1.0/18.0)*hDD01_i0m2_i1_i2p1 - 1.0/144.0*hDD01_i0m2_i1_i2p2 - 4.0/9.0*hDD01_i0p1_i1_i2m1 + (1.0/18.0)*hDD01_i0p1_i1_i2m2 + (4.0/9.0)*hDD01_i0p1_i1_i2p1 - 1.0/18.0*hDD01_i0p1_i1_i2p2 + (1.0/18.0)*hDD01_i0p2_i1_i2m1 - 1.0/144.0*hDD01_i0p2_i1_i2m2 - 1.0/18.0*hDD01_i0p2_i1_i2p1 + (1.0/144.0)*hDD01_i0p2_i1_i2p2);
const double hDD_dDD0111 = tmpFD10*((4.0/3.0)*hDD01_i0_i1m1_i2 + (4.0/3.0)*hDD01_i0_i1p1_i2 - tmpFD21 + tmpFD22 + tmpFD50);
const double hDD_dDD0112 = tmpFD11*((4.0/9.0)*hDD01_i0_i1m1_i2m1 - 1.0/18.0*hDD01_i0_i1m1_i2m2 - 4.0/9.0*hDD01_i0_i1m1_i2p1 + (1.0/18.0)*hDD01_i0_i1m1_i2p2 - 1.0/18.0*hDD01_i0_i1m2_i2m1 + (1.0/144.0)*hDD01_i0_i1m2_i2m2 + (1.0/18.0)*hDD01_i0_i1m2_i2p1 - 1.0/144.0*hDD01_i0_i1m2_i2p2 - 4.0/9.0*hDD01_i0_i1p1_i2m1 + (1.0/18.0)*hDD01_i0_i1p1_i2m2 + (4.0/9.0)*hDD01_i0_i1p1_i2p1 - 1.0/18.0*hDD01_i0_i1p1_i2p2 + (1.0/18.0)*hDD01_i0_i1p2_i2m1 - 1.0/144.0*hDD01_i0_i1p2_i2m2 - 1.0/18.0*hDD01_i0_i1p2_i2p1 + (1.0/144.0)*hDD01_i0_i1p2_i2p2);
const double hDD_dDD0122 = tmpFD12*((4.0/3.0)*hDD01_i0_i1_i2m1 + (4.0/3.0)*hDD01_i0_i1_i2p1 - tmpFD23 + tmpFD24 + tmpFD50);
const double hDD_dDD0200 = tmpFD6*((4.0/3.0)*hDD02_i0m1_i1_i2 + (4.0/3.0)*hDD02_i0p1_i1_i2 - tmpFD25 + tmpFD26 + tmpFD51);
const double hDD_dDD0201 = tmpFD8*((4.0/9.0)*hDD02_i0m1_i1m1_i2 - 1.0/18.0*hDD02_i0m1_i1m2_i2 - 4.0/9.0*hDD02_i0m1_i1p1_i2 + (1.0/18.0)*hDD02_i0m1_i1p2_i2 - 1.0/18.0*hDD02_i0m2_i1m1_i2 + (1.0/144.0)*hDD02_i0m2_i1m2_i2 + (1.0/18.0)*hDD02_i0m2_i1p1_i2 - 1.0/144.0*hDD02_i0m2_i1p2_i2 - 4.0/9.0*hDD02_i0p1_i1m1_i2 + (1.0/18.0)*hDD02_i0p1_i1m2_i2 + (4.0/9.0)*hDD02_i0p1_i1p1_i2 - 1.0/18.0*hDD02_i0p1_i1p2_i2 + (1.0/18.0)*hDD02_i0p2_i1m1_i2 - 1.0/144.0*hDD02_i0p2_i1m2_i2 - 1.0/18.0*hDD02_i0p2_i1p1_i2 + (1.0/144.0)*hDD02_i0p2_i1p2_i2);
const double hDD_dDD0202 = tmpFD9*((4.0/9.0)*hDD02_i0m1_i1_i2m1 - 1.0/18.0*hDD02_i0m1_i1_i2m2 - 4.0/9.0*hDD02_i0m1_i1_i2p1 + (1.0/18.0)*hDD02_i0m1_i1_i2p2 - 1.0/18.0*hDD02_i0m2_i1_i2m1 + (1.0/144.0)*hDD02_i0m2_i1_i2m2 + (1.0/18.0)*hDD02_i0m2_i1_i2p1 - 1.0/144.0*hDD02_i0m2_i1_i2p2 - 4.0/9.0*hDD02_i0p1_i1_i2m1 + (1.0/18.0)*hDD02_i0p1_i1_i2m2 + (4.0/9.0)*hDD02_i0p1_i1_i2p1 - 1.0/18.0*hDD02_i0p1_i1_i2p2 + (1.0/18.0)*hDD02_i0p2_i1_i2m1 - 1.0/144.0*hDD02_i0p2_i1_i2m2 - 1.0/18.0*hDD02_i0p2_i1_i2p1 + (1.0/144.0)*hDD02_i0p2_i1_i2p2);
const double hDD_dDD0211 = tmpFD10*((4.0/3.0)*hDD02_i0_i1m1_i2 + (4.0/3.0)*hDD02_i0_i1p1_i2 - tmpFD27 + tmpFD28 + tmpFD51);
const double hDD_dDD0212 = tmpFD11*((4.0/9.0)*hDD02_i0_i1m1_i2m1 - 1.0/18.0*hDD02_i0_i1m1_i2m2 - 4.0/9.0*hDD02_i0_i1m1_i2p1 + (1.0/18.0)*hDD02_i0_i1m1_i2p2 - 1.0/18.0*hDD02_i0_i1m2_i2m1 + (1.0/144.0)*hDD02_i0_i1m2_i2m2 + (1.0/18.0)*hDD02_i0_i1m2_i2p1 - 1.0/144.0*hDD02_i0_i1m2_i2p2 - 4.0/9.0*hDD02_i0_i1p1_i2m1 + (1.0/18.0)*hDD02_i0_i1p1_i2m2 + (4.0/9.0)*hDD02_i0_i1p1_i2p1 - 1.0/18.0*hDD02_i0_i1p1_i2p2 + (1.0/18.0)*hDD02_i0_i1p2_i2m1 - 1.0/144.0*hDD02_i0_i1p2_i2m2 - 1.0/18.0*hDD02_i0_i1p2_i2p1 + (1.0/144.0)*hDD02_i0_i1p2_i2p2);
const double hDD_dDD0222 = tmpFD12*((4.0/3.0)*hDD02_i0_i1_i2m1 + (4.0/3.0)*hDD02_i0_i1_i2p1 - tmpFD29 + tmpFD30 + tmpFD51);
const double hDD_dDD1100 = tmpFD6*((4.0/3.0)*hDD11_i0m1_i1_i2 + (4.0/3.0)*hDD11_i0p1_i1_i2 - tmpFD31 + tmpFD32 + tmpFD52);
const double hDD_dDD1101 = tmpFD8*((4.0/9.0)*hDD11_i0m1_i1m1_i2 - 1.0/18.0*hDD11_i0m1_i1m2_i2 - 4.0/9.0*hDD11_i0m1_i1p1_i2 + (1.0/18.0)*hDD11_i0m1_i1p2_i2 - 1.0/18.0*hDD11_i0m2_i1m1_i2 + (1.0/144.0)*hDD11_i0m2_i1m2_i2 + (1.0/18.0)*hDD11_i0m2_i1p1_i2 - 1.0/144.0*hDD11_i0m2_i1p2_i2 - 4.0/9.0*hDD11_i0p1_i1m1_i2 + (1.0/18.0)*hDD11_i0p1_i1m2_i2 + (4.0/9.0)*hDD11_i0p1_i1p1_i2 - 1.0/18.0*hDD11_i0p1_i1p2_i2 + (1.0/18.0)*hDD11_i0p2_i1m1_i2 - 1.0/144.0*hDD11_i0p2_i1m2_i2 - 1.0/18.0*hDD11_i0p2_i1p1_i2 + (1.0/144.0)*hDD11_i0p2_i1p2_i2);
const double hDD_dDD1102 = tmpFD9*((4.0/9.0)*hDD11_i0m1_i1_i2m1 - 1.0/18.0*hDD11_i0m1_i1_i2m2 - 4.0/9.0*hDD11_i0m1_i1_i2p1 + (1.0/18.0)*hDD11_i0m1_i1_i2p2 - 1.0/18.0*hDD11_i0m2_i1_i2m1 + (1.0/144.0)*hDD11_i0m2_i1_i2m2 + (1.0/18.0)*hDD11_i0m2_i1_i2p1 - 1.0/144.0*hDD11_i0m2_i1_i2p2 - 4.0/9.0*hDD11_i0p1_i1_i2m1 + (1.0/18.0)*hDD11_i0p1_i1_i2m2 + (4.0/9.0)*hDD11_i0p1_i1_i2p1 - 1.0/18.0*hDD11_i0p1_i1_i2p2 + (1.0/18.0)*hDD11_i0p2_i1_i2m1 - 1.0/144.0*hDD11_i0p2_i1_i2m2 - 1.0/18.0*hDD11_i0p2_i1_i2p1 + (1.0/144.0)*hDD11_i0p2_i1_i2p2);
const double hDD_dDD1111 = tmpFD10*((4.0/3.0)*hDD11_i0_i1m1_i2 + (4.0/3.0)*hDD11_i0_i1p1_i2 - tmpFD33 + tmpFD34 + tmpFD52);
const double hDD_dDD1112 = tmpFD11*((4.0/9.0)*hDD11_i0_i1m1_i2m1 - 1.0/18.0*hDD11_i0_i1m1_i2m2 - 4.0/9.0*hDD11_i0_i1m1_i2p1 + (1.0/18.0)*hDD11_i0_i1m1_i2p2 - 1.0/18.0*hDD11_i0_i1m2_i2m1 + (1.0/144.0)*hDD11_i0_i1m2_i2m2 + (1.0/18.0)*hDD11_i0_i1m2_i2p1 - 1.0/144.0*hDD11_i0_i1m2_i2p2 - 4.0/9.0*hDD11_i0_i1p1_i2m1 + (1.0/18.0)*hDD11_i0_i1p1_i2m2 + (4.0/9.0)*hDD11_i0_i1p1_i2p1 - 1.0/18.0*hDD11_i0_i1p1_i2p2 + (1.0/18.0)*hDD11_i0_i1p2_i2m1 - 1.0/144.0*hDD11_i0_i1p2_i2m2 - 1.0/18.0*hDD11_i0_i1p2_i2p1 + (1.0/144.0)*hDD11_i0_i1p2_i2p2);
const double hDD_dDD1122 = tmpFD12*((4.0/3.0)*hDD11_i0_i1_i2m1 + (4.0/3.0)*hDD11_i0_i1_i2p1 - tmpFD35 + tmpFD36 + tmpFD52);
const double hDD_dDD1200 = tmpFD6*((4.0/3.0)*hDD12_i0m1_i1_i2 + (4.0/3.0)*hDD12_i0p1_i1_i2 - tmpFD37 + tmpFD38 + tmpFD53);
const double hDD_dDD1201 = tmpFD8*((4.0/9.0)*hDD12_i0m1_i1m1_i2 - 1.0/18.0*hDD12_i0m1_i1m2_i2 - 4.0/9.0*hDD12_i0m1_i1p1_i2 + (1.0/18.0)*hDD12_i0m1_i1p2_i2 - 1.0/18.0*hDD12_i0m2_i1m1_i2 + (1.0/144.0)*hDD12_i0m2_i1m2_i2 + (1.0/18.0)*hDD12_i0m2_i1p1_i2 - 1.0/144.0*hDD12_i0m2_i1p2_i2 - 4.0/9.0*hDD12_i0p1_i1m1_i2 + (1.0/18.0)*hDD12_i0p1_i1m2_i2 + (4.0/9.0)*hDD12_i0p1_i1p1_i2 - 1.0/18.0*hDD12_i0p1_i1p2_i2 + (1.0/18.0)*hDD12_i0p2_i1m1_i2 - 1.0/144.0*hDD12_i0p2_i1m2_i2 - 1.0/18.0*hDD12_i0p2_i1p1_i2 + (1.0/144.0)*hDD12_i0p2_i1p2_i2);
const double hDD_dDD1202 = tmpFD9*((4.0/9.0)*hDD12_i0m1_i1_i2m1 - 1.0/18.0*hDD12_i0m1_i1_i2m2 - 4.0/9.0*hDD12_i0m1_i1_i2p1 + (1.0/18.0)*hDD12_i0m1_i1_i2p2 - 1.0/18.0*hDD12_i0m2_i1_i2m1 + (1.0/144.0)*hDD12_i0m2_i1_i2m2 + (1.0/18.0)*hDD12_i0m2_i1_i2p1 - 1.0/144.0*hDD12_i0m2_i1_i2p2 - 4.0/9.0*hDD12_i0p1_i1_i2m1 + (1.0/18.0)*hDD12_i0p1_i1_i2m2 + (4.0/9.0)*hDD12_i0p1_i1_i2p1 - 1.0/18.0*hDD12_i0p1_i1_i2p2 + (1.0/18.0)*hDD12_i0p2_i1_i2m1 - 1.0/144.0*hDD12_i0p2_i1_i2m2 - 1.0/18.0*hDD12_i0p2_i1_i2p1 + (1.0/144.0)*hDD12_i0p2_i1_i2p2);
const double hDD_dDD1211 = tmpFD10*((4.0/3.0)*hDD12_i0_i1m1_i2 + (4.0/3.0)*hDD12_i0_i1p1_i2 - tmpFD39 + tmpFD40 + tmpFD53);
const double hDD_dDD1212 = tmpFD11*((4.0/9.0)*hDD12_i0_i1m1_i2m1 - 1.0/18.0*hDD12_i0_i1m1_i2m2 - 4.0/9.0*hDD12_i0_i1m1_i2p1 + (1.0/18.0)*hDD12_i0_i1m1_i2p2 - 1.0/18.0*hDD12_i0_i1m2_i2m1 + (1.0/144.0)*hDD12_i0_i1m2_i2m2 + (1.0/18.0)*hDD12_i0_i1m2_i2p1 - 1.0/144.0*hDD12_i0_i1m2_i2p2 - 4.0/9.0*hDD12_i0_i1p1_i2m1 + (1.0/18.0)*hDD12_i0_i1p1_i2m2 + (4.0/9.0)*hDD12_i0_i1p1_i2p1 - 1.0/18.0*hDD12_i0_i1p1_i2p2 + (1.0/18.0)*hDD12_i0_i1p2_i2m1 - 1.0/144.0*hDD12_i0_i1p2_i2m2 - 1.0/18.0*hDD12_i0_i1p2_i2p1 + (1.0/144.0)*hDD12_i0_i1p2_i2p2);
const double hDD_dDD1222 = tmpFD12*((4.0/3.0)*hDD12_i0_i1_i2m1 + (4.0/3.0)*hDD12_i0_i1_i2p1 - tmpFD41 + tmpFD42 + tmpFD53);
const double hDD_dDD2200 = tmpFD6*((4.0/3.0)*hDD22_i0m1_i1_i2 + (4.0/3.0)*hDD22_i0p1_i1_i2 - tmpFD43 + tmpFD44 + tmpFD54);
const double hDD_dDD2201 = tmpFD8*((4.0/9.0)*hDD22_i0m1_i1m1_i2 - 1.0/18.0*hDD22_i0m1_i1m2_i2 - 4.0/9.0*hDD22_i0m1_i1p1_i2 + (1.0/18.0)*hDD22_i0m1_i1p2_i2 - 1.0/18.0*hDD22_i0m2_i1m1_i2 + (1.0/144.0)*hDD22_i0m2_i1m2_i2 + (1.0/18.0)*hDD22_i0m2_i1p1_i2 - 1.0/144.0*hDD22_i0m2_i1p2_i2 - 4.0/9.0*hDD22_i0p1_i1m1_i2 + (1.0/18.0)*hDD22_i0p1_i1m2_i2 + (4.0/9.0)*hDD22_i0p1_i1p1_i2 - 1.0/18.0*hDD22_i0p1_i1p2_i2 + (1.0/18.0)*hDD22_i0p2_i1m1_i2 - 1.0/144.0*hDD22_i0p2_i1m2_i2 - 1.0/18.0*hDD22_i0p2_i1p1_i2 + (1.0/144.0)*hDD22_i0p2_i1p2_i2);
const double hDD_dDD2202 = tmpFD9*((4.0/9.0)*hDD22_i0m1_i1_i2m1 - 1.0/18.0*hDD22_i0m1_i1_i2m2 - 4.0/9.0*hDD22_i0m1_i1_i2p1 + (1.0/18.0)*hDD22_i0m1_i1_i2p2 - 1.0/18.0*hDD22_i0m2_i1_i2m1 + (1.0/144.0)*hDD22_i0m2_i1_i2m2 + (1.0/18.0)*hDD22_i0m2_i1_i2p1 - 1.0/144.0*hDD22_i0m2_i1_i2p2 - 4.0/9.0*hDD22_i0p1_i1_i2m1 + (1.0/18.0)*hDD22_i0p1_i1_i2m2 + (4.0/9.0)*hDD22_i0p1_i1_i2p1 - 1.0/18.0*hDD22_i0p1_i1_i2p2 + (1.0/18.0)*hDD22_i0p2_i1_i2m1 - 1.0/144.0*hDD22_i0p2_i1_i2m2 - 1.0/18.0*hDD22_i0p2_i1_i2p1 + (1.0/144.0)*hDD22_i0p2_i1_i2p2);
const double hDD_dDD2211 = tmpFD10*((4.0/3.0)*hDD22_i0_i1m1_i2 + (4.0/3.0)*hDD22_i0_i1p1_i2 - tmpFD45 + tmpFD46 + tmpFD54);
const double hDD_dDD2212 = tmpFD11*((4.0/9.0)*hDD22_i0_i1m1_i2m1 - 1.0/18.0*hDD22_i0_i1m1_i2m2 - 4.0/9.0*hDD22_i0_i1m1_i2p1 + (1.0/18.0)*hDD22_i0_i1m1_i2p2 - 1.0/18.0*hDD22_i0_i1m2_i2m1 + (1.0/144.0)*hDD22_i0_i1m2_i2m2 + (1.0/18.0)*hDD22_i0_i1m2_i2p1 - 1.0/144.0*hDD22_i0_i1m2_i2p2 - 4.0/9.0*hDD22_i0_i1p1_i2m1 + (1.0/18.0)*hDD22_i0_i1p1_i2m2 + (4.0/9.0)*hDD22_i0_i1p1_i2p1 - 1.0/18.0*hDD22_i0_i1p1_i2p2 + (1.0/18.0)*hDD22_i0_i1p2_i2m1 - 1.0/144.0*hDD22_i0_i1p2_i2m2 - 1.0/18.0*hDD22_i0_i1p2_i2p1 + (1.0/144.0)*hDD22_i0_i1p2_i2p2);
const double hDD_dDD2222 = tmpFD12*((4.0/3.0)*hDD22_i0_i1_i2m1 + (4.0/3.0)*hDD22_i0_i1_i2p1 - tmpFD47 + tmpFD48 + tmpFD54);
const double lambdaU_dD00 = invdx0*(-2.0/3.0*lambdaU0_i0m1_i1_i2 + (1.0/12.0)*lambdaU0_i0m2_i1_i2 + (2.0/3.0)*lambdaU0_i0p1_i1_i2 - 1.0/12.0*lambdaU0_i0p2_i1_i2);
const double lambdaU_dD01 = invdx1*(-2.0/3.0*lambdaU0_i0_i1m1_i2 + (1.0/12.0)*lambdaU0_i0_i1m2_i2 + (2.0/3.0)*lambdaU0_i0_i1p1_i2 - 1.0/12.0*lambdaU0_i0_i1p2_i2);
const double lambdaU_dD02 = invdx2*(-2.0/3.0*lambdaU0_i0_i1_i2m1 + (1.0/12.0)*lambdaU0_i0_i1_i2m2 + (2.0/3.0)*lambdaU0_i0_i1_i2p1 - 1.0/12.0*lambdaU0_i0_i1_i2p2);
const double lambdaU_dD10 = invdx0*(-2.0/3.0*lambdaU1_i0m1_i1_i2 + (1.0/12.0)*lambdaU1_i0m2_i1_i2 + (2.0/3.0)*lambdaU1_i0p1_i1_i2 - 1.0/12.0*lambdaU1_i0p2_i1_i2);
const double lambdaU_dD11 = invdx1*(-2.0/3.0*lambdaU1_i0_i1m1_i2 + (1.0/12.0)*lambdaU1_i0_i1m2_i2 + (2.0/3.0)*lambdaU1_i0_i1p1_i2 - 1.0/12.0*lambdaU1_i0_i1p2_i2);
const double lambdaU_dD12 = invdx2*(-2.0/3.0*lambdaU1_i0_i1_i2m1 + (1.0/12.0)*lambdaU1_i0_i1_i2m2 + (2.0/3.0)*lambdaU1_i0_i1_i2p1 - 1.0/12.0*lambdaU1_i0_i1_i2p2);
const double lambdaU_dD20 = invdx0*(-2.0/3.0*lambdaU2_i0m1_i1_i2 + (1.0/12.0)*lambdaU2_i0m2_i1_i2 + (2.0/3.0)*lambdaU2_i0p1_i1_i2 - 1.0/12.0*lambdaU2_i0p2_i1_i2);
const double lambdaU_dD21 = invdx1*(-2.0/3.0*lambdaU2_i0_i1m1_i2 + (1.0/12.0)*lambdaU2_i0_i1m2_i2 + (2.0/3.0)*lambdaU2_i0_i1p1_i2 - 1.0/12.0*lambdaU2_i0_i1p2_i2);
const double lambdaU_dD22 = invdx2*(-2.0/3.0*lambdaU2_i0_i1_i2m1 + (1.0/12.0)*lambdaU2_i0_i1_i2m2 + (2.0/3.0)*lambdaU2_i0_i1_i2p1 - 1.0/12.0*lambdaU2_i0_i1_i2p2);
const double trK_dD0 = invdx0*(-2.0/3.0*trK_i0m1_i1_i2 + (1.0/12.0)*trK_i0m2_i1_i2 + (2.0/3.0)*trK_i0p1_i1_i2 - 1.0/12.0*trK_i0p2_i1_i2);
const double trK_dD1 = invdx1*(-2.0/3.0*trK_i0_i1m1_i2 + (1.0/12.0)*trK_i0_i1m2_i2 + (2.0/3.0)*trK_i0_i1p1_i2 - 1.0/12.0*trK_i0_i1p2_i2);
const double trK_dD2 = invdx2*(-2.0/3.0*trK_i0_i1_i2m1 + (1.0/12.0)*trK_i0_i1_i2m2 + (2.0/3.0)*trK_i0_i1_i2p1 - 1.0/12.0*trK_i0_i1_i2p2);
const double tmpFD0 = ((invdx0)*(invdx0));
const double tmpFD1 = -2*cf;
const double tmpFD2 = invdx0*invdx1;
const double tmpFD3 = invdx0*invdx2;
const double tmpFD4 = ((invdx1)*(invdx1));
const double tmpFD5 = invdx1*invdx2;
const double tmpFD6 = ((invdx2)*(invdx2));
const double tmpFD7 = -2*hDD00;
const double tmpFD8 = -2*hDD01;
const double tmpFD9 = -2*hDD02;
const double tmpFD10 = -2*hDD11;
const double tmpFD11 = -2*hDD12;
const double tmpFD12 = -2*hDD22;
const double aDD_dD000 = invdx0*(-1.0/2.0*aDD00_i0m1_i1_i2 + (1.0/2.0)*aDD00_i0p1_i1_i2);
const double aDD_dD001 = invdx1*(-1.0/2.0*aDD00_i0_i1m1_i2 + (1.0/2.0)*aDD00_i0_i1p1_i2);
const double aDD_dD002 = invdx2*(-1.0/2.0*aDD00_i0_i1_i2m1 + (1.0/2.0)*aDD00_i0_i1_i2p1);
const double aDD_dD010 = invdx0*(-1.0/2.0*aDD01_i0m1_i1_i2 + (1.0/2.0)*aDD01_i0p1_i1_i2);
const double aDD_dD011 = invdx1*(-1.0/2.0*aDD01_i0_i1m1_i2 + (1.0/2.0)*aDD01_i0_i1p1_i2);
const double aDD_dD012 = invdx2*(-1.0/2.0*aDD01_i0_i1_i2m1 + (1.0/2.0)*aDD01_i0_i1_i2p1);
const double aDD_dD020 = invdx0*(-1.0/2.0*aDD02_i0m1_i1_i2 + (1.0/2.0)*aDD02_i0p1_i1_i2);
const double aDD_dD021 = invdx1*(-1.0/2.0*aDD02_i0_i1m1_i2 + (1.0/2.0)*aDD02_i0_i1p1_i2);
const double aDD_dD022 = invdx2*(-1.0/2.0*aDD02_i0_i1_i2m1 + (1.0/2.0)*aDD02_i0_i1_i2p1);
const double aDD_dD110 = invdx0*(-1.0/2.0*aDD11_i0m1_i1_i2 + (1.0/2.0)*aDD11_i0p1_i1_i2);
const double aDD_dD111 = invdx1*(-1.0/2.0*aDD11_i0_i1m1_i2 + (1.0/2.0)*aDD11_i0_i1p1_i2);
const double aDD_dD112 = invdx2*(-1.0/2.0*aDD11_i0_i1_i2m1 + (1.0/2.0)*aDD11_i0_i1_i2p1);
const double aDD_dD120 = invdx0*(-1.0/2.0*aDD12_i0m1_i1_i2 + (1.0/2.0)*aDD12_i0p1_i1_i2);
const double aDD_dD121 = invdx1*(-1.0/2.0*aDD12_i0_i1m1_i2 + (1.0/2.0)*aDD12_i0_i1p1_i2);
const double aDD_dD122 = invdx2*(-1.0/2.0*aDD12_i0_i1_i2m1 + (1.0/2.0)*aDD12_i0_i1_i2p1);
const double aDD_dD220 = invdx0*(-1.0/2.0*aDD22_i0m1_i1_i2 + (1.0/2.0)*aDD22_i0p1_i1_i2);
const double aDD_dD221 = invdx1*(-1.0/2.0*aDD22_i0_i1m1_i2 + (1.0/2.0)*aDD22_i0_i1p1_i2);
const double aDD_dD222 = invdx2*(-1.0/2.0*aDD22_i0_i1_i2m1 + (1.0/2.0)*aDD22_i0_i1_i2p1);
const double cf_dD0 = invdx0*(-1.0/2.0*cf_i0m1_i1_i2 + (1.0/2.0)*cf_i0p1_i1_i2);
const double cf_dD1 = invdx1*(-1.0/2.0*cf_i0_i1m1_i2 + (1.0/2.0)*cf_i0_i1p1_i2);
const double cf_dD2 = invdx2*(-1.0/2.0*cf_i0_i1_i2m1 + (1.0/2.0)*cf_i0_i1_i2p1);
const double cf_dDD00 = tmpFD0*(cf_i0m1_i1_i2 + cf_i0p1_i1_i2 + tmpFD1);
const double cf_dDD01 = tmpFD2*((1.0/4.0)*cf_i0m1_i1m1_i2 - 1.0/4.0*cf_i0m1_i1p1_i2 - 1.0/4.0*cf_i0p1_i1m1_i2 + (1.0/4.0)*cf_i0p1_i1p1_i2);
const double cf_dDD02 = tmpFD3*((1.0/4.0)*cf_i0m1_i1_i2m1 - 1.0/4.0*cf_i0m1_i1_i2p1 - 1.0/4.0*cf_i0p1_i1_i2m1 + (1.0/4.0)*cf_i0p1_i1_i2p1);
const double cf_dDD11 = tmpFD4*(cf_i0_i1m1_i2 + cf_i0_i1p1_i2 + tmpFD1);
const double cf_dDD12 = tmpFD5*((1.0/4.0)*cf_i0_i1m1_i2m1 - 1.0/4.0*cf_i0_i1m1_i2p1 - 1.0/4.0*cf_i0_i1p1_i2m1 + (1.0/4.0)*cf_i0_i1p1_i2p1);
const double cf_dDD22 = tmpFD6*(cf_i0_i1_i2m1 + cf_i0_i1_i2p1 + tmpFD1);
const double hDD_dD000 = invdx0*(-1.0/2.0*hDD00_i0m1_i1_i2 + (1.0/2.0)*hDD00_i0p1_i1_i2);
const double hDD_dD001 = invdx1*(-1.0/2.0*hDD00_i0_i1m1_i2 + (1.0/2.0)*hDD00_i0_i1p1_i2);
const double hDD_dD002 = invdx2*(-1.0/2.0*hDD00_i0_i1_i2m1 + (1.0/2.0)*hDD00_i0_i1_i2p1);
const double hDD_dD010 = invdx0*(-1.0/2.0*hDD01_i0m1_i1_i2 + (1.0/2.0)*hDD01_i0p1_i1_i2);
const double hDD_dD011 = invdx1*(-1.0/2.0*hDD01_i0_i1m1_i2 + (1.0/2.0)*hDD01_i0_i1p1_i2);
const double hDD_dD012 = invdx2*(-1.0/2.0*hDD01_i0_i1_i2m1 + (1.0/2.0)*hDD01_i0_i1_i2p1);
const double hDD_dD020 = invdx0*(-1.0/2.0*hDD02_i0m1_i1_i2 + (1.0/2.0)*hDD02_i0p1_i1_i2);
const double hDD_dD021 = invdx1*(-1.0/2.0*hDD02_i0_i1m1_i2 + (1.0/2.0)*hDD02_i0_i1p1_i2);
const double hDD_dD022 = invdx2*(-1.0/2.0*hDD02_i0_i1_i2m1 + (1.0/2.0)*hDD02_i0_i1_i2p1);
const double hDD_dD110 = invdx0*(-1.0/2.0*hDD11_i0m1_i1_i2 + (1.0/2.0)*hDD11_i0p1_i1_i2);
const double hDD_dD111 = invdx1*(-1.0/2.0*hDD11_i0_i1m1_i2 + (1.0/2.0)*hDD11_i0_i1p1_i2);
const double hDD_dD112 = invdx2*(-1.0/2.0*hDD11_i0_i1_i2m1 + (1.0/2.0)*hDD11_i0_i1_i2p1);
const double hDD_dD120 = invdx0*(-1.0/2.0*hDD12_i0m1_i1_i2 + (1.0/2.0)*hDD12_i0p1_i1_i2);
const double hDD_dD121 = invdx1*(-1.0/2.0*hDD12_i0_i1m1_i2 + (1.0/2.0)*hDD12_i0_i1p1_i2);
const double hDD_dD122 = invdx2*(-1.0/2.0*hDD12_i0_i1_i2m1 + (1.0/2.0)*hDD12_i0_i1_i2p1);
const double hDD_dD220 = invdx0*(-1.0/2.0*hDD22_i0m1_i1_i2 + (1.0/2.0)*hDD22_i0p1_i1_i2);
const double hDD_dD221 = invdx1*(-1.0/2.0*hDD22_i0_i1m1_i2 + (1.0/2.0)*hDD22_i0_i1p1_i2);
const double hDD_dD222 = invdx2*(-1.0/2.0*hDD22_i0_i1_i2m1 + (1.0/2.0)*hDD22_i0_i1_i2p1);
const double hDD_dDD0000 = tmpFD0*(hDD00_i0m1_i1_i2 + hDD00_i0p1_i1_i2 + tmpFD7);
const double hDD_dDD0001 = tmpFD2*((1.0/4.0)*hDD00_i0m1_i1m1_i2 - 1.0/4.0*hDD00_i0m1_i1p1_i2 - 1.0/4.0*hDD00_i0p1_i1m1_i2 + (1.0/4.0)*hDD00_i0p1_i1p1_i2);
const double hDD_dDD0002 = tmpFD3*((1.0/4.0)*hDD00_i0m1_i1_i2m1 - 1.0/4.0*hDD00_i0m1_i1_i2p1 - 1.0/4.0*hDD00_i0p1_i1_i2m1 + (1.0/4.0)*hDD00_i0p1_i1_i2p1);
const double hDD_dDD0011 = tmpFD4*(hDD00_i0_i1m1_i2 + hDD00_i0_i1p1_i2 + tmpFD7);
const double hDD_dDD0012 = tmpFD5*((1.0/4.0)*hDD00_i0_i1m1_i2m1 - 1.0/4.0*hDD00_i0_i1m1_i2p1 - 1.0/4.0*hDD00_i0_i1p1_i2m1 + (1.0/4.0)*hDD00_i0_i1p1_i2p1);
const double hDD_dDD0022 = tmpFD6*(hDD00_i0_i1_i2m1 + hDD00_i0_i1_i2p1 + tmpFD7);
const double hDD_dDD0100 = tmpFD0*(hDD01_i0m1_i1_i2 + hDD01_i0p1_i1_i2 + tmpFD8);
const double hDD_dDD0101 = tmpFD2*((1.0/4.0)*hDD01_i0m1_i1m1_i2 - 1.0/4.0*hDD01_i0m1_i1p1_i2 - 1.0/4.0*hDD01_i0p1_i1m1_i2 + (1.0/4.0)*hDD01_i0p1_i1p1_i2);
const double hDD_dDD0102 = tmpFD3*((1.0/4.0)*hDD01_i0m1_i1_i2m1 - 1.0/4.0*hDD01_i0m1_i1_i2p1 - 1.0/4.0*hDD01_i0p1_i1_i2m1 + (1.0/4.0)*hDD01_i0p1_i1_i2p1);
const double hDD_dDD0111 = tmpFD4*(hDD01_i0_i1m1_i2 + hDD01_i0_i1p1_i2 + tmpFD8);
const double hDD_dDD0112 = tmpFD5*((1.0/4.0)*hDD01_i0_i1m1_i2m1 - 1.0/4.0*hDD01_i0_i1m1_i2p1 - 1.0/4.0*hDD01_i0_i1p1_i2m1 + (1.0/4.0)*hDD01_i0_i1p1_i2p1);
const double hDD_dDD0122 = tmpFD6*(hDD01_i0_i1_i2m1 + hDD01_i0_i1_i2p1 + tmpFD8);
const double hDD_dDD0200 = tmpFD0*(hDD02_i0m1_i1_i2 + hDD02_i0p1_i1_i2 + tmpFD9);
const double hDD_dDD0201 = tmpFD2*((1.0/4.0)*hDD02_i0m1_i1m1_i2 - 1.0/4.0*hDD02_i0m1_i1p1_i2 - 1.0/4.0*hDD02_i0p1_i1m1_i2 + (1.0/4.0)*hDD02_i0p1_i1p1_i2);
const double hDD_dDD0202 = tmpFD3*((1.0/4.0)*hDD02_i0m1_i1_i2m1 - 1.0/4.0*hDD02_i0m1_i1_i2p1 - 1.0/4.0*hDD02_i0p1_i1_i2m1 + (1.0/4.0)*hDD02_i0p1_i1_i2p1);
const double hDD_dDD0211 = tmpFD4*(hDD02_i0_i1m1_i2 + hDD02_i0_i1p1_i2 + tmpFD9);
const double hDD_dDD0212 = tmpFD5*((1.0/4.0)*hDD02_i0_i1m1_i2m1 - 1.0/4.0*hDD02_i0_i1m1_i2p1 - 1.0/4.0*hDD02_i0_i1p1_i2m1 + (1.0/4.0)*hDD02_i0_i1p1_i2p1);
const double hDD_dDD0222 = tmpFD6*(hDD02_i0_i1_i2m1 + hDD02_i0_i1_i2p1 + tmpFD9);
const double hDD_dDD1100 = tmpFD0*(hDD11_i0m1_i1_i2 + hDD11_i0p1_i1_i2 + tmpFD10);
const double hDD_dDD1101 = tmpFD2*((1.0/4.0)*hDD11_i0m1_i1m1_i2 - 1.0/4.0*hDD11_i0m1_i1p1_i2 - 1.0/4.0*hDD11_i0p1_i1m1_i2 + (1.0/4.0)*hDD11_i0p1_i1p1_i2);
const double hDD_dDD1102 = tmpFD3*((1.0/4.0)*hDD11_i0m1_i1_i2m1 - 1.0/4.0*hDD11_i0m1_i1_i2p1 - 1.0/4.0*hDD11_i0p1_i1_i2m1 + (1.0/4.0)*hDD11_i0p1_i1_i2p1);
const double hDD_dDD1111 = tmpFD4*(hDD11_i0_i1m1_i2 + hDD11_i0_i1p1_i2 + tmpFD10);
const double hDD_dDD1112 = tmpFD5*((1.0/4.0)*hDD11_i0_i1m1_i2m1 - 1.0/4.0*hDD11_i0_i1m1_i2p1 - 1.0/4.0*hDD11_i0_i1p1_i2m1 + (1.0/4.0)*hDD11_i0_i1p1_i2p1);
const double hDD_dDD1122 = tmpFD6*(hDD11_i0_i1_i2m1 + hDD11_i0_i1_i2p1 + tmpFD10);
const double hDD_dDD1200 = tmpFD0*(hDD12_i0m1_i1_i2 + hDD12_i0p1_i1_i2 + tmpFD11);
const double hDD_dDD1201 = tmpFD2*((1.0/4.0)*hDD12_i0m1_i1m1_i2 - 1.0/4.0*hDD12_i0m1_i1p1_i2 - 1.0/4.0*hDD12_i0p1_i1m1_i2 + (1.0/4.0)*hDD12_i0p1_i1p1_i2);
const double hDD_dDD1202 = tmpFD3*((1.0/4.0)*hDD12_i0m1_i1_i2m1 - 1.0/4.0*hDD12_i0m1_i1_i2p1 - 1.0/4.0*hDD12_i0p1_i1_i2m1 + (1.0/4.0)*hDD12_i0p1_i1_i2p1);
const double hDD_dDD1211 = tmpFD4*(hDD12_i0_i1m1_i2 + hDD12_i0_i1p1_i2 + tmpFD11);
const double hDD_dDD1212 = tmpFD5*((1.0/4.0)*hDD12_i0_i1m1_i2m1 - 1.0/4.0*hDD12_i0_i1m1_i2p1 - 1.0/4.0*hDD12_i0_i1p1_i2m1 + (1.0/4.0)*hDD12_i0_i1p1_i2p1);
const double hDD_dDD1222 = tmpFD6*(hDD12_i0_i1_i2m1 + hDD12_i0_i1_i2p1 + tmpFD11);
const double hDD_dDD2200 = tmpFD0*(hDD22_i0m1_i1_i2 + hDD22_i0p1_i1_i2 + tmpFD12);
const double hDD_dDD2201 = tmpFD2*((1.0/4.0)*hDD22_i0m1_i1m1_i2 - 1.0/4.0*hDD22_i0m1_i1p1_i2 - 1.0/4.0*hDD22_i0p1_i1m1_i2 + (1.0/4.0)*hDD22_i0p1_i1p1_i2);
const double hDD_dDD2202 = tmpFD3*((1.0/4.0)*hDD22_i0m1_i1_i2m1 - 1.0/4.0*hDD22_i0m1_i1_i2p1 - 1.0/4.0*hDD22_i0p1_i1_i2m1 + (1.0/4.0)*hDD22_i0p1_i1_i2p1);
const double hDD_dDD2211 = tmpFD4*(hDD22_i0_i1m1_i2 + hDD22_i0_i1p1_i2 + tmpFD12);
const double hDD_dDD2212 = tmpFD5*((1.0/4.0)*hDD22_i0_i1m1_i2m1 - 1.0/4.0*hDD22_i0_i1m1_i2p1 - 1.0/4.0*hDD22_i0_i1p1_i2m1 + (1.0/4.0)*hDD22_i0_i1p1_i2p1);
const double hDD_dDD2222 = tmpFD6*(hDD22_i0_i1_i2m1 + hDD22_i0_i1_i2p1 + tmpFD12);
const double lambdaU_dD00 = invdx0*(-1.0/2.0*lambdaU0_i0m1_i1_i2 + (1.0/2.0)*lambdaU0_i0p1_i1_i2);
const double lambdaU_dD01 = invdx1*(-1.0/2.0*lambdaU0_i0_i1m1_i2 + (1.0/2.0)*lambdaU0_i0_i1p1_i2);
const double lambdaU_dD02 = invdx2*(-1.0/2.0*lambdaU0_i0_i1_i2m1 + (1.0/2.0)*lambdaU0_i0_i1_i2p1);
const double lambdaU_dD10 = invdx0*(-1.0/2.0*lambdaU1_i0m1_i1_i2 + (1.0/2.0)*lambdaU1_i0p1_i1_i2);
const double lambdaU_dD11 = invdx1*(-1.0/2.0*lambdaU1_i0_i1m1_i2 + (1.0/2.0)*lambdaU1_i0_i1p1_i2);
const double lambdaU_dD12 = invdx2*(-1.0/2.0*lambdaU1_i0_i1_i2m1 + (1.0/2.0)*lambdaU1_i0_i1_i2p1);
const double lambdaU_dD20 = invdx0*(-1.0/2.0*lambdaU2_i0m1_i1_i2 + (1.0/2.0)*lambdaU2_i0p1_i1_i2);
const double lambdaU_dD21 = invdx1*(-1.0/2.0*lambdaU2_i0_i1m1_i2 + (1.0/2.0)*lambdaU2_i0_i1p1_i2);
const double lambdaU_dD22 = invdx2*(-1.0/2.0*lambdaU2_i0_i1_i2m1 + (1.0/2.0)*lambdaU2_i0_i1_i2p1);
const double trK_dD0 = invdx0*(-1.0/2.0*trK_i0m1_i1_i2 + (1.0/2.0)*trK_i0p1_i1_i2);
const double trK_dD1 = invdx1*(-1.0/2.0*trK_i0_i1m1_i2 + (1.0/2.0)*trK_i0_i1p1_i2);
const double trK_dD2 = invdx2*(-1.0/2.0*trK_i0_i1_i2m1 + (1.0/2.0)*trK_i0_i1_i2p1);