Hi,
When I was generating the gas file, the program got stuck at 483293V. The program is still running, but after waiting here for several hours, no new results have been generated.
(Where the program stuck)
The code I used is as follows:
#include "Garfield/FundamentalConstants.hh"
#include "Garfield/MediumMagboltz.hh"
using namespace Garfield;
int main(int argc, char* argv[]) {
const double pressure = 0.26 * AtmosphericPressure;
const double temperature = 300;
// Setup the gas.
MediumMagboltz gas("Ar", 85., "CO2", 15.);
gas.SetTemperature(temperature);
gas.SetPressure(pressure);
// Set the field range to be covered by the gas table.
const size_t nE = 20;
const double emin = 1000.;
const double emax = 1000000.;
// Flag to request logarithmic spacing.
constexpr bool useLog = true;
gas.SetFieldGrid(emin, emax, nE, useLog);
const int ncoll = 10;
// Run Magboltz to generate the gas table.
gas.GenerateGasTable(ncoll);
// Save the table.
gas.WriteGasFile("ar_85_co2_15.gas");
}