|
| 1 | +#Example config file for SimSens |
| 2 | + |
| 3 | +#Output directory |
| 4 | +OutputDirectory = "test"; #where the simulation output is stored (created if it does not exist) |
| 5 | + |
| 6 | +#Sensor physics map |
| 7 | +PhysicsMaps:{ |
| 8 | +# map = "maps/TCoDe_physmap.dat" #if all the quantities are defined in the same points only one file is necessary, the speed up in this configuration is around x4 |
| 9 | + efield = "maps/TCoDe_efield.dat"; |
| 10 | + wfield = "maps/TCoDe_wfield.dat"; |
| 11 | + hmob = "maps/TCoDe_hmob.dat"; |
| 12 | + emob = "maps/TCoDe_emob.dat"; |
| 13 | +} |
| 14 | + |
| 15 | +#here are the settings for the simulations |
| 16 | +InputData: |
| 17 | +{ |
| 18 | + #simulating from text file |
| 19 | + Simulation0: |
| 20 | + { |
| 21 | + #nickname for the simulation |
| 22 | + name = "Simulation0"; |
| 23 | + |
| 24 | + #path must point to energy deposit, for example: |
| 25 | + #the deposit can be splitted in sub-deposits arranged in rows |
| 26 | + #the format should be: |
| 27 | + #xi yi zy xf yf zf npairs gen(optional) |
| 28 | + #where the first three numbers are the cartesian coordinates at which the deposit starts |
| 29 | + #the subsequent three are the cartesian coordinates at which the deposit ends |
| 30 | + #npairs is the number of electron/hole pairs created |
| 31 | + #the last optional number tells whether the deposit is primary, secondary, etc.. |
| 32 | + path = "deposits/example_MIP.txt"; |
| 33 | + |
| 34 | + #if turned to false, this simulation will be skipped in the execution |
| 35 | + #OPTIONAL: default is true |
| 36 | + process = true; |
| 37 | + |
| 38 | + #create an animated GIF (ATTENTION:it may take a long time), it can only be true or false EXPERIMENTAL |
| 39 | + #OPTIONAL: default is false |
| 40 | + plot = false; |
| 41 | + |
| 42 | + #saves snapshots for all steps as tgraphs and tcanvases (ATTENTION:output may be very large), it can only be true or false |
| 43 | + #OPTIONAL: default is false |
| 44 | + extrainfo = false; |
| 45 | + |
| 46 | + #number of time steps in the simulation, integer. |
| 47 | + #NEEDED |
| 48 | + #it can be an array (e.g. [400,600]). In this case simulations will be performed with all the values |
| 49 | + steps = 100; |
| 50 | + |
| 51 | + #time step in seconds, double. NEEDED |
| 52 | + #it can be an array (e.g. [1e-11,1e-13,1e-14]). In this case simulations will be performed with all the values |
| 53 | + timestep = 1e-12; |
| 54 | + |
| 55 | + #number of particles (pairs*2) in the simulation, integer |
| 56 | + #if set to 0 all the particles corresponding to the input file will be processed. |
| 57 | + #OPTIONAL: Default is -1 (or 10K for dummy deposits) |
| 58 | + #it can be an array |
| 59 | + particles = 0; |
| 60 | + |
| 61 | + #temperature of the sensor in Kelvin, double. |
| 62 | + #NEEDED |
| 63 | + #it can be an array |
| 64 | + T=300.; |
| 65 | + |
| 66 | + #amplitude of the explosion term, double. |
| 67 | + #OPTIONAL: default is 0.0 |
| 68 | + #it can be an array |
| 69 | + Aexpl = 0.; |
| 70 | + |
| 71 | + #sigma of the explosion term, double. |
| 72 | + #OPTIONAL: default is 0.0 |
| 73 | + #it can be an array |
| 74 | + Sexpl = 5e-12; |
| 75 | + |
| 76 | + #shift or entry point (for dummy deposit) in x, it can be an array. |
| 77 | + #OPTIONAL: default is 0 |
| 78 | + Xshift = 2.; |
| 79 | + |
| 80 | + #shift or entry point (for dummy deposit) in y, it can be an array. |
| 81 | + #OPTIONAL: default is 0 |
| 82 | + Yshift = 2.; |
| 83 | + |
| 84 | + #shift or entry point (for dummy deposit) in z, it can be an array |
| 85 | + #OPTIONAL: default is 0 |
| 86 | + Zshift = 0.; |
| 87 | + |
| 88 | + #length of the deposit (meaningful only for dummy deposits). |
| 89 | + #OPTIONAL: default is 1.0 mum |
| 90 | + Length = 100.; |
| 91 | + |
| 92 | + #BunchSize depends on machine it is the max number of timesteps that can be handled on device |
| 93 | + #If the number of timesteps requested is larger than BunchSize, it will be splitted into several bunches |
| 94 | + #It is transparent to the user, howerver, for optimal timing, BunchSize should be as large as possible. |
| 95 | + #OPTIONAL: default is 600 |
| 96 | + BunchSize = 600; |
| 97 | + }; |
| 98 | + |
| 99 | + #simulation from autogenerated deposit (it may be useful for testing, a typical deposit will be generated) |
| 100 | + Simulation1: |
| 101 | + { |
| 102 | + name = "Simulation1"; |
| 103 | + steps = 500; |
| 104 | + timestep = 1e-12; |
| 105 | + #plot = true; |
| 106 | + #extrainfo = true; |
| 107 | + #number of particles (pairs*2) in the simulation, if set to -1 all the particles corresponding to the input file will be processed |
| 108 | + #it can be an array |
| 109 | + particles = 20000; #it cannot be -1 in this case since no input file is provided |
| 110 | + |
| 111 | + T=0.; |
| 112 | + |
| 113 | + Xshift = 2.; |
| 114 | + Yshift = 2.; |
| 115 | + Zshift = 0.; |
| 116 | + Length = 10.; |
| 117 | + }; |
| 118 | + |
| 119 | +}; |
0 commit comments