//------------------------------------------ //reading Ramo_table.txt(FEM solutions) and make PotentialArray and PotentialHVArray //2019.3.22,5.22 Taka Kondo (KEK) //------------------------------------------------ void make_ExOnly(const int VFD, const int HV) { // Neff[] like P10E11, M08E11 for Neff=+10e11/cm**3 and -8e11/cm**3 // HV = bias Voltage applied to SCT backplane ifstream fin("FEM_dummy.txt"); //ofstream fout("Ex_dummy.txt", std::ios::app); ofstream fout("Ex_dummy.txt"); fout<>x>>y>>nreg>>phi>>ex>>ey>>e>>dx>>dy>>d>>eng) { nn++; cout<V/cm Ex[kkk][i] = - ex/100.; // V/m-->V/cm i++; if(i<115) continue; k++; i = 0; } fin.close(); int m = 17;// int n = 115;// //-------------------------------------- char cid[20]; sprintf(cid,"%d",VFD); if(VFD<0) sprintf(cid,"M%d",-VFD); fout<<"float ExArray_"<