cloudy
trunk
|
#include "cddefines.h"
#include "taulines.h"
#include "trace.h"
#include "thirdparty.h"
#include "atmdat.h"
#include "lines_service.h"
#include "parse_species.h"
Go to the source code of this file.
Typedefs | |
typedef vector< pair< double, long > > | DoubleLongPairVector |
Functions | |
static void | AulTTError (const char chFilename[], const char chLine[], const char TT[]) |
void | atmdat_STOUT_readin (long intNS, char *chPrefix) |
void | atmdat_CHIANTI_readin (long intNS, char *chPrefix) |
Variables | |
static const bool | DEBUGSTATE = false |
const double | ENERGY_MIN_WN = 1e-10 |
typedef vector< pair<double,long> > DoubleLongPairVector |
Definition at line 11 of file atmdat_chianti.cpp.
void atmdat_CHIANTI_readin | ( | long | intNS, |
char * | chFileName | ||
) |
atmdat_CHIANTI_readin read in data from CHIANTI database files
intNS | |
chFileName |
Definition at line 1044 of file atmdat_chianti.cpp.
References AS_DATA_ONLY_TRY, ASSERT, atmdat, AtmolCollSplines, BIGDOUBLE, cdEXIT, CHARS_SPECIES, db_comment_tran_levels(), dBaseSpecies, dBaseStates, dBaseTrans, DEBUG_ENTRY, DEBUGSTATE, energy(), ENERGY_MIN_WN, EXIT_FAILURE, FILENAME_PATH_LENGTH_2, fixit, fprintf(), GetGF(), ioQQQ, ipdBaseTrans, ipELECTRON, ipNCOLLIDER, ipPROTON, t_atmdat::lgChiantiExp, t_atmdat::lgChiantiPrint, t_trace::lgTrace, MALLOC, max(), MAX2, MIN2, MIN3, mode_r, t_atmdat::nChiantiMaxLevels, t_atmdat::nChiantiMaxLevelsFe, nMatch(), open_data(), RefIndex(), setProperties(), spectral_to_chemical(), spline(), STATIC_ASSERT, swap(), tolower(), TotalInsanity(), trace, and uncaps().
Referenced by database_readin().
void atmdat_STOUT_readin | ( | long | intNS, |
char * | chFileName | ||
) |
atmdat_STOUT_readin read in data from STOUT database files
intNS | |
chFileName |
Bohr Magneton, 9.2740096e-21 ergs/G
Definition at line 35 of file atmdat_chianti.cpp.
References ASSERT, atmdat, t_atmdat::aulThreshold, AulTTError(), caps(), cdEXIT, CHARS_SPECIES, db_comment_tran_levels(), dBaseSpecies, dBaseStates, dBaseTrans, DEBUG_ENTRY, DEBUGSTATE, eina(), ENERGY_MIN_WN, EXIT_FAILURE, FFmtRead(), FILENAME_PATH_LENGTH_2, fprintf(), GetGF(), ioQQQ, ipALPHA, ipATOM_H, ipATOM_HE, ipdBaseTrans, ipELECTRON, ipH2, ipH2_ORTHO, ipH2_PARA, ipHE_PLUS, ipNCOLLIDER, ipPROTON, t_atmdat::lgStoutPrint, t_trace::lgTrace, MALLOC, MAX2, MIN2, MIN3, nMatch(), t_atmdat::nStoutMaxLevels, t_atmdat::nStoutMaxLevelsFe, open_data(), pow2(), pow3(), pow4(), powi(), read_whole_line(), RefIndex(), setProperties(), spectral_to_chemical(), StoutCollData, swap(), tolower(), TotalInsanity(), trace, and uncaps().
Referenced by database_readin().
|
static |
AulTTError prints the error message which explains that a transition already has an Aul value for a particular transition type. If this occurs, the code will stop because there is probably an error in the data file.
chFilename[] | |
chLine[] | |
TT[] |
Definition at line 20 of file atmdat_chianti.cpp.
References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, fprintf(), and ioQQQ.
Referenced by atmdat_STOUT_readin().
|
static |
Definition at line 31 of file atmdat_chianti.cpp.
Referenced by atmdat_CHIANTI_readin(), and atmdat_STOUT_readin().
const double ENERGY_MIN_WN = 1e-10 |
Definition at line 33 of file atmdat_chianti.cpp.
Referenced by atmdat_CHIANTI_readin(), and atmdat_STOUT_readin().