Takuya Shimada (Kobe Univ.)
Hirohisa Ishiura (Kobe Univ.)
This code contains new class "AvalancheNIMicroscopic" for negative ion gas MPGD simulation in Garfield++. Source/AvalancheNIMicroscopic.cc and Include/AvalancheNIMicroscopic.hh are added for negative ion tracking and MPGD simulation.
export GARFIELD_HOME=/pash/to/garfieldpp_nitpc
export HEED_DATABASE=$GARFIELD_HOME/Heed/heed++/databece
$ cd $GARFIELD_HOME
$ make
$ cd $GARFIELD_HOME/Example/NITPC/src
$ vim nitpc.cxx
nitpc.cxx
// nitpc.cxx
gas->LoadIonMobility("/path/to/Data/IonMobility_SF6-_SF6.txt"); // Mobility data path, user should set this file
...
std::string data_dir = "/path/to/gem/"; // Elmer output directory
std::string header = data_dir + "/gemcell/mesh.header";
std::string element = data_dir + "/gemcell/mesh.elements";
std::string node = data_dir + "/gemcell/mesh.nodes";
std::string eps = data_dir + "/gemcell/dielectrics.dat";
std::string volt = data_dir + "/gemcell/gemcell.result";
...
and,
$ make
$ cd ..
$ ./nitpc
....
create track.png
....
$ display track.png
track.png shows the visualization of this simulation.
