I'm trying to get the Collisional Radiative Model of the FAC code running. I can already calculate transition rates of the included ions as the spectra (.rt and .sp output files, respectively) using the spec module. However, I cannot plot final spectra using the print_spec script since this and few other ones use data produced by the save script. The save script also doesn't work because .rt files produced by spec do not contain header lines save expects to read. These are NELE, ILEV and DENS. I have managed to change the code and add these lines to the header, but the problem is to make the program write their correct values. I'm no C++ expert and I'm afraid, I would fail to make it correct within reasonable time. Does anybody have any experience using this part of FAC?
I'm using the latest distribution of FAC downloaded from http://sprg.ssl.berkeley.edu/~mfgu/fac/