text: // File Automatically generated by eLiSe
  #include "general/all.h"
  #include "private/all.h"
  #include "cEqAppui_TerFix_M2CPolyn6.h"
  
  
  cEqAppui_TerFix_M2CPolyn6::cEqAppui_TerFix_M2CPolyn6():
      cElCompiledFonc(2)
  {
     AddIntRef (cIncIntervale("Intr",0,53));
     AddIntRef (cIncIntervale("Orient",53,59));
     Close(false);
  }
  
  
  
  void cEqAppui_TerFix_M2CPolyn6::ComputeVal()
  {
     double tmp0_ = mCompCoord[53];
     double tmp1_ = mCompCoord[54];
     double tmp2_ = cos(tmp1_);
     double tmp3_ = sin(tmp0_);
     double tmp4_ = cos(tmp0_);
     double tmp5_ = sin(tmp1_);
     double tmp6_ = mCompCoord[55];
     double tmp7_ = mCompCoord[56];
     double tmp8_ = mLocXTer-tmp7_;
     double tmp9_ = sin(tmp6_);
     double tmp10_ = -(tmp9_);
     double tmp11_ = -(tmp5_);
     double tmp12_ = cos(tmp6_);
     double tmp13_ = mCompCoord[57];
     double tmp14_ = mLocYTer-tmp13_;
     double tmp15_ = mCompCoord[58];
     double tmp16_ = mLocZTer-tmp15_;
     double tmp17_ = -(tmp3_);
     double tmp18_ = tmp4_*tmp11_;
     double tmp19_ = tmp3_*tmp11_;
     double tmp20_ = mCompCoord[0];
     double tmp21_ = tmp17_*tmp10_;
     double tmp22_ = tmp18_*tmp12_;
     double tmp23_ = tmp21_+tmp22_;
     double tmp24_ = (tmp23_)*(tmp8_);
     double tmp25_ = tmp4_*tmp10_;
     double tmp26_ = tmp19_*tmp12_;
     double tmp27_ = tmp25_+tmp26_;
     double tmp28_ = (tmp27_)*(tmp14_);
     double tmp29_ = tmp24_+tmp28_;
     double tmp30_ = tmp2_*tmp12_;
     double tmp31_ = tmp30_*(tmp16_);
     double tmp32_ = tmp29_+tmp31_;
     double tmp33_ = tmp20_/(tmp32_);
     double tmp34_ = tmp4_*tmp2_;
     double tmp35_ = tmp34_*(tmp8_);
     double tmp36_ = tmp3_*tmp2_;
     double tmp37_ = tmp36_*(tmp14_);
     double tmp38_ = tmp35_+tmp37_;
     double tmp39_ = tmp5_*(tmp16_);
     double tmp40_ = tmp38_+tmp39_;
     double tmp41_ = (tmp40_)*(tmp33_);
     double tmp42_ = mCompCoord[1];
     double tmp43_ = tmp41_+tmp42_;
     double tmp44_ = (tmp43_)-mLocPolyn6_State_1_0;
     double tmp45_ = (tmp44_)/mLocPolyn6_State_0_0;
     double tmp46_ = tmp17_*tmp12_;
     double tmp47_ = tmp18_*tmp9_;
     double tmp48_ = tmp46_+tmp47_;
     double tmp49_ = (tmp48_)*(tmp8_);
     double tmp50_ = tmp4_*tmp12_;
     double tmp51_ = tmp19_*tmp9_;
     double tmp52_ = tmp50_+tmp51_;
     double tmp53_ = (tmp52_)*(tmp14_);
     double tmp54_ = tmp49_+tmp53_;
     double tmp55_ = tmp2_*tmp9_;
     double tmp56_ = tmp55_*(tmp16_);
     double tmp57_ = tmp54_+tmp56_;
     double tmp58_ = (tmp57_)*(tmp33_);
     double tmp59_ = mCompCoord[2];
     double tmp60_ = tmp58_+tmp59_;
     double tmp61_ = (tmp60_)-mLocPolyn6_State_2_0;
     double tmp62_ = (tmp61_)/mLocPolyn6_State_0_0;
     double tmp63_ = (tmp45_)*(tmp45_);
     double tmp64_ = (tmp62_)*(tmp62_);
     double tmp65_ = tmp63_*(tmp45_);
     double tmp66_ = (tmp62_)*(tmp45_);
     double tmp67_ = tmp66_*(tmp45_);
     double tmp68_ = tmp64_*(tmp45_);
     double tmp69_ = (tmp62_)*tmp64_;
     double tmp70_ = tmp65_*(tmp45_);
     double tmp71_ = tmp67_*(tmp45_);
     double tmp72_ = tmp68_*(tmp45_);
     double tmp73_ = tmp69_*(tmp45_);
     double tmp74_ = (tmp62_)*tmp69_;
     double tmp75_ = tmp70_*(tmp45_);
     double tmp76_ = tmp71_*(tmp45_);
     double tmp77_ = tmp72_*(tmp45_);
     double tmp78_ = tmp73_*(tmp45_);
     double tmp79_ = tmp74_*(tmp45_);
     double tmp80_ = (tmp62_)*tmp74_;
     double tmp81_ = mCompCoord[3];
     double tmp82_ = mCompCoord[4];
     double tmp83_ = mCompCoord[5];
     double tmp84_ = (tmp45_)*(tmp62_);
     double tmp85_ = mCompCoord[6];
     double tmp86_ = tmp75_*(tmp45_);
     double tmp87_ = tmp76_*(tmp45_);
     double tmp88_ = tmp77_*(tmp45_);
     double tmp89_ = tmp78_*(tmp45_);
     double tmp90_ = tmp79_*(tmp45_);
     double tmp91_ = tmp80_*(tmp45_);
     double tmp92_ = (tmp62_)*tmp80_;
  
    mVal[0] = ((mLocPolyn6_State_1_0+(((1+tmp81_)*(tmp45_)+tmp82_*(tmp62_))-tmp83_*2*tmp63_+tmp85_*tmp84_+mCompCoord[7]*tmp64_)*mLocPolyn6_State_0_0+(mCompCoord[9]*tmp65_+mCompCoord[10]*tmp67_+mCompCoord[11]*tmp68_+mCompCoord[12]*tmp69_+mCompCoord[17]*tmp70_+mCompCoord[18]*tmp71_+mCompCoord[19]*tmp72_+mCompCoord[20]*tmp73_+mCompCoord[21]*tmp74_+mCompCoord[27]*tmp75_+mCompCoord[28]*tmp76_+mCompCoord[29]*tmp77_+mCompCoord[30]*tmp78_+mCompCoord[31]*tmp79_+mCompCoord[32]*tmp80_+mCompCoord[39]*tmp86_+mCompCoord[40]*tmp87_+mCompCoord[41]*tmp88_+mCompCoord[42]*tmp89_+mCompCoord[43]*tmp90_+mCompCoord[44]*tmp91_+mCompCoord[45]*tmp92_)*mLocPolyn6_State_0_0)-mLocXIm)*mLocScNorm;
  
    mVal[1] = ((mLocPolyn6_State_2_0+(((1-tmp81_)*(tmp62_)+tmp82_*(tmp45_)+tmp83_*tmp84_)-tmp85_*2*tmp64_+mCompCoord[8]*tmp63_)*mLocPolyn6_State_0_0+(mCompCoord[13]*tmp65_+mCompCoord[14]*tmp67_+mCompCoord[15]*tmp68_+mCompCoord[16]*tmp69_+mCompCoord[22]*tmp70_+mCompCoord[23]*tmp71_+mCompCoord[24]*tmp72_+mCompCoord[25]*tmp73_+mCompCoord[26]*tmp74_+mCompCoord[33]*tmp75_+mCompCoord[34]*tmp76_+mCompCoord[35]*tmp77_+mCompCoord[36]*tmp78_+mCompCoord[37]*tmp79_+mCompCoord[38]*tmp80_+mCompCoord[46]*tmp86_+mCompCoord[47]*tmp87_+mCompCoord[48]*tmp88_+mCompCoord[49]*tmp89_+mCompCoord[50]*tmp90_+mCompCoord[51]*tmp91_+mCompCoord[52]*tmp92_)*mLocPolyn6_State_0_0)-mLocYIm)*mLocScNorm;
  
  }
  
  
  void cEqAppui_TerFix_M2CPolyn6::ComputeValDeriv()
  {
     double tmp0_ = mCompCoord[53];
     double tmp1_ = mCompCoord[54];
     double tmp2_ = cos(tmp1_);
     double tmp3_ = sin(tmp0_);
     double tmp4_ = cos(tmp0_);
     double tmp5_ = sin(tmp1_);
     double tmp6_ = mCompCoord[55];
     double tmp7_ = mCompCoord[56];
     double tmp8_ = mLocXTer-tmp7_;
     double tmp9_ = sin(tmp6_);
     double tmp10_ = -(tmp9_);
     double tmp11_ = -(tmp5_);
     double tmp12_ = cos(tmp6_);
     double tmp13_ = mCompCoord[57];
     double tmp14_ = mLocYTer-tmp13_;
     double tmp15_ = mCompCoord[58];
     double tmp16_ = mLocZTer-tmp15_;
     double tmp17_ = -(tmp3_);
     double tmp18_ = tmp4_*tmp11_;
     double tmp19_ = tmp3_*tmp11_;
     double tmp20_ = mCompCoord[0];
     double tmp21_ = tmp17_*tmp10_;
     double tmp22_ = tmp18_*tmp12_;
     double tmp23_ = tmp21_+tmp22_;
     double tmp24_ = (tmp23_)*(tmp8_);
     double tmp25_ = tmp4_*tmp10_;
     double tmp26_ = tmp19_*tmp12_;
     double tmp27_ = tmp25_+tmp26_;
     double tmp28_ = (tmp27_)*(tmp14_);
     double tmp29_ = tmp24_+tmp28_;
     double tmp30_ = tmp2_*tmp12_;
     double tmp31_ = tmp30_*(tmp16_);
     double tmp32_ = tmp29_+tmp31_;
     double tmp33_ = tmp20_/(tmp32_);
     double tmp34_ = tmp4_*tmp2_;
     double tmp35_ = tmp34_*(tmp8_);
     double tmp36_ = tmp3_*tmp2_;
     double tmp37_ = tmp36_*(tmp14_);
     double tmp38_ = tmp35_+tmp37_;
     double tmp39_ = tmp5_*(tmp16_);
     double tmp40_ = tmp38_+tmp39_;
     double tmp41_ = (tmp40_)*(tmp33_);
     double tmp42_ = mCompCoord[1];
     double tmp43_ = tmp41_+tmp42_;
     double tmp44_ = (tmp43_)-mLocPolyn6_State_1_0;
     double tmp45_ = (tmp44_)/mLocPolyn6_State_0_0;
     double tmp46_ = tmp17_*tmp12_;
     double tmp47_ = tmp18_*tmp9_;
     double tmp48_ = tmp46_+tmp47_;
     double tmp49_ = (tmp48_)*(tmp8_);
     double tmp50_ = tmp4_*tmp12_;
     double tmp51_ = tmp19_*tmp9_;
     double tmp52_ = tmp50_+tmp51_;
     double tmp53_ = (tmp52_)*(tmp14_);
     double tmp54_ = tmp49_+tmp53_;
     double tmp55_ = tmp2_*tmp9_;
     double tmp56_ = tmp55_*(tmp16_);
     double tmp57_ = tmp54_+tmp56_;
     double tmp58_ = (tmp57_)*(tmp33_);
     double tmp59_ = mCompCoord[2];
     double tmp60_ = tmp58_+tmp59_;
     double tmp61_ = (tmp60_)-mLocPolyn6_State_2_0;
     double tmp62_ = (tmp61_)/mLocPolyn6_State_0_0;
     double tmp63_ = (tmp45_)*(tmp45_);
     double tmp64_ = (tmp62_)*(tmp62_);
     double tmp65_ = tmp63_*(tmp45_);
     double tmp66_ = (tmp62_)*(tmp45_);
     double tmp67_ = tmp66_*(tmp45_);
     double tmp68_ = tmp64_*(tmp45_);
     double tmp69_ = (tmp62_)*tmp64_;
     double tmp70_ = tmp65_*(tmp45_);
     double tmp71_ = tmp67_*(tmp45_);
     double tmp72_ = tmp68_*(tmp45_);
     double tmp73_ = tmp69_*(tmp45_);
     double tmp74_ = (tmp62_)*tmp69_;
     double tmp75_ = tmp70_*(tmp45_);
     double tmp76_ = tmp71_*(tmp45_);
     double tmp77_ = tmp72_*(tmp45_);
     double tmp78_ = tmp73_*(tmp45_);
     double tmp79_ = tmp74_*(tmp45_);
     double tmp80_ = (tmp62_)*tmp74_;
     double tmp81_ = mCompCoord[3];
     double tmp82_ = 1+tmp81_;
     double tmp83_ = ElSquare(tmp32_);
     double tmp84_ = (tmp32_)/tmp83_;
     double tmp85_ = ElSquare(mLocPolyn6_State_0_0);
     double tmp86_ = mCompCoord[4];
     double tmp87_ = (tmp84_)*(tmp40_);
     double tmp88_ = tmp87_*mLocPolyn6_State_0_0;
     double tmp89_ = (tmp88_)/tmp85_;
     double tmp90_ = (tmp89_)*(tmp45_);
     double tmp91_ = mCompCoord[5];
     double tmp92_ = tmp91_*2;
     double tmp93_ = (tmp84_)*(tmp57_);
     double tmp94_ = tmp93_*mLocPolyn6_State_0_0;
     double tmp95_ = (tmp94_)/tmp85_;
     double tmp96_ = mCompCoord[6];
     double tmp97_ = (tmp95_)*(tmp62_);
     double tmp98_ = mCompCoord[7];
     double tmp99_ = tmp90_+tmp90_;
     double tmp100_ = mCompCoord[9];
     double tmp101_ = (tmp95_)*(tmp45_);
     double tmp102_ = (tmp89_)*(tmp62_);
     double tmp103_ = mCompCoord[10];
     double tmp104_ = tmp97_+tmp97_;
     double tmp105_ = mCompCoord[11];
     double tmp106_ = mCompCoord[12];
     double tmp107_ = (tmp99_)*(tmp45_);
     double tmp108_ = (tmp89_)*tmp63_;
     double tmp109_ = tmp107_+tmp108_;
     double tmp110_ = mCompCoord[17];
     double tmp111_ = tmp101_+tmp102_;
     double tmp112_ = (tmp111_)*(tmp45_);
     double tmp113_ = (tmp89_)*tmp66_;
     double tmp114_ = tmp112_+tmp113_;
     double tmp115_ = mCompCoord[18];
     double tmp116_ = (tmp104_)*(tmp45_);
     double tmp117_ = (tmp89_)*tmp64_;
     double tmp118_ = tmp116_+tmp117_;
     double tmp119_ = mCompCoord[19];
     double tmp120_ = (tmp95_)*tmp64_;
     double tmp121_ = (tmp104_)*(tmp62_);
     double tmp122_ = tmp120_+tmp121_;
     double tmp123_ = mCompCoord[20];
     double tmp124_ = mCompCoord[21];
     double tmp125_ = (tmp109_)*(tmp45_);
     double tmp126_ = (tmp89_)*tmp65_;
     double tmp127_ = tmp125_+tmp126_;
     double tmp128_ = mCompCoord[27];
     double tmp129_ = (tmp114_)*(tmp45_);
     double tmp130_ = (tmp89_)*tmp67_;
     double tmp131_ = tmp129_+tmp130_;
     double tmp132_ = mCompCoord[28];
     double tmp133_ = (tmp118_)*(tmp45_);
     double tmp134_ = (tmp89_)*tmp68_;
     double tmp135_ = tmp133_+tmp134_;
     double tmp136_ = mCompCoord[29];
     double tmp137_ = (tmp122_)*(tmp45_);
     double tmp138_ = (tmp89_)*tmp69_;
     double tmp139_ = tmp137_+tmp138_;
     double tmp140_ = mCompCoord[30];
     double tmp141_ = (tmp95_)*tmp69_;
     double tmp142_ = (tmp122_)*(tmp62_);
     double tmp143_ = tmp141_+tmp142_;
     double tmp144_ = mCompCoord[31];
     double tmp145_ = mCompCoord[32];
     double tmp146_ = (tmp127_)*(tmp45_);
     double tmp147_ = (tmp89_)*tmp70_;
     double tmp148_ = tmp146_+tmp147_;
     double tmp149_ = mCompCoord[39];
     double tmp150_ = (tmp131_)*(tmp45_);
     double tmp151_ = (tmp89_)*tmp71_;
     double tmp152_ = tmp150_+tmp151_;
     double tmp153_ = mCompCoord[40];
     double tmp154_ = (tmp135_)*(tmp45_);
     double tmp155_ = (tmp89_)*tmp72_;
     double tmp156_ = tmp154_+tmp155_;
     double tmp157_ = mCompCoord[41];
     double tmp158_ = (tmp139_)*(tmp45_);
     double tmp159_ = (tmp89_)*tmp73_;
     double tmp160_ = tmp158_+tmp159_;
     double tmp161_ = mCompCoord[42];
     double tmp162_ = (tmp143_)*(tmp45_);
     double tmp163_ = (tmp89_)*tmp74_;
     double tmp164_ = tmp162_+tmp163_;
     double tmp165_ = mCompCoord[43];
     double tmp166_ = (tmp95_)*tmp74_;
     double tmp167_ = (tmp143_)*(tmp62_);
     double tmp168_ = tmp166_+tmp167_;
     double tmp169_ = mCompCoord[44];
     double tmp170_ = mCompCoord[45];
     double tmp171_ = mLocPolyn6_State_0_0/tmp85_;
     double tmp172_ = (tmp171_)*(tmp45_);
     double tmp173_ = tmp172_+tmp172_;
     double tmp174_ = (tmp171_)*(tmp62_);
     double tmp175_ = (tmp173_)*(tmp45_);
     double tmp176_ = (tmp171_)*tmp63_;
     double tmp177_ = tmp175_+tmp176_;
     double tmp178_ = tmp174_*(tmp45_);
     double tmp179_ = (tmp171_)*tmp66_;
     double tmp180_ = tmp178_+tmp179_;
     double tmp181_ = (tmp171_)*tmp64_;
     double tmp182_ = (tmp177_)*(tmp45_);
     double tmp183_ = (tmp171_)*tmp65_;
     double tmp184_ = tmp182_+tmp183_;
     double tmp185_ = (tmp180_)*(tmp45_);
     double tmp186_ = (tmp171_)*tmp67_;
     double tmp187_ = tmp185_+tmp186_;
     double tmp188_ = tmp181_*(tmp45_);
     double tmp189_ = (tmp171_)*tmp68_;
     double tmp190_ = tmp188_+tmp189_;
     double tmp191_ = (tmp171_)*tmp69_;
     double tmp192_ = (tmp184_)*(tmp45_);
     double tmp193_ = (tmp171_)*tmp70_;
     double tmp194_ = tmp192_+tmp193_;
     double tmp195_ = (tmp187_)*(tmp45_);
     double tmp196_ = (tmp171_)*tmp71_;
     double tmp197_ = tmp195_+tmp196_;
     double tmp198_ = (tmp190_)*(tmp45_);
     double tmp199_ = (tmp171_)*tmp72_;
     double tmp200_ = tmp198_+tmp199_;
     double tmp201_ = tmp191_*(tmp45_);
     double tmp202_ = (tmp171_)*tmp73_;
     double tmp203_ = tmp201_+tmp202_;
     double tmp204_ = (tmp171_)*tmp74_;
     double tmp205_ = tmp174_+tmp174_;
     double tmp206_ = tmp172_*(tmp45_);
     double tmp207_ = (tmp205_)*(tmp45_);
     double tmp208_ = (tmp205_)*(tmp62_);
     double tmp209_ = tmp181_+tmp208_;
     double tmp210_ = tmp206_*(tmp45_);
     double tmp211_ = tmp207_*(tmp45_);
     double tmp212_ = (tmp209_)*(tmp45_);
     double tmp213_ = (tmp209_)*(tmp62_);
     double tmp214_ = tmp191_+tmp213_;
     double tmp215_ = tmp210_*(tmp45_);
     double tmp216_ = tmp211_*(tmp45_);
     double tmp217_ = tmp212_*(tmp45_);
     double tmp218_ = (tmp214_)*(tmp45_);
     double tmp219_ = (tmp214_)*(tmp62_);
     double tmp220_ = tmp204_+tmp219_;
     double tmp221_ = (tmp171_)*tmp80_;
     double tmp222_ = (tmp45_)*(tmp62_);
     double tmp223_ = tmp75_*(tmp45_);
     double tmp224_ = tmp76_*(tmp45_);
     double tmp225_ = tmp77_*(tmp45_);
     double tmp226_ = tmp78_*(tmp45_);
     double tmp227_ = tmp79_*(tmp45_);
     double tmp228_ = tmp80_*(tmp45_);
     double tmp229_ = (tmp62_)*tmp80_;
     double tmp230_ = -(1);
     double tmp231_ = tmp230_*tmp3_;
     double tmp232_ = -(tmp4_);
     double tmp233_ = tmp231_*tmp11_;
     double tmp234_ = tmp232_*tmp10_;
     double tmp235_ = tmp233_*tmp12_;
     double tmp236_ = tmp234_+tmp235_;
     double tmp237_ = (tmp236_)*(tmp8_);
     double tmp238_ = tmp231_*tmp10_;
     double tmp239_ = tmp238_+tmp22_;
     double tmp240_ = (tmp239_)*(tmp14_);
     double tmp241_ = tmp237_+tmp240_;
     double tmp242_ = tmp20_*(tmp241_);
     double tmp243_ = -(tmp242_);
     double tmp244_ = tmp243_/tmp83_;
     double tmp245_ = tmp231_*tmp2_;
     double tmp246_ = tmp245_*(tmp8_);
     double tmp247_ = tmp34_*(tmp14_);
     double tmp248_ = tmp246_+tmp247_;
     double tmp249_ = (tmp248_)*(tmp33_);
     double tmp250_ = (tmp244_)*(tmp40_);
     double tmp251_ = tmp249_+tmp250_;
     double tmp252_ = (tmp251_)*mLocPolyn6_State_0_0;
     double tmp253_ = (tmp252_)/tmp85_;
     double tmp254_ = (tmp253_)*(tmp45_);
     double tmp255_ = tmp232_*tmp12_;
     double tmp256_ = tmp233_*tmp9_;
     double tmp257_ = tmp255_+tmp256_;
     double tmp258_ = (tmp257_)*(tmp8_);
     double tmp259_ = tmp231_*tmp12_;
     double tmp260_ = tmp259_+tmp47_;
     double tmp261_ = (tmp260_)*(tmp14_);
     double tmp262_ = tmp258_+tmp261_;
     double tmp263_ = (tmp262_)*(tmp33_);
     double tmp264_ = (tmp244_)*(tmp57_);
     double tmp265_ = tmp263_+tmp264_;
     double tmp266_ = (tmp265_)*mLocPolyn6_State_0_0;
     double tmp267_ = (tmp266_)/tmp85_;
     double tmp268_ = (tmp267_)*(tmp62_);
     double tmp269_ = tmp254_+tmp254_;
     double tmp270_ = (tmp267_)*(tmp45_);
     double tmp271_ = (tmp253_)*(tmp62_);
     double tmp272_ = tmp268_+tmp268_;
     double tmp273_ = (tmp269_)*(tmp45_);
     double tmp274_ = (tmp253_)*tmp63_;
     double tmp275_ = tmp273_+tmp274_;
     double tmp276_ = tmp270_+tmp271_;
     double tmp277_ = (tmp276_)*(tmp45_);
     double tmp278_ = (tmp253_)*tmp66_;
     double tmp279_ = tmp277_+tmp278_;
     double tmp280_ = (tmp272_)*(tmp45_);
     double tmp281_ = (tmp253_)*tmp64_;
     double tmp282_ = tmp280_+tmp281_;
     double tmp283_ = (tmp267_)*tmp64_;
     double tmp284_ = (tmp272_)*(tmp62_);
     double tmp285_ = tmp283_+tmp284_;
     double tmp286_ = (tmp275_)*(tmp45_);
     double tmp287_ = (tmp253_)*tmp65_;
     double tmp288_ = tmp286_+tmp287_;
     double tmp289_ = (tmp279_)*(tmp45_);
     double tmp290_ = (tmp253_)*tmp67_;
     double tmp291_ = tmp289_+tmp290_;
     double tmp292_ = (tmp282_)*(tmp45_);
     double tmp293_ = (tmp253_)*tmp68_;
     double tmp294_ = tmp292_+tmp293_;
     double tmp295_ = (tmp285_)*(tmp45_);
     double tmp296_ = (tmp253_)*tmp69_;
     double tmp297_ = tmp295_+tmp296_;
     double tmp298_ = (tmp267_)*tmp69_;
     double tmp299_ = (tmp285_)*(tmp62_);
     double tmp300_ = tmp298_+tmp299_;
     double tmp301_ = (tmp288_)*(tmp45_);
     double tmp302_ = (tmp253_)*tmp70_;
     double tmp303_ = tmp301_+tmp302_;
     double tmp304_ = (tmp291_)*(tmp45_);
     double tmp305_ = (tmp253_)*tmp71_;
     double tmp306_ = tmp304_+tmp305_;
     double tmp307_ = (tmp294_)*(tmp45_);
     double tmp308_ = (tmp253_)*tmp72_;
     double tmp309_ = tmp307_+tmp308_;
     double tmp310_ = (tmp297_)*(tmp45_);
     double tmp311_ = (tmp253_)*tmp73_;
     double tmp312_ = tmp310_+tmp311_;
     double tmp313_ = (tmp300_)*(tmp45_);
     double tmp314_ = (tmp253_)*tmp74_;
     double tmp315_ = tmp313_+tmp314_;
     double tmp316_ = (tmp267_)*tmp74_;
     double tmp317_ = (tmp300_)*(tmp62_);
     double tmp318_ = tmp316_+tmp317_;
     double tmp319_ = tmp230_*tmp5_;
     double tmp320_ = -(tmp2_);
     double tmp321_ = tmp320_*tmp4_;
     double tmp322_ = tmp320_*tmp3_;
     double tmp323_ = tmp321_*tmp12_;
     double tmp324_ = tmp323_*(tmp8_);
     double tmp325_ = tmp322_*tmp12_;
     double tmp326_ = tmp325_*(tmp14_);
     double tmp327_ = tmp324_+tmp326_;
     double tmp328_ = tmp319_*tmp12_;
     double tmp329_ = tmp328_*(tmp16_);
     double tmp330_ = tmp327_+tmp329_;
     double tmp331_ = tmp20_*(tmp330_);
     double tmp332_ = -(tmp331_);
     double tmp333_ = tmp332_/tmp83_;
     double tmp334_ = tmp319_*tmp4_;
     double tmp335_ = tmp334_*(tmp8_);
     double tmp336_ = tmp319_*tmp3_;
     double tmp337_ = tmp336_*(tmp14_);
     double tmp338_ = tmp335_+tmp337_;
     double tmp339_ = tmp2_*(tmp16_);
     double tmp340_ = tmp338_+tmp339_;
     double tmp341_ = (tmp340_)*(tmp33_);
     double tmp342_ = (tmp333_)*(tmp40_);
     double tmp343_ = tmp341_+tmp342_;
     double tmp344_ = (tmp343_)*mLocPolyn6_State_0_0;
     double tmp345_ = (tmp344_)/tmp85_;
     double tmp346_ = (tmp345_)*(tmp45_);
     double tmp347_ = tmp321_*tmp9_;
     double tmp348_ = tmp347_*(tmp8_);
     double tmp349_ = tmp322_*tmp9_;
     double tmp350_ = tmp349_*(tmp14_);
     double tmp351_ = tmp348_+tmp350_;
     double tmp352_ = tmp319_*tmp9_;
     double tmp353_ = tmp352_*(tmp16_);
     double tmp354_ = tmp351_+tmp353_;
     double tmp355_ = (tmp354_)*(tmp33_);
     double tmp356_ = (tmp333_)*(tmp57_);
     double tmp357_ = tmp355_+tmp356_;
     double tmp358_ = (tmp357_)*mLocPolyn6_State_0_0;
     double tmp359_ = (tmp358_)/tmp85_;
     double tmp360_ = (tmp359_)*(tmp62_);
     double tmp361_ = tmp346_+tmp346_;
     double tmp362_ = (tmp359_)*(tmp45_);
     double tmp363_ = (tmp345_)*(tmp62_);
     double tmp364_ = tmp360_+tmp360_;
     double tmp365_ = (tmp361_)*(tmp45_);
     double tmp366_ = (tmp345_)*tmp63_;
     double tmp367_ = tmp365_+tmp366_;
     double tmp368_ = tmp362_+tmp363_;
     double tmp369_ = (tmp368_)*(tmp45_);
     double tmp370_ = (tmp345_)*tmp66_;
     double tmp371_ = tmp369_+tmp370_;
     double tmp372_ = (tmp364_)*(tmp45_);
     double tmp373_ = (tmp345_)*tmp64_;
     double tmp374_ = tmp372_+tmp373_;
     double tmp375_ = (tmp359_)*tmp64_;
     double tmp376_ = (tmp364_)*(tmp62_);
     double tmp377_ = tmp375_+tmp376_;
     double tmp378_ = (tmp367_)*(tmp45_);
     double tmp379_ = (tmp345_)*tmp65_;
     double tmp380_ = tmp378_+tmp379_;
     double tmp381_ = (tmp371_)*(tmp45_);
     double tmp382_ = (tmp345_)*tmp67_;
     double tmp383_ = tmp381_+tmp382_;
     double tmp384_ = (tmp374_)*(tmp45_);
     double tmp385_ = (tmp345_)*tmp68_;
     double tmp386_ = tmp384_+tmp385_;
     double tmp387_ = (tmp377_)*(tmp45_);
     double tmp388_ = (tmp345_)*tmp69_;
     double tmp389_ = tmp387_+tmp388_;
     double tmp390_ = (tmp359_)*tmp69_;
     double tmp391_ = (tmp377_)*(tmp62_);
     double tmp392_ = tmp390_+tmp391_;
     double tmp393_ = (tmp380_)*(tmp45_);
     double tmp394_ = (tmp345_)*tmp70_;
     double tmp395_ = tmp393_+tmp394_;
     double tmp396_ = (tmp383_)*(tmp45_);
     double tmp397_ = (tmp345_)*tmp71_;
     double tmp398_ = tmp396_+tmp397_;
     double tmp399_ = (tmp386_)*(tmp45_);
     double tmp400_ = (tmp345_)*tmp72_;
     double tmp401_ = tmp399_+tmp400_;
     double tmp402_ = (tmp389_)*(tmp45_);
     double tmp403_ = (tmp345_)*tmp73_;
     double tmp404_ = tmp402_+tmp403_;
     double tmp405_ = (tmp392_)*(tmp45_);
     double tmp406_ = (tmp345_)*tmp74_;
     double tmp407_ = tmp405_+tmp406_;
     double tmp408_ = (tmp359_)*tmp74_;
     double tmp409_ = (tmp392_)*(tmp62_);
     double tmp410_ = tmp408_+tmp409_;
     double tmp411_ = -(tmp12_);
     double tmp412_ = tmp230_*tmp9_;
     double tmp413_ = tmp411_*tmp17_;
     double tmp414_ = tmp412_*tmp18_;
     double tmp415_ = tmp413_+tmp414_;
     double tmp416_ = (tmp415_)*(tmp8_);
     double tmp417_ = tmp411_*tmp4_;
     double tmp418_ = tmp412_*tmp19_;
     double tmp419_ = tmp417_+tmp418_;
     double tmp420_ = (tmp419_)*(tmp14_);
     double tmp421_ = tmp416_+tmp420_;
     double tmp422_ = tmp412_*tmp2_;
     double tmp423_ = tmp422_*(tmp16_);
     double tmp424_ = tmp421_+tmp423_;
     double tmp425_ = tmp20_*(tmp424_);
     double tmp426_ = -(tmp425_);
     double tmp427_ = tmp426_/tmp83_;
     double tmp428_ = (tmp427_)*(tmp40_);
     double tmp429_ = tmp428_*mLocPolyn6_State_0_0;
     double tmp430_ = (tmp429_)/tmp85_;
     double tmp431_ = (tmp430_)*(tmp45_);
     double tmp432_ = tmp412_*tmp17_;
     double tmp433_ = tmp12_*tmp18_;
     double tmp434_ = tmp432_+tmp433_;
     double tmp435_ = (tmp434_)*(tmp8_);
     double tmp436_ = tmp412_*tmp4_;
     double tmp437_ = tmp12_*tmp19_;
     double tmp438_ = tmp436_+tmp437_;
     double tmp439_ = (tmp438_)*(tmp14_);
     double tmp440_ = tmp435_+tmp439_;
     double tmp441_ = tmp12_*tmp2_;
     double tmp442_ = tmp441_*(tmp16_);
     double tmp443_ = tmp440_+tmp442_;
     double tmp444_ = (tmp443_)*(tmp33_);
     double tmp445_ = (tmp427_)*(tmp57_);
     double tmp446_ = tmp444_+tmp445_;
     double tmp447_ = (tmp446_)*mLocPolyn6_State_0_0;
     double tmp448_ = (tmp447_)/tmp85_;
     double tmp449_ = (tmp448_)*(tmp62_);
     double tmp450_ = tmp431_+tmp431_;
     double tmp451_ = (tmp448_)*(tmp45_);
     double tmp452_ = (tmp430_)*(tmp62_);
     double tmp453_ = tmp449_+tmp449_;
     double tmp454_ = (tmp450_)*(tmp45_);
     double tmp455_ = (tmp430_)*tmp63_;
     double tmp456_ = tmp454_+tmp455_;
     double tmp457_ = tmp451_+tmp452_;
     double tmp458_ = (tmp457_)*(tmp45_);
     double tmp459_ = (tmp430_)*tmp66_;
     double tmp460_ = tmp458_+tmp459_;
     double tmp461_ = (tmp453_)*(tmp45_);
     double tmp462_ = (tmp430_)*tmp64_;
     double tmp463_ = tmp461_+tmp462_;
     double tmp464_ = (tmp448_)*tmp64_;
     double tmp465_ = (tmp453_)*(tmp62_);
     double tmp466_ = tmp464_+tmp465_;
     double tmp467_ = (tmp456_)*(tmp45_);
     double tmp468_ = (tmp430_)*tmp65_;
     double tmp469_ = tmp467_+tmp468_;
     double tmp470_ = (tmp460_)*(tmp45_);
     double tmp471_ = (tmp430_)*tmp67_;
     double tmp472_ = tmp470_+tmp471_;
     double tmp473_ = (tmp463_)*(tmp45_);
     double tmp474_ = (tmp430_)*tmp68_;
     double tmp475_ = tmp473_+tmp474_;
     double tmp476_ = (tmp466_)*(tmp45_);
     double tmp477_ = (tmp430_)*tmp69_;
     double tmp478_ = tmp476_+tmp477_;
     double tmp479_ = (tmp448_)*tmp69_;
     double tmp480_ = (tmp466_)*(tmp62_);
     double tmp481_ = tmp479_+tmp480_;
     double tmp482_ = (tmp469_)*(tmp45_);
     double tmp483_ = (tmp430_)*tmp70_;
     double tmp484_ = tmp482_+tmp483_;
     double tmp485_ = (tmp472_)*(tmp45_);
     double tmp486_ = (tmp430_)*tmp71_;
     double tmp487_ = tmp485_+tmp486_;
     double tmp488_ = (tmp475_)*(tmp45_);
     double tmp489_ = (tmp430_)*tmp72_;
     double tmp490_ = tmp488_+tmp489_;
     double tmp491_ = (tmp478_)*(tmp45_);
     double tmp492_ = (tmp430_)*tmp73_;
     double tmp493_ = tmp491_+tmp492_;
     double tmp494_ = (tmp481_)*(tmp45_);
     double tmp495_ = (tmp430_)*tmp74_;
     double tmp496_ = tmp494_+tmp495_;
     double tmp497_ = (tmp448_)*tmp74_;
     double tmp498_ = (tmp481_)*(tmp62_);
     double tmp499_ = tmp497_+tmp498_;
     double tmp500_ = tmp230_*(tmp23_);
     double tmp501_ = tmp20_*tmp500_;
     double tmp502_ = -(tmp501_);
     double tmp503_ = tmp502_/tmp83_;
     double tmp504_ = tmp230_*tmp34_;
     double tmp505_ = tmp504_*(tmp33_);
     double tmp506_ = (tmp503_)*(tmp40_);
     double tmp507_ = tmp505_+tmp506_;
     double tmp508_ = (tmp507_)*mLocPolyn6_State_0_0;
     double tmp509_ = (tmp508_)/tmp85_;
     double tmp510_ = (tmp509_)*(tmp45_);
     double tmp511_ = tmp230_*(tmp48_);
     double tmp512_ = tmp511_*(tmp33_);
     double tmp513_ = (tmp503_)*(tmp57_);
     double tmp514_ = tmp512_+tmp513_;
     double tmp515_ = (tmp514_)*mLocPolyn6_State_0_0;
     double tmp516_ = (tmp515_)/tmp85_;
     double tmp517_ = (tmp516_)*(tmp62_);
     double tmp518_ = tmp510_+tmp510_;
     double tmp519_ = (tmp516_)*(tmp45_);
     double tmp520_ = (tmp509_)*(tmp62_);
     double tmp521_ = tmp517_+tmp517_;
     double tmp522_ = (tmp518_)*(tmp45_);
     double tmp523_ = (tmp509_)*tmp63_;
     double tmp524_ = tmp522_+tmp523_;
     double tmp525_ = tmp519_+tmp520_;
     double tmp526_ = (tmp525_)*(tmp45_);
     double tmp527_ = (tmp509_)*tmp66_;
     double tmp528_ = tmp526_+tmp527_;
     double tmp529_ = (tmp521_)*(tmp45_);
     double tmp530_ = (tmp509_)*tmp64_;
     double tmp531_ = tmp529_+tmp530_;
     double tmp532_ = (tmp516_)*tmp64_;
     double tmp533_ = (tmp521_)*(tmp62_);
     double tmp534_ = tmp532_+tmp533_;
     double tmp535_ = (tmp524_)*(tmp45_);
     double tmp536_ = (tmp509_)*tmp65_;
     double tmp537_ = tmp535_+tmp536_;
     double tmp538_ = (tmp528_)*(tmp45_);
     double tmp539_ = (tmp509_)*tmp67_;
     double tmp540_ = tmp538_+tmp539_;
     double tmp541_ = (tmp531_)*(tmp45_);
     double tmp542_ = (tmp509_)*tmp68_;
     double tmp543_ = tmp541_+tmp542_;
     double tmp544_ = (tmp534_)*(tmp45_);
     double tmp545_ = (tmp509_)*tmp69_;
     double tmp546_ = tmp544_+tmp545_;
     double tmp547_ = (tmp516_)*tmp69_;
     double tmp548_ = (tmp534_)*(tmp62_);
     double tmp549_ = tmp547_+tmp548_;
     double tmp550_ = (tmp537_)*(tmp45_);
     double tmp551_ = (tmp509_)*tmp70_;
     double tmp552_ = tmp550_+tmp551_;
     double tmp553_ = (tmp540_)*(tmp45_);
     double tmp554_ = (tmp509_)*tmp71_;
     double tmp555_ = tmp553_+tmp554_;
     double tmp556_ = (tmp543_)*(tmp45_);
     double tmp557_ = (tmp509_)*tmp72_;
     double tmp558_ = tmp556_+tmp557_;
     double tmp559_ = (tmp546_)*(tmp45_);
     double tmp560_ = (tmp509_)*tmp73_;
     double tmp561_ = tmp559_+tmp560_;
     double tmp562_ = (tmp549_)*(tmp45_);
     double tmp563_ = (tmp509_)*tmp74_;
     double tmp564_ = tmp562_+tmp563_;
     double tmp565_ = (tmp516_)*tmp74_;
     double tmp566_ = (tmp549_)*(tmp62_);
     double tmp567_ = tmp565_+tmp566_;
     double tmp568_ = tmp230_*(tmp27_);
     double tmp569_ = tmp20_*tmp568_;
     double tmp570_ = -(tmp569_);
     double tmp571_ = tmp570_/tmp83_;
     double tmp572_ = tmp230_*tmp36_;
     double tmp573_ = tmp572_*(tmp33_);
     double tmp574_ = (tmp571_)*(tmp40_);
     double tmp575_ = tmp573_+tmp574_;
     double tmp576_ = (tmp575_)*mLocPolyn6_State_0_0;
     double tmp577_ = (tmp576_)/tmp85_;
     double tmp578_ = (tmp577_)*(tmp45_);
     double tmp579_ = tmp230_*(tmp52_);
     double tmp580_ = tmp579_*(tmp33_);
     double tmp581_ = (tmp571_)*(tmp57_);
     double tmp582_ = tmp580_+tmp581_;
     double tmp583_ = (tmp582_)*mLocPolyn6_State_0_0;
     double tmp584_ = (tmp583_)/tmp85_;
     double tmp585_ = (tmp584_)*(tmp62_);
     double tmp586_ = tmp578_+tmp578_;
     double tmp587_ = (tmp584_)*(tmp45_);
     double tmp588_ = (tmp577_)*(tmp62_);
     double tmp589_ = tmp585_+tmp585_;
     double tmp590_ = (tmp586_)*(tmp45_);
     double tmp591_ = (tmp577_)*tmp63_;
     double tmp592_ = tmp590_+tmp591_;
     double tmp593_ = tmp587_+tmp588_;
     double tmp594_ = (tmp593_)*(tmp45_);
     double tmp595_ = (tmp577_)*tmp66_;
     double tmp596_ = tmp594_+tmp595_;
     double tmp597_ = (tmp589_)*(tmp45_);
     double tmp598_ = (tmp577_)*tmp64_;
     double tmp599_ = tmp597_+tmp598_;
     double tmp600_ = (tmp584_)*tmp64_;
     double tmp601_ = (tmp589_)*(tmp62_);
     double tmp602_ = tmp600_+tmp601_;
     double tmp603_ = (tmp592_)*(tmp45_);
     double tmp604_ = (tmp577_)*tmp65_;
     double tmp605_ = tmp603_+tmp604_;
     double tmp606_ = (tmp596_)*(tmp45_);
     double tmp607_ = (tmp577_)*tmp67_;
     double tmp608_ = tmp606_+tmp607_;
     double tmp609_ = (tmp599_)*(tmp45_);
     double tmp610_ = (tmp577_)*tmp68_;
     double tmp611_ = tmp609_+tmp610_;
     double tmp612_ = (tmp602_)*(tmp45_);
     double tmp613_ = (tmp577_)*tmp69_;
     double tmp614_ = tmp612_+tmp613_;
     double tmp615_ = (tmp584_)*tmp69_;
     double tmp616_ = (tmp602_)*(tmp62_);
     double tmp617_ = tmp615_+tmp616_;
     double tmp618_ = (tmp605_)*(tmp45_);
     double tmp619_ = (tmp577_)*tmp70_;
     double tmp620_ = tmp618_+tmp619_;
     double tmp621_ = (tmp608_)*(tmp45_);
     double tmp622_ = (tmp577_)*tmp71_;
     double tmp623_ = tmp621_+tmp622_;
     double tmp624_ = (tmp611_)*(tmp45_);
     double tmp625_ = (tmp577_)*tmp72_;
     double tmp626_ = tmp624_+tmp625_;
     double tmp627_ = (tmp614_)*(tmp45_);
     double tmp628_ = (tmp577_)*tmp73_;
     double tmp629_ = tmp627_+tmp628_;
     double tmp630_ = (tmp617_)*(tmp45_);
     double tmp631_ = (tmp577_)*tmp74_;
     double tmp632_ = tmp630_+tmp631_;
     double tmp633_ = (tmp584_)*tmp74_;
     double tmp634_ = (tmp617_)*(tmp62_);
     double tmp635_ = tmp633_+tmp634_;
     double tmp636_ = tmp230_*tmp30_;
     double tmp637_ = tmp20_*tmp636_;
     double tmp638_ = -(tmp637_);
     double tmp639_ = tmp638_/tmp83_;
     double tmp640_ = tmp319_*(tmp33_);
     double tmp641_ = (tmp639_)*(tmp40_);
     double tmp642_ = tmp640_+tmp641_;
     double tmp643_ = (tmp642_)*mLocPolyn6_State_0_0;
     double tmp644_ = (tmp643_)/tmp85_;
     double tmp645_ = (tmp644_)*(tmp45_);
     double tmp646_ = tmp230_*tmp55_;
     double tmp647_ = tmp646_*(tmp33_);
     double tmp648_ = (tmp639_)*(tmp57_);
     double tmp649_ = tmp647_+tmp648_;
     double tmp650_ = (tmp649_)*mLocPolyn6_State_0_0;
     double tmp651_ = (tmp650_)/tmp85_;
     double tmp652_ = (tmp651_)*(tmp62_);
     double tmp653_ = tmp645_+tmp645_;
     double tmp654_ = (tmp651_)*(tmp45_);
     double tmp655_ = (tmp644_)*(tmp62_);
     double tmp656_ = tmp652_+tmp652_;
     double tmp657_ = (tmp653_)*(tmp45_);
     double tmp658_ = (tmp644_)*tmp63_;
     double tmp659_ = tmp657_+tmp658_;
     double tmp660_ = tmp654_+tmp655_;
     double tmp661_ = (tmp660_)*(tmp45_);
     double tmp662_ = (tmp644_)*tmp66_;
     double tmp663_ = tmp661_+tmp662_;
     double tmp664_ = (tmp656_)*(tmp45_);
     double tmp665_ = (tmp644_)*tmp64_;
     double tmp666_ = tmp664_+tmp665_;
     double tmp667_ = (tmp651_)*tmp64_;
     double tmp668_ = (tmp656_)*(tmp62_);
     double tmp669_ = tmp667_+tmp668_;
     double tmp670_ = (tmp659_)*(tmp45_);
     double tmp671_ = (tmp644_)*tmp65_;
     double tmp672_ = tmp670_+tmp671_;
     double tmp673_ = (tmp663_)*(tmp45_);
     double tmp674_ = (tmp644_)*tmp67_;
     double tmp675_ = tmp673_+tmp674_;
     double tmp676_ = (tmp666_)*(tmp45_);
     double tmp677_ = (tmp644_)*tmp68_;
     double tmp678_ = tmp676_+tmp677_;
     double tmp679_ = (tmp669_)*(tmp45_);
     double tmp680_ = (tmp644_)*tmp69_;
     double tmp681_ = tmp679_+tmp680_;
     double tmp682_ = (tmp651_)*tmp69_;
     double tmp683_ = (tmp669_)*(tmp62_);
     double tmp684_ = tmp682_+tmp683_;
     double tmp685_ = (tmp672_)*(tmp45_);
     double tmp686_ = (tmp644_)*tmp70_;
     double tmp687_ = tmp685_+tmp686_;
     double tmp688_ = (tmp675_)*(tmp45_);
     double tmp689_ = (tmp644_)*tmp71_;
     double tmp690_ = tmp688_+tmp689_;
     double tmp691_ = (tmp678_)*(tmp45_);
     double tmp692_ = (tmp644_)*tmp72_;
     double tmp693_ = tmp691_+tmp692_;
     double tmp694_ = (tmp681_)*(tmp45_);
     double tmp695_ = (tmp644_)*tmp73_;
     double tmp696_ = tmp694_+tmp695_;
     double tmp697_ = (tmp684_)*(tmp45_);
     double tmp698_ = (tmp644_)*tmp74_;
     double tmp699_ = tmp697_+tmp698_;
     double tmp700_ = (tmp651_)*tmp74_;
     double tmp701_ = (tmp684_)*(tmp62_);
     double tmp702_ = tmp700_+tmp701_;
     double tmp703_ = 1-tmp81_;
     double tmp704_ = tmp102_+tmp101_;
     double tmp705_ = tmp96_*2;
     double tmp706_ = mCompCoord[8];
     double tmp707_ = mCompCoord[13];
     double tmp708_ = mCompCoord[14];
     double tmp709_ = mCompCoord[15];
     double tmp710_ = mCompCoord[16];
     double tmp711_ = mCompCoord[22];
     double tmp712_ = mCompCoord[23];
     double tmp713_ = mCompCoord[24];
     double tmp714_ = mCompCoord[25];
     double tmp715_ = mCompCoord[26];
     double tmp716_ = mCompCoord[33];
     double tmp717_ = mCompCoord[34];
     double tmp718_ = mCompCoord[35];
     double tmp719_ = mCompCoord[36];
     double tmp720_ = mCompCoord[37];
     double tmp721_ = mCompCoord[38];
     double tmp722_ = (tmp148_)*(tmp45_);
     double tmp723_ = (tmp89_)*tmp75_;
     double tmp724_ = tmp722_+tmp723_;
     double tmp725_ = mCompCoord[46];
     double tmp726_ = (tmp152_)*(tmp45_);
     double tmp727_ = (tmp89_)*tmp76_;
     double tmp728_ = tmp726_+tmp727_;
     double tmp729_ = mCompCoord[47];
     double tmp730_ = (tmp156_)*(tmp45_);
     double tmp731_ = (tmp89_)*tmp77_;
     double tmp732_ = tmp730_+tmp731_;
     double tmp733_ = mCompCoord[48];
     double tmp734_ = (tmp160_)*(tmp45_);
     double tmp735_ = (tmp89_)*tmp78_;
     double tmp736_ = tmp734_+tmp735_;
     double tmp737_ = mCompCoord[49];
     double tmp738_ = (tmp164_)*(tmp45_);
     double tmp739_ = (tmp89_)*tmp79_;
     double tmp740_ = tmp738_+tmp739_;
     double tmp741_ = mCompCoord[50];
     double tmp742_ = (tmp168_)*(tmp45_);
     double tmp743_ = (tmp89_)*tmp80_;
     double tmp744_ = tmp742_+tmp743_;
     double tmp745_ = mCompCoord[51];
     double tmp746_ = (tmp95_)*tmp80_;
     double tmp747_ = (tmp168_)*(tmp62_);
     double tmp748_ = tmp746_+tmp747_;
     double tmp749_ = mCompCoord[52];
     double tmp750_ = (tmp171_)*tmp86_;
     double tmp751_ = (tmp194_)*(tmp45_);
     double tmp752_ = (tmp171_)*tmp75_;
     double tmp753_ = tmp751_+tmp752_;
     double tmp754_ = (tmp197_)*(tmp45_);
     double tmp755_ = (tmp171_)*tmp76_;
     double tmp756_ = tmp754_+tmp755_;
     double tmp757_ = (tmp200_)*(tmp45_);
     double tmp758_ = (tmp171_)*tmp77_;
     double tmp759_ = tmp757_+tmp758_;
     double tmp760_ = (tmp203_)*(tmp45_);
     double tmp761_ = (tmp171_)*tmp78_;
     double tmp762_ = tmp760_+tmp761_;
     double tmp763_ = tmp204_*(tmp45_);
     double tmp764_ = (tmp171_)*tmp79_;
     double tmp765_ = tmp763_+tmp764_;
     double tmp766_ = tmp215_*(tmp45_);
     double tmp767_ = tmp216_*(tmp45_);
     double tmp768_ = tmp217_*(tmp45_);
     double tmp769_ = tmp218_*(tmp45_);
     double tmp770_ = (tmp220_)*(tmp45_);
     double tmp771_ = (tmp220_)*(tmp62_);
     double tmp772_ = tmp221_+tmp771_;
     double tmp773_ = (tmp45_)*mLocPolyn6_State_0_0;
     double tmp774_ = tmp773_*mLocScNorm;
     double tmp775_ = tmp222_*mLocPolyn6_State_0_0;
     double tmp776_ = tmp775_*mLocScNorm;
     double tmp777_ = tmp65_*mLocPolyn6_State_0_0;
     double tmp778_ = tmp777_*mLocScNorm;
     double tmp779_ = tmp67_*mLocPolyn6_State_0_0;
     double tmp780_ = tmp779_*mLocScNorm;
     double tmp781_ = tmp68_*mLocPolyn6_State_0_0;
     double tmp782_ = tmp781_*mLocScNorm;
     double tmp783_ = tmp69_*mLocPolyn6_State_0_0;
     double tmp784_ = tmp783_*mLocScNorm;
     double tmp785_ = tmp70_*mLocPolyn6_State_0_0;
     double tmp786_ = tmp785_*mLocScNorm;
     double tmp787_ = tmp71_*mLocPolyn6_State_0_0;
     double tmp788_ = tmp787_*mLocScNorm;
     double tmp789_ = tmp72_*mLocPolyn6_State_0_0;
     double tmp790_ = tmp789_*mLocScNorm;
     double tmp791_ = tmp73_*mLocPolyn6_State_0_0;
     double tmp792_ = tmp791_*mLocScNorm;
     double tmp793_ = tmp74_*mLocPolyn6_State_0_0;
     double tmp794_ = tmp793_*mLocScNorm;
     double tmp795_ = tmp75_*mLocPolyn6_State_0_0;
     double tmp796_ = tmp795_*mLocScNorm;
     double tmp797_ = tmp76_*mLocPolyn6_State_0_0;
     double tmp798_ = tmp797_*mLocScNorm;
     double tmp799_ = tmp77_*mLocPolyn6_State_0_0;
     double tmp800_ = tmp799_*mLocScNorm;
     double tmp801_ = tmp78_*mLocPolyn6_State_0_0;
     double tmp802_ = tmp801_*mLocScNorm;
     double tmp803_ = tmp79_*mLocPolyn6_State_0_0;
     double tmp804_ = tmp803_*mLocScNorm;
     double tmp805_ = tmp80_*mLocPolyn6_State_0_0;
     double tmp806_ = tmp805_*mLocScNorm;
     double tmp807_ = tmp223_*mLocPolyn6_State_0_0;
     double tmp808_ = tmp807_*mLocScNorm;
     double tmp809_ = tmp224_*mLocPolyn6_State_0_0;
     double tmp810_ = tmp809_*mLocScNorm;
     double tmp811_ = tmp225_*mLocPolyn6_State_0_0;
     double tmp812_ = tmp811_*mLocScNorm;
     double tmp813_ = tmp226_*mLocPolyn6_State_0_0;
     double tmp814_ = tmp813_*mLocScNorm;
     double tmp815_ = tmp227_*mLocPolyn6_State_0_0;
     double tmp816_ = tmp815_*mLocScNorm;
     double tmp817_ = tmp228_*mLocPolyn6_State_0_0;
     double tmp818_ = tmp817_*mLocScNorm;
     double tmp819_ = tmp229_*mLocPolyn6_State_0_0;
     double tmp820_ = tmp819_*mLocScNorm;
     double tmp821_ = tmp271_+tmp270_;
     double tmp822_ = (tmp303_)*(tmp45_);
     double tmp823_ = (tmp253_)*tmp75_;
     double tmp824_ = tmp822_+tmp823_;
     double tmp825_ = (tmp306_)*(tmp45_);
     double tmp826_ = (tmp253_)*tmp76_;
     double tmp827_ = tmp825_+tmp826_;
     double tmp828_ = (tmp309_)*(tmp45_);
     double tmp829_ = (tmp253_)*tmp77_;
     double tmp830_ = tmp828_+tmp829_;
     double tmp831_ = (tmp312_)*(tmp45_);
     double tmp832_ = (tmp253_)*tmp78_;
     double tmp833_ = tmp831_+tmp832_;
     double tmp834_ = (tmp315_)*(tmp45_);
     double tmp835_ = (tmp253_)*tmp79_;
     double tmp836_ = tmp834_+tmp835_;
     double tmp837_ = (tmp318_)*(tmp45_);
     double tmp838_ = (tmp253_)*tmp80_;
     double tmp839_ = tmp837_+tmp838_;
     double tmp840_ = (tmp267_)*tmp80_;
     double tmp841_ = (tmp318_)*(tmp62_);
     double tmp842_ = tmp840_+tmp841_;
     double tmp843_ = tmp363_+tmp362_;
     double tmp844_ = (tmp395_)*(tmp45_);
     double tmp845_ = (tmp345_)*tmp75_;
     double tmp846_ = tmp844_+tmp845_;
     double tmp847_ = (tmp398_)*(tmp45_);
     double tmp848_ = (tmp345_)*tmp76_;
     double tmp849_ = tmp847_+tmp848_;
     double tmp850_ = (tmp401_)*(tmp45_);
     double tmp851_ = (tmp345_)*tmp77_;
     double tmp852_ = tmp850_+tmp851_;
     double tmp853_ = (tmp404_)*(tmp45_);
     double tmp854_ = (tmp345_)*tmp78_;
     double tmp855_ = tmp853_+tmp854_;
     double tmp856_ = (tmp407_)*(tmp45_);
     double tmp857_ = (tmp345_)*tmp79_;
     double tmp858_ = tmp856_+tmp857_;
     double tmp859_ = (tmp410_)*(tmp45_);
     double tmp860_ = (tmp345_)*tmp80_;
     double tmp861_ = tmp859_+tmp860_;
     double tmp862_ = (tmp359_)*tmp80_;
     double tmp863_ = (tmp410_)*(tmp62_);
     double tmp864_ = tmp862_+tmp863_;
     double tmp865_ = tmp452_+tmp451_;
     double tmp866_ = (tmp484_)*(tmp45_);
     double tmp867_ = (tmp430_)*tmp75_;
     double tmp868_ = tmp866_+tmp867_;
     double tmp869_ = (tmp487_)*(tmp45_);
     double tmp870_ = (tmp430_)*tmp76_;
     double tmp871_ = tmp869_+tmp870_;
     double tmp872_ = (tmp490_)*(tmp45_);
     double tmp873_ = (tmp430_)*tmp77_;
     double tmp874_ = tmp872_+tmp873_;
     double tmp875_ = (tmp493_)*(tmp45_);
     double tmp876_ = (tmp430_)*tmp78_;
     double tmp877_ = tmp875_+tmp876_;
     double tmp878_ = (tmp496_)*(tmp45_);
     double tmp879_ = (tmp430_)*tmp79_;
     double tmp880_ = tmp878_+tmp879_;
     double tmp881_ = (tmp499_)*(tmp45_);
     double tmp882_ = (tmp430_)*tmp80_;
     double tmp883_ = tmp881_+tmp882_;
     double tmp884_ = (tmp448_)*tmp80_;
     double tmp885_ = (tmp499_)*(tmp62_);
     double tmp886_ = tmp884_+tmp885_;
     double tmp887_ = tmp520_+tmp519_;
     double tmp888_ = (tmp552_)*(tmp45_);
     double tmp889_ = (tmp509_)*tmp75_;
     double tmp890_ = tmp888_+tmp889_;
     double tmp891_ = (tmp555_)*(tmp45_);
     double tmp892_ = (tmp509_)*tmp76_;
     double tmp893_ = tmp891_+tmp892_;
     double tmp894_ = (tmp558_)*(tmp45_);
     double tmp895_ = (tmp509_)*tmp77_;
     double tmp896_ = tmp894_+tmp895_;
     double tmp897_ = (tmp561_)*(tmp45_);
     double tmp898_ = (tmp509_)*tmp78_;
     double tmp899_ = tmp897_+tmp898_;
     double tmp900_ = (tmp564_)*(tmp45_);
     double tmp901_ = (tmp509_)*tmp79_;
     double tmp902_ = tmp900_+tmp901_;
     double tmp903_ = (tmp567_)*(tmp45_);
     double tmp904_ = (tmp509_)*tmp80_;
     double tmp905_ = tmp903_+tmp904_;
     double tmp906_ = (tmp516_)*tmp80_;
     double tmp907_ = (tmp567_)*(tmp62_);
     double tmp908_ = tmp906_+tmp907_;
     double tmp909_ = tmp588_+tmp587_;
     double tmp910_ = (tmp620_)*(tmp45_);
     double tmp911_ = (tmp577_)*tmp75_;
     double tmp912_ = tmp910_+tmp911_;
     double tmp913_ = (tmp623_)*(tmp45_);
     double tmp914_ = (tmp577_)*tmp76_;
     double tmp915_ = tmp913_+tmp914_;
     double tmp916_ = (tmp626_)*(tmp45_);
     double tmp917_ = (tmp577_)*tmp77_;
     double tmp918_ = tmp916_+tmp917_;
     double tmp919_ = (tmp629_)*(tmp45_);
     double tmp920_ = (tmp577_)*tmp78_;
     double tmp921_ = tmp919_+tmp920_;
     double tmp922_ = (tmp632_)*(tmp45_);
     double tmp923_ = (tmp577_)*tmp79_;
     double tmp924_ = tmp922_+tmp923_;
     double tmp925_ = (tmp635_)*(tmp45_);
     double tmp926_ = (tmp577_)*tmp80_;
     double tmp927_ = tmp925_+tmp926_;
     double tmp928_ = (tmp584_)*tmp80_;
     double tmp929_ = (tmp635_)*(tmp62_);
     double tmp930_ = tmp928_+tmp929_;
     double tmp931_ = tmp655_+tmp654_;
     double tmp932_ = (tmp687_)*(tmp45_);
     double tmp933_ = (tmp644_)*tmp75_;
     double tmp934_ = tmp932_+tmp933_;
     double tmp935_ = (tmp690_)*(tmp45_);
     double tmp936_ = (tmp644_)*tmp76_;
     double tmp937_ = tmp935_+tmp936_;
     double tmp938_ = (tmp693_)*(tmp45_);
     double tmp939_ = (tmp644_)*tmp77_;
     double tmp940_ = tmp938_+tmp939_;
     double tmp941_ = (tmp696_)*(tmp45_);
     double tmp942_ = (tmp644_)*tmp78_;
     double tmp943_ = tmp941_+tmp942_;
     double tmp944_ = (tmp699_)*(tmp45_);
     double tmp945_ = (tmp644_)*tmp79_;
     double tmp946_ = tmp944_+tmp945_;
     double tmp947_ = (tmp702_)*(tmp45_);
     double tmp948_ = (tmp644_)*tmp80_;
     double tmp949_ = tmp947_+tmp948_;
     double tmp950_ = (tmp651_)*tmp80_;
     double tmp951_ = (tmp702_)*(tmp62_);
     double tmp952_ = tmp950_+tmp951_;
  
    mVal[0] = ((mLocPolyn6_State_1_0+(((tmp82_)*(tmp45_)+tmp86_*(tmp62_))-tmp92_*tmp63_+tmp96_*tmp222_+tmp98_*tmp64_)*mLocPolyn6_State_0_0+(tmp100_*tmp65_+tmp103_*tmp67_+tmp105_*tmp68_+tmp106_*tmp69_+tmp110_*tmp70_+tmp115_*tmp71_+tmp119_*tmp72_+tmp123_*tmp73_+tmp124_*tmp74_+tmp128_*tmp75_+tmp132_*tmp76_+tmp136_*tmp77_+tmp140_*tmp78_+tmp144_*tmp79_+tmp145_*tmp80_+tmp149_*tmp223_+tmp153_*tmp224_+tmp157_*tmp225_+tmp161_*tmp226_+tmp165_*tmp227_+tmp169_*tmp228_+tmp170_*tmp229_)*mLocPolyn6_State_0_0)-mLocXIm)*mLocScNorm;
  
    mCompDer[0][0] = ((((tmp89_)*(tmp82_)+(tmp95_)*tmp86_)-(tmp99_)*tmp92_+(tmp704_)*tmp96_+(tmp104_)*tmp98_)*mLocPolyn6_State_0_0+((tmp109_)*tmp100_+(tmp114_)*tmp103_+(tmp118_)*tmp105_+(tmp122_)*tmp106_+(tmp127_)*tmp110_+(tmp131_)*tmp115_+(tmp135_)*tmp119_+(tmp139_)*tmp123_+(tmp143_)*tmp124_+(tmp148_)*tmp128_+(tmp152_)*tmp132_+(tmp156_)*tmp136_+(tmp160_)*tmp140_+(tmp164_)*tmp144_+(tmp168_)*tmp145_+(tmp724_)*tmp149_+(tmp728_)*tmp153_+(tmp732_)*tmp157_+(tmp736_)*tmp161_+(tmp740_)*tmp165_+(tmp744_)*tmp169_+(tmp748_)*tmp170_)*mLocPolyn6_State_0_0)*mLocScNorm;
    mCompDer[0][1] = (((tmp171_)*(tmp82_)-(tmp173_)*tmp92_+tmp174_*tmp96_)*mLocPolyn6_State_0_0+((tmp177_)*tmp100_+(tmp180_)*tmp103_+tmp181_*tmp105_+(tmp184_)*tmp110_+(tmp187_)*tmp115_+(tmp190_)*tmp119_+tmp191_*tmp123_+(tmp194_)*tmp128_+(tmp197_)*tmp132_+(tmp200_)*tmp136_+(tmp203_)*tmp140_+tmp204_*tmp144_+(tmp753_)*tmp149_+(tmp756_)*tmp153_+(tmp759_)*tmp157_+(tmp762_)*tmp161_+(tmp765_)*tmp165_+tmp221_*tmp169_)*mLocPolyn6_State_0_0)*mLocScNorm;
    mCompDer[0][2] = ((tmp750_+tmp172_*tmp96_+(tmp205_)*tmp98_)*mLocPolyn6_State_0_0+(tmp206_*tmp103_+tmp207_*tmp105_+(tmp209_)*tmp106_+tmp210_*tmp115_+tmp211_*tmp119_+tmp212_*tmp123_+(tmp214_)*tmp124_+tmp215_*tmp132_+tmp216_*tmp136_+tmp217_*tmp140_+tmp218_*tmp144_+(tmp220_)*tmp145_+tmp766_*tmp153_+tmp767_*tmp157_+tmp768_*tmp161_+tmp769_*tmp165_+tmp770_*tmp169_+(tmp772_)*tmp170_)*mLocPolyn6_State_0_0)*mLocScNorm;
    mCompDer[0][3] = tmp774_;
    mCompDer[0][4] = (tmp62_)*mLocPolyn6_State_0_0*mLocScNorm;
    mCompDer[0][5] = -(2*tmp63_)*mLocPolyn6_State_0_0*mLocScNorm;
    mCompDer[0][6] = tmp776_;
    mCompDer[0][7] = tmp64_*mLocPolyn6_State_0_0*mLocScNorm;
    mCompDer[0][8] = 0;
    mCompDer[0][9] = tmp778_;
    mCompDer[0][10] = tmp780_;
    mCompDer[0][11] = tmp782_;
    mCompDer[0][12] = tmp784_;
    mCompDer[0][13] = 0;
    mCompDer[0][14] = 0;
    mCompDer[0][15] = 0;
    mCompDer[0][16] = 0;
    mCompDer[0][17] = tmp786_;
    mCompDer[0][18] = tmp788_;
    mCompDer[0][19] = tmp790_;
    mCompDer[0][20] = tmp792_;
    mCompDer[0][21] = tmp794_;
    mCompDer[0][22] = 0;
    mCompDer[0][23] = 0;
    mCompDer[0][24] = 0;
    mCompDer[0][25] = 0;
    mCompDer[0][26] = 0;
    mCompDer[0][27] = tmp796_;
    mCompDer[0][28] = tmp798_;
    mCompDer[0][29] = tmp800_;
    mCompDer[0][30] = tmp802_;
    mCompDer[0][31] = tmp804_;
    mCompDer[0][32] = tmp806_;
    mCompDer[0][33] = 0;
    mCompDer[0][34] = 0;
    mCompDer[0][35] = 0;
    mCompDer[0][36] = 0;
    mCompDer[0][37] = 0;
    mCompDer[0][38] = 0;
    mCompDer[0][39] = tmp808_;
    mCompDer[0][40] = tmp810_;
    mCompDer[0][41] = tmp812_;
    mCompDer[0][42] = tmp814_;
    mCompDer[0][43] = tmp816_;
    mCompDer[0][44] = tmp818_;
    mCompDer[0][45] = tmp820_;
    mCompDer[0][46] = 0;
    mCompDer[0][47] = 0;
    mCompDer[0][48] = 0;
    mCompDer[0][49] = 0;
    mCompDer[0][50] = 0;
    mCompDer[0][51] = 0;
    mCompDer[0][52] = 0;
    mCompDer[0][53] = ((((tmp253_)*(tmp82_)+(tmp267_)*tmp86_)-(tmp269_)*tmp92_+(tmp821_)*tmp96_+(tmp272_)*tmp98_)*mLocPolyn6_State_0_0+((tmp275_)*tmp100_+(tmp279_)*tmp103_+(tmp282_)*tmp105_+(tmp285_)*tmp106_+(tmp288_)*tmp110_+(tmp291_)*tmp115_+(tmp294_)*tmp119_+(tmp297_)*tmp123_+(tmp300_)*tmp124_+(tmp303_)*tmp128_+(tmp306_)*tmp132_+(tmp309_)*tmp136_+(tmp312_)*tmp140_+(tmp315_)*tmp144_+(tmp318_)*tmp145_+(tmp824_)*tmp149_+(tmp827_)*tmp153_+(tmp830_)*tmp157_+(tmp833_)*tmp161_+(tmp836_)*tmp165_+(tmp839_)*tmp169_+(tmp842_)*tmp170_)*mLocPolyn6_State_0_0)*mLocScNorm;
    mCompDer[0][54] = ((((tmp345_)*(tmp82_)+(tmp359_)*tmp86_)-(tmp361_)*tmp92_+(tmp843_)*tmp96_+(tmp364_)*tmp98_)*mLocPolyn6_State_0_0+((tmp367_)*tmp100_+(tmp371_)*tmp103_+(tmp374_)*tmp105_+(tmp377_)*tmp106_+(tmp380_)*tmp110_+(tmp383_)*tmp115_+(tmp386_)*tmp119_+(tmp389_)*tmp123_+(tmp392_)*tmp124_+(tmp395_)*tmp128_+(tmp398_)*tmp132_+(tmp401_)*tmp136_+(tmp404_)*tmp140_+(tmp407_)*tmp144_+(tmp410_)*tmp145_+(tmp846_)*tmp149_+(tmp849_)*tmp153_+(tmp852_)*tmp157_+(tmp855_)*tmp161_+(tmp858_)*tmp165_+(tmp861_)*tmp169_+(tmp864_)*tmp170_)*mLocPolyn6_State_0_0)*mLocScNorm;
    mCompDer[0][55] = ((((tmp430_)*(tmp82_)+(tmp448_)*tmp86_)-(tmp450_)*tmp92_+(tmp865_)*tmp96_+(tmp453_)*tmp98_)*mLocPolyn6_State_0_0+((tmp456_)*tmp100_+(tmp460_)*tmp103_+(tmp463_)*tmp105_+(tmp466_)*tmp106_+(tmp469_)*tmp110_+(tmp472_)*tmp115_+(tmp475_)*tmp119_+(tmp478_)*tmp123_+(tmp481_)*tmp124_+(tmp484_)*tmp128_+(tmp487_)*tmp132_+(tmp490_)*tmp136_+(tmp493_)*tmp140_+(tmp496_)*tmp144_+(tmp499_)*tmp145_+(tmp868_)*tmp149_+(tmp871_)*tmp153_+(tmp874_)*tmp157_+(tmp877_)*tmp161_+(tmp880_)*tmp165_+(tmp883_)*tmp169_+(tmp886_)*tmp170_)*mLocPolyn6_State_0_0)*mLocScNorm;
    mCompDer[0][56] = ((((tmp509_)*(tmp82_)+(tmp516_)*tmp86_)-(tmp518_)*tmp92_+(tmp887_)*tmp96_+(tmp521_)*tmp98_)*mLocPolyn6_State_0_0+((tmp524_)*tmp100_+(tmp528_)*tmp103_+(tmp531_)*tmp105_+(tmp534_)*tmp106_+(tmp537_)*tmp110_+(tmp540_)*tmp115_+(tmp543_)*tmp119_+(tmp546_)*tmp123_+(tmp549_)*tmp124_+(tmp552_)*tmp128_+(tmp555_)*tmp132_+(tmp558_)*tmp136_+(tmp561_)*tmp140_+(tmp564_)*tmp144_+(tmp567_)*tmp145_+(tmp890_)*tmp149_+(tmp893_)*tmp153_+(tmp896_)*tmp157_+(tmp899_)*tmp161_+(tmp902_)*tmp165_+(tmp905_)*tmp169_+(tmp908_)*tmp170_)*mLocPolyn6_State_0_0)*mLocScNorm;
    mCompDer[0][57] = ((((tmp577_)*(tmp82_)+(tmp584_)*tmp86_)-(tmp586_)*tmp92_+(tmp909_)*tmp96_+(tmp589_)*tmp98_)*mLocPolyn6_State_0_0+((tmp592_)*tmp100_+(tmp596_)*tmp103_+(tmp599_)*tmp105_+(tmp602_)*tmp106_+(tmp605_)*tmp110_+(tmp608_)*tmp115_+(tmp611_)*tmp119_+(tmp614_)*tmp123_+(tmp617_)*tmp124_+(tmp620_)*tmp128_+(tmp623_)*tmp132_+(tmp626_)*tmp136_+(tmp629_)*tmp140_+(tmp632_)*tmp144_+(tmp635_)*tmp145_+(tmp912_)*tmp149_+(tmp915_)*tmp153_+(tmp918_)*tmp157_+(tmp921_)*tmp161_+(tmp924_)*tmp165_+(tmp927_)*tmp169_+(tmp930_)*tmp170_)*mLocPolyn6_State_0_0)*mLocScNorm;
    mCompDer[0][58] = ((((tmp644_)*(tmp82_)+(tmp651_)*tmp86_)-(tmp653_)*tmp92_+(tmp931_)*tmp96_+(tmp656_)*tmp98_)*mLocPolyn6_State_0_0+((tmp659_)*tmp100_+(tmp663_)*tmp103_+(tmp666_)*tmp105_+(tmp669_)*tmp106_+(tmp672_)*tmp110_+(tmp675_)*tmp115_+(tmp678_)*tmp119_+(tmp681_)*tmp123_+(tmp684_)*tmp124_+(tmp687_)*tmp128_+(tmp690_)*tmp132_+(tmp693_)*tmp136_+(tmp696_)*tmp140_+(tmp699_)*tmp144_+(tmp702_)*tmp145_+(tmp934_)*tmp149_+(tmp937_)*tmp153_+(tmp940_)*tmp157_+(tmp943_)*tmp161_+(tmp946_)*tmp165_+(tmp949_)*tmp169_+(tmp952_)*tmp170_)*mLocPolyn6_State_0_0)*mLocScNorm;
    mVal[1] = ((mLocPolyn6_State_2_0+(((tmp703_)*(tmp62_)+tmp86_*(tmp45_)+tmp91_*tmp222_)-tmp705_*tmp64_+tmp706_*tmp63_)*mLocPolyn6_State_0_0+(tmp707_*tmp65_+tmp708_*tmp67_+tmp709_*tmp68_+tmp710_*tmp69_+tmp711_*tmp70_+tmp712_*tmp71_+tmp713_*tmp72_+tmp714_*tmp73_+tmp715_*tmp74_+tmp716_*tmp75_+tmp717_*tmp76_+tmp718_*tmp77_+tmp719_*tmp78_+tmp720_*tmp79_+tmp721_*tmp80_+tmp725_*tmp223_+tmp729_*tmp224_+tmp733_*tmp225_+tmp737_*tmp226_+tmp741_*tmp227_+tmp745_*tmp228_+tmp749_*tmp229_)*mLocPolyn6_State_0_0)-mLocYIm)*mLocScNorm;
  
    mCompDer[1][0] = ((((tmp95_)*(tmp703_)+(tmp89_)*tmp86_+(tmp704_)*tmp91_)-(tmp104_)*tmp705_+(tmp99_)*tmp706_)*mLocPolyn6_State_0_0+((tmp109_)*tmp707_+(tmp114_)*tmp708_+(tmp118_)*tmp709_+(tmp122_)*tmp710_+(tmp127_)*tmp711_+(tmp131_)*tmp712_+(tmp135_)*tmp713_+(tmp139_)*tmp714_+(tmp143_)*tmp715_+(tmp148_)*tmp716_+(tmp152_)*tmp717_+(tmp156_)*tmp718_+(tmp160_)*tmp719_+(tmp164_)*tmp720_+(tmp168_)*tmp721_+(tmp724_)*tmp725_+(tmp728_)*tmp729_+(tmp732_)*tmp733_+(tmp736_)*tmp737_+(tmp740_)*tmp741_+(tmp744_)*tmp745_+(tmp748_)*tmp749_)*mLocPolyn6_State_0_0)*mLocScNorm;
    mCompDer[1][1] = ((tmp750_+tmp174_*tmp91_+(tmp173_)*tmp706_)*mLocPolyn6_State_0_0+((tmp177_)*tmp707_+(tmp180_)*tmp708_+tmp181_*tmp709_+(tmp184_)*tmp711_+(tmp187_)*tmp712_+(tmp190_)*tmp713_+tmp191_*tmp714_+(tmp194_)*tmp716_+(tmp197_)*tmp717_+(tmp200_)*tmp718_+(tmp203_)*tmp719_+tmp204_*tmp720_+(tmp753_)*tmp725_+(tmp756_)*tmp729_+(tmp759_)*tmp733_+(tmp762_)*tmp737_+(tmp765_)*tmp741_+tmp221_*tmp745_)*mLocPolyn6_State_0_0)*mLocScNorm;
    mCompDer[1][2] = ((((tmp171_)*(tmp703_)+tmp172_*tmp91_)-(tmp205_)*tmp705_)*mLocPolyn6_State_0_0+(tmp206_*tmp708_+tmp207_*tmp709_+(tmp209_)*tmp710_+tmp210_*tmp712_+tmp211_*tmp713_+tmp212_*tmp714_+(tmp214_)*tmp715_+tmp215_*tmp717_+tmp216_*tmp718_+tmp217_*tmp719_+tmp218_*tmp720_+(tmp220_)*tmp721_+tmp766_*tmp729_+tmp767_*tmp733_+tmp768_*tmp737_+tmp769_*tmp741_+tmp770_*tmp745_+(tmp772_)*tmp749_)*mLocPolyn6_State_0_0)*mLocScNorm;
    mCompDer[1][3] = tmp230_*(tmp62_)*mLocPolyn6_State_0_0*mLocScNorm;
    mCompDer[1][4] = tmp774_;
    mCompDer[1][5] = tmp776_;
    mCompDer[1][6] = -(2*tmp64_)*mLocPolyn6_State_0_0*mLocScNorm;
    mCompDer[1][7] = 0;
    mCompDer[1][8] = tmp63_*mLocPolyn6_State_0_0*mLocScNorm;
    mCompDer[1][9] = 0;
    mCompDer[1][10] = 0;
    mCompDer[1][11] = 0;
    mCompDer[1][12] = 0;
    mCompDer[1][13] = tmp778_;
    mCompDer[1][14] = tmp780_;
    mCompDer[1][15] = tmp782_;
    mCompDer[1][16] = tmp784_;
    mCompDer[1][17] = 0;
    mCompDer[1][18] = 0;
    mCompDer[1][19] = 0;
    mCompDer[1][20] = 0;
    mCompDer[1][21] = 0;
    mCompDer[1][22] = tmp786_;
    mCompDer[1][23] = tmp788_;
    mCompDer[1][24] = tmp790_;
    mCompDer[1][25] = tmp792_;
    mCompDer[1][26] = tmp794_;
    mCompDer[1][27] = 0;
    mCompDer[1][28] = 0;
    mCompDer[1][29] = 0;
    mCompDer[1][30] = 0;
    mCompDer[1][31] = 0;
    mCompDer[1][32] = 0;
    mCompDer[1][33] = tmp796_;
    mCompDer[1][34] = tmp798_;
    mCompDer[1][35] = tmp800_;
    mCompDer[1][36] = tmp802_;
    mCompDer[1][37] = tmp804_;
    mCompDer[1][38] = tmp806_;
    mCompDer[1][39] = 0;
    mCompDer[1][40] = 0;
    mCompDer[1][41] = 0;
    mCompDer[1][42] = 0;
    mCompDer[1][43] = 0;
    mCompDer[1][44] = 0;
    mCompDer[1][45] = 0;
    mCompDer[1][46] = tmp808_;
    mCompDer[1][47] = tmp810_;
    mCompDer[1][48] = tmp812_;
    mCompDer[1][49] = tmp814_;
    mCompDer[1][50] = tmp816_;
    mCompDer[1][51] = tmp818_;
    mCompDer[1][52] = tmp820_;
    mCompDer[1][53] = ((((tmp267_)*(tmp703_)+(tmp253_)*tmp86_+(tmp821_)*tmp91_)-(tmp272_)*tmp705_+(tmp269_)*tmp706_)*mLocPolyn6_State_0_0+((tmp275_)*tmp707_+(tmp279_)*tmp708_+(tmp282_)*tmp709_+(tmp285_)*tmp710_+(tmp288_)*tmp711_+(tmp291_)*tmp712_+(tmp294_)*tmp713_+(tmp297_)*tmp714_+(tmp300_)*tmp715_+(tmp303_)*tmp716_+(tmp306_)*tmp717_+(tmp309_)*tmp718_+(tmp312_)*tmp719_+(tmp315_)*tmp720_+(tmp318_)*tmp721_+(tmp824_)*tmp725_+(tmp827_)*tmp729_+(tmp830_)*tmp733_+(tmp833_)*tmp737_+(tmp836_)*tmp741_+(tmp839_)*tmp745_+(tmp842_)*tmp749_)*mLocPolyn6_State_0_0)*mLocScNorm;
    mCompDer[1][54] = ((((tmp359_)*(tmp703_)+(tmp345_)*tmp86_+(tmp843_)*tmp91_)-(tmp364_)*tmp705_+(tmp361_)*tmp706_)*mLocPolyn6_State_0_0+((tmp367_)*tmp707_+(tmp371_)*tmp708_+(tmp374_)*tmp709_+(tmp377_)*tmp710_+(tmp380_)*tmp711_+(tmp383_)*tmp712_+(tmp386_)*tmp713_+(tmp389_)*tmp714_+(tmp392_)*tmp715_+(tmp395_)*tmp716_+(tmp398_)*tmp717_+(tmp401_)*tmp718_+(tmp404_)*tmp719_+(tmp407_)*tmp720_+(tmp410_)*tmp721_+(tmp846_)*tmp725_+(tmp849_)*tmp729_+(tmp852_)*tmp733_+(tmp855_)*tmp737_+(tmp858_)*tmp741_+(tmp861_)*tmp745_+(tmp864_)*tmp749_)*mLocPolyn6_State_0_0)*mLocScNorm;
    mCompDer[1][55] = ((((tmp448_)*(tmp703_)+(tmp430_)*tmp86_+(tmp865_)*tmp91_)-(tmp453_)*tmp705_+(tmp450_)*tmp706_)*mLocPolyn6_State_0_0+((tmp456_)*tmp707_+(tmp460_)*tmp708_+(tmp463_)*tmp709_+(tmp466_)*tmp710_+(tmp469_)*tmp711_+(tmp472_)*tmp712_+(tmp475_)*tmp713_+(tmp478_)*tmp714_+(tmp481_)*tmp715_+(tmp484_)*tmp716_+(tmp487_)*tmp717_+(tmp490_)*tmp718_+(tmp493_)*tmp719_+(tmp496_)*tmp720_+(tmp499_)*tmp721_+(tmp868_)*tmp725_+(tmp871_)*tmp729_+(tmp874_)*tmp733_+(tmp877_)*tmp737_+(tmp880_)*tmp741_+(tmp883_)*tmp745_+(tmp886_)*tmp749_)*mLocPolyn6_State_0_0)*mLocScNorm;
    mCompDer[1][56] = ((((tmp516_)*(tmp703_)+(tmp509_)*tmp86_+(tmp887_)*tmp91_)-(tmp521_)*tmp705_+(tmp518_)*tmp706_)*mLocPolyn6_State_0_0+((tmp524_)*tmp707_+(tmp528_)*tmp708_+(tmp531_)*tmp709_+(tmp534_)*tmp710_+(tmp537_)*tmp711_+(tmp540_)*tmp712_+(tmp543_)*tmp713_+(tmp546_)*tmp714_+(tmp549_)*tmp715_+(tmp552_)*tmp716_+(tmp555_)*tmp717_+(tmp558_)*tmp718_+(tmp561_)*tmp719_+(tmp564_)*tmp720_+(tmp567_)*tmp721_+(tmp890_)*tmp725_+(tmp893_)*tmp729_+(tmp896_)*tmp733_+(tmp899_)*tmp737_+(tmp902_)*tmp741_+(tmp905_)*tmp745_+(tmp908_)*tmp749_)*mLocPolyn6_State_0_0)*mLocScNorm;
    mCompDer[1][57] = ((((tmp584_)*(tmp703_)+(tmp577_)*tmp86_+(tmp909_)*tmp91_)-(tmp589_)*tmp705_+(tmp586_)*tmp706_)*mLocPolyn6_State_0_0+((tmp592_)*tmp707_+(tmp596_)*tmp708_+(tmp599_)*tmp709_+(tmp602_)*tmp710_+(tmp605_)*tmp711_+(tmp608_)*tmp712_+(tmp611_)*tmp713_+(tmp614_)*tmp714_+(tmp617_)*tmp715_+(tmp620_)*tmp716_+(tmp623_)*tmp717_+(tmp626_)*tmp718_+(tmp629_)*tmp719_+(tmp632_)*tmp720_+(tmp635_)*tmp721_+(tmp912_)*tmp725_+(tmp915_)*tmp729_+(tmp918_)*tmp733_+(tmp921_)*tmp737_+(tmp924_)*tmp741_+(tmp927_)*tmp745_+(tmp930_)*tmp749_)*mLocPolyn6_State_0_0)*mLocScNorm;
    mCompDer[1][58] = ((((tmp651_)*(tmp703_)+(tmp644_)*tmp86_+(tmp931_)*tmp91_)-(tmp656_)*tmp705_+(tmp653_)*tmp706_)*mLocPolyn6_State_0_0+((tmp659_)*tmp707_+(tmp663_)*tmp708_+(tmp666_)*tmp709_+(tmp669_)*tmp710_+(tmp672_)*tmp711_+(tmp675_)*tmp712_+(tmp678_)*tmp713_+(tmp681_)*tmp714_+(tmp684_)*tmp715_+(tmp687_)*tmp716_+(tmp690_)*tmp717_+(tmp693_)*tmp718_+(tmp696_)*tmp719_+(tmp699_)*tmp720_+(tmp702_)*tmp721_+(tmp934_)*tmp725_+(tmp937_)*tmp729_+(tmp940_)*tmp733_+(tmp943_)*tmp737_+(tmp946_)*tmp741_+(tmp949_)*tmp745_+(tmp952_)*tmp749_)*mLocPolyn6_State_0_0)*mLocScNorm;
  }
  
  
  void cEqAppui_TerFix_M2CPolyn6::ComputeValDerivHessian()
  {
    ELISE_ASSERT(false,"Foncteur cEqAppui_TerFix_M2CPolyn6 Has no Der Sec");
  }
  
  void cEqAppui_TerFix_M2CPolyn6::SetPolyn6_State_0_0(double aVal){ mLocPolyn6_State_0_0 = aVal;}
  void cEqAppui_TerFix_M2CPolyn6::SetPolyn6_State_1_0(double aVal){ mLocPolyn6_State_1_0 = aVal;}
  void cEqAppui_TerFix_M2CPolyn6::SetPolyn6_State_2_0(double aVal){ mLocPolyn6_State_2_0 = aVal;}
  void cEqAppui_TerFix_M2CPolyn6::SetScNorm(double aVal){ mLocScNorm = aVal;}
  void cEqAppui_TerFix_M2CPolyn6::SetXIm(double aVal){ mLocXIm = aVal;}
  void cEqAppui_TerFix_M2CPolyn6::SetXTer(double aVal){ mLocXTer = aVal;}
  void cEqAppui_TerFix_M2CPolyn6::SetYIm(double aVal){ mLocYIm = aVal;}
  void cEqAppui_TerFix_M2CPolyn6::SetYTer(double aVal){ mLocYTer = aVal;}
  void cEqAppui_TerFix_M2CPolyn6::SetZTer(double aVal){ mLocZTer = aVal;}
  
  
  
  double * cEqAppui_TerFix_M2CPolyn6::AdrVarLocFromString(const std::string & aName)
  {
     if (aName == "Polyn6_State_0_0") return & mLocPolyn6_State_0_0;
     if (aName == "Polyn6_State_1_0") return & mLocPolyn6_State_1_0;
     if (aName == "Polyn6_State_2_0") return & mLocPolyn6_State_2_0;
     if (aName == "ScNorm") return & mLocScNorm;
     if (aName == "XIm") return & mLocXIm;
     if (aName == "XTer") return & mLocXTer;
     if (aName == "YIm") return & mLocYIm;
     if (aName == "YTer") return & mLocYTer;
     if (aName == "ZTer") return & mLocZTer;
     return 0;
  }
  
  
  cElCompiledFonc::cAutoAddEntry cEqAppui_TerFix_M2CPolyn6::mTheAuto("cEqAppui_TerFix_M2CPolyn6",cEqAppui_TerFix_M2CPolyn6::Alloc);
  
  
  cElCompiledFonc *  cEqAppui_TerFix_M2CPolyn6::Alloc()
  {  return new cEqAppui_TerFix_M2CPolyn6();
  }
  
  
  