LLC - Line List Converter Thibault Merle 2012 This application is designed to convert linelists from Vienna Atomic Line Database (VALD) or Kurucz Atomic Line Database (KALD) to free radiative transfer codes format such as MOOG, TURBOSPEC (NOT YET), MULTI. LLC only needs one argument in input: the name of the ascii file from VALD or KALD. I/O options are available in config.in file. Directories ----------- input: directory where input linelists are stored output: directory for output linelists source: directory for fortran90 source code Files ----- README: this file config.in: configuration file of LLC Compile LLC ----------- Execute make in the source directory. This will compile the fortran90 source code and move the application llc in the local directory. Tested with gnu, intel and pathscale compilers. In the directory where is the application, you need to have a configura- tion file and the input linelist. Currently, you can have VALD or KALD input linelists. Options for output are in the configuration file. VALD format ----------- short format: wavelength is given in air Implemented only for default format short format can only be used for MOOG output format long format is required fo MULTI output format (NOT YET WELL TESTED) Concerning damping parameters: Stark and Waals are given in logarithm per sec and per perturber at 10000 K. KALD format ----------- short format: vacuum wavelength and air wavelength (2 columns) log gf Element-Code (e.g., 26.02 for Fe++) Lower level: Energy / cm^(-1) J-Value Upper level: Energy / cm^(-1) J-Value damping constants: gamma R, gamma S, gamma W log of radiative damping constant log of stark damping constant/electron number log of van der Waals damping constant/neutral hydrogen number Reference long format: vacuum wavelength and air wavelength (2 columns) log gf Element-Code (e.g., 26.02 for Fe++) Lower level: Energy / cm^(-1) J-Value Configuration Upper level: Energy / cm^(-1) J-Value Configuration damping constants: gamma R, gamma S, gamma W log of radiative damping constant log of stark damping constant/electron number log of van der Waals damping constant/neutral hydrogen number Reference MOOG format ----------- 4000.000 65.1 0.790 -0.440 1.50 4000.017 26.0 2.832 -3.746 1.50 4000.028 7.0 10.690 -2.960 1.50 4000.031 25.2 11.963 -7.413 1.50 Wavelength MUST be given in air. MULTI format ------------ FE FE 1 7376.760 4. FE 1 49352.340 5. 2381.611 2376.611 2386.611 0.11E-05 0.11E+08 0.30E-07 0.93E-05 FE FE 1 11976.230 4. FE 1 53891.520 3. 2385.037 2380.037 2390.037 0.88E-03 0.45E+08 0.24E-07 0.55E-05 Ion E_low (eV) g_low Ion E_up (eV) g_up Central wavelength, blue wavelength, red wavelength f value, Aji, enhancement factor, if > 0 then gamma_4/n_e else log C_4 Wavelengths MUST be given in vacuum. E_low and E_up MUST be less than ionization potentiel of the element.