In examples, some code uses :
MediumMagboltz gas ( ’ ar ', 80., ’ co2 ', 20. ) ;
gas.SetTemperature ( 293.15 ) ;
gas.SetPressure ( 760. ) ;
Some code uses :
gas.LoadGasFile ( ’ xxx.gas ’ ) ;
I have read gas.LoadGasFile() vs gas.Initialise(true) ),I Know the first case prepares the table of microscopic scattering rates. The second case LoadGasFile prepares the tables of macroscopic transport parameters
I am still a little confused, I want to confirm whether my following understanding is correct :
- If I use AvalancheMicroscopic, I don 't need to import gas files
- If using AvalancheMC or DriftLineRKF, I must load the gas file
3.Is gas.LoadGasFile(‘xxx.gas’); and gas. SetTemperature (293.15);gas.SetPressure ( 760. ) ; gas. SetComponent ( ’ xx ’ ) completely independent ? Does simultaneous use in the program affect each other ? - What is the function of gas.Initialise (true) without loading the gas file ?Must I use it ?
- When must gas.LoadIonMobility be used with AvalancheMicroscopic, AvalancheMC or DriftLineRKF?What is the role of gas.LoadIonMobility( )?