cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Data Structures | Enumerations | Functions | Variables
atmdat_readin.cpp File Reference
#include "cddefines.h"
#include "taulines.h"
#include "mewecoef.h"
#include "iterations.h"
#include "heavy.h"
#include "yield.h"
#include "trace.h"
#include "lines.h"
#include "struc.h"
#include "dynamics.h"
#include "elementnames.h"
#include "hyperfine.h"
#include "atmdat.h"
#include "iso.h"
#include "save.h"
#include "mole.h"
#include "two_photon.h"
#include "dense.h"
#include "lines_service.h"
Include dependency graph for atmdat_readin.cpp:

Go to the source code of this file.

Data Structures

struct  t_BadnellLevel
 

Enumerations

enum  exc_type {
  IS_NONE, IS_K_SHELL, IS_L1_SHELL, IS_L2_SHELL,
  IS_TOP
}
 

Functions

STATIC void init_struc ()
 
STATIC void read_level2_lines ()
 
STATIC void read_mewe_gbar ()
 
STATIC void read_Hummer_Storey ()
 
STATIC void read_SH98_He1_cross_sections (void)
 
STATIC void read_Helike_cross_sections (void)
 
STATIC void ReadBadnellAIData (const string &fnam, long nelem, long ion, TransitionList &UTA, bitset< IS_TOP > Skip)
 
STATIC void validate_magic_number_1arg (const char *chFilename, FILE *ioFile, const long magicExp)
 
STATIC void validate_magic_number_3arg (const char *chFilename, FILE *ioFile, const long yearExp, const long monthExp, const long dayExp)
 
STATIC void read_UTA_lines ()
 
void InitTransition (const TransitionProxy &t)
 
int irsl2ind (vector< t_BadnellLevel > &level, int irsl)
 
void atmdat_readin (void)
 

Variables

const realnum f_cutoff = 1.e-4f
 

Enumeration Type Documentation

enum exc_type
Enumerator
IS_NONE 
IS_K_SHELL 
IS_L1_SHELL 
IS_L2_SHELL 
IS_TOP 

Definition at line 32 of file atmdat_readin.cpp.

Function Documentation

void atmdat_readin ( void  )
STATIC void init_struc ( )
void InitTransition ( const TransitionProxy t)
inline

Definition at line 1356 of file atmdat_readin.cpp.

References TransitionProxy::AddHiState(), TransitionProxy::AddLine2Stack(), and TransitionProxy::AddLoState().

Referenced by read_UTA_lines(), and ReadBadnellAIData().

Here is the call graph for this function:

int irsl2ind ( vector< t_BadnellLevel > &  level,
int  irsl 
)
inline

Definition at line 1363 of file atmdat_readin.cpp.

References TotalInsanity().

Referenced by ReadBadnellAIData().

Here is the call graph for this function:

STATIC void read_Helike_cross_sections ( void  )
STATIC void read_Hummer_Storey ( )
STATIC void read_level2_lines ( )
STATIC void read_mewe_gbar ( )
STATIC void read_SH98_He1_cross_sections ( void  )
STATIC void read_UTA_lines ( )
STATIC void ReadBadnellAIData ( const string &  fnam,
long  nelem,
long  ion,
TransitionList UTA,
bitset< IS_TOP Skip 
)
STATIC void validate_magic_number_1arg ( const char *  chFilename,
FILE *  ioFile,
const long  magicExp 
)

Definition at line 1374 of file atmdat_readin.cpp.

References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, FILENAME_PATH_LENGTH_2, fprintf(), ioQQQ, and read_whole_line().

Referenced by read_mewe_gbar().

Here is the call graph for this function:

STATIC void validate_magic_number_3arg ( const char *  chFilename,
FILE *  ioFile,
const long  yearExp,
const long  monthExp,
const long  dayExp 
)

Definition at line 1402 of file atmdat_readin.cpp.

References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, FILENAME_PATH_LENGTH_2, fprintf(), ioQQQ, and read_whole_line().

Referenced by read_level2_lines(), and read_UTA_lines().

Here is the call graph for this function:

Variable Documentation

const realnum f_cutoff = 1.e-4f

Definition at line 76 of file atmdat_readin.cpp.

Referenced by read_UTA_lines(), and ReadBadnellAIData().