#include "cddefines.h"
#include "lines_service.h"
#include "taulines.h"
#include "trace.h"
#include "string.h"
#include "input.h"
#include "thirdparty.h"
#include "dense.h"
#include "atmdat.h"
#include "mole.h"
#include "elementnames.h"
#include "version.h"
Go to the source code of this file.
Defines | |
#define | DEBUGSTATE false |
Functions | |
void | states_popfill (void) |
void | states_nelemfill (void) |
void | database_prep (int) |
void | emislines_fillredis (void) |
void | set_fractionation (species *sp) |
STATIC void | states_propprint (void) |
STATIC void | SpeciesJunk (species *sp) |
emission * | AddLine2Stack (realnum Aul, transition *trans) |
void | database_readin (void) |
#define DEBUGSTATE false |
Definition at line 43 of file species.cpp.
emission* AddLine2Stack | ( | realnum | Aul, | |
transition * | trans | |||
) |
Definition at line 45 of file species.cpp.
References t_emission::Aul, cdEXIT, dBaseLines, DEBUG_ENTRY, ioQQQ, linesAdded2, MAX_NUM_LINES, and t_emission::tran.
void database_prep | ( | int | intSpIndex | ) |
Definition at line 537 of file species.cpp.
References t_emission::Aul, BIGFLOAT, dBaseStates, dBaseTrans, DEBUG_ENTRY, transition::Emis, t_quantumState::lifetime, t_species::numLevels_max, SMALLFLOAT, and Species.
Referenced by database_readin().
void database_readin | ( | void | ) |
Definition at line 70 of file species.cpp.
References AS_DATA_ONLY_TRY, ASSERT, atmdat, atmdat_CHIANTI_readin(), atmdat_LAMDA_readin(), AtmolCollRateCoeff, AtmolCollSplines, cdEXIT, CHARS_SPECIES, t_input::chDelimiter, chElement, chLabel, t_species::chLabel, t_atmdat::chVersion, t_CollRatesArray::collrates, CollRatesArray, database_prep(), dBaseStates, dBaseTrans, DEBUG_ENTRY, DEBUGSTATE, emislines_fillredis(), FFmtRead(), FILENAME_PATH_LENGTH_2, findspecies(), fixit(), input, INPUT_LINE_LENGTH, ioQQQ, t_atmdat::iVersionLength, t_atmdat::lgChiantiOn, t_atmdat::lgLamdaOn, linesAdded2, MALLOC, max(), nSpecies, t_CollRatesArray::ntemps, null_mole, NUM_COLLIDERS, open_data(), read_whole_line(), set_fractionation(), Species, SpeciesJunk(), states_nelemfill(), states_popfill(), states_propprint(), t_CollRatesArray::temps, TotalInsanity(), toupper(), and uncaps().
Referenced by atmdat_readin().
void emislines_fillredis | ( | void | ) |
Definition at line 454 of file species.cpp.
References dBaseLines, DEBUG_ENTRY, ipPRD, t_emission::iRedisFun, and linesAdded2.
Referenced by database_readin().
void set_fractionation | ( | species * | sp | ) |
Definition at line 423 of file species.cpp.
References t_species::chLabel, DEBUG_ENTRY, fixit(), t_species::fracIsotopologue, and t_species::fracType.
Referenced by database_readin().
STATIC void SpeciesJunk | ( | species * | sp | ) |
Definition at line 560 of file species.cpp.
References t_species::chLabel, t_species::fmolweight, t_species::fracIsotopologue, t_species::fracType, t_species::lgActive, t_species::lgMolecular, t_species::numLevels_local, t_species::numLevels_max, and set_NaN().
Referenced by database_readin().
void states_nelemfill | ( | void | ) |
Definition at line 465 of file species.cpp.
References ASSERT, t_dense::AtomicWeight, t_elementnames::chElementSym, chLabel, dBaseStates, DEBUG_ENTRY, dense, elementnames, fixit(), t_species::fmolweight, t_quantumState::IonStg, t_dense::lgIonChiantiOn, LIMELM, t_quantumState::nelem, nSpecies, t_species::numLevels_max, and Species.
Referenced by database_readin().
void states_popfill | ( | void | ) |
Definition at line 573 of file species2.cpp.
References dBaseStates, DEBUG_ENTRY, nSpecies, t_species::numLevels_max, t_quantumState::Pop, and Species.
Referenced by database_readin().
STATIC void states_propprint | ( | void | ) |
Definition at line 513 of file species.cpp.
References chLabel, dBaseStates, DEBUG_ENTRY, t_quantumState::g, t_quantumState::lifetime, nSpecies, t_species::numLevels_max, t_quantumState::Pop, and Species.
Referenced by database_readin().