cloudy trunk
Loading...
Searching...
No Matches
Functions
save_linedata.cpp File Reference
#include "cddefines.h"
#include "taulines.h"
#include "iso.h"
#include "phycon.h"
#include "physconst.h"
#include "elementnames.h"
#include "hydrogenic.h"
#include "lines_service.h"
#include "dense.h"
#include "atomfeii.h"
#include "conv.h"
#include "lines.h"
#include "atmdat.h"
#include "prt.h"
#include "h2.h"
#include "thermal.h"
#include "cooling.h"
#include "save.h"
#include "mole.h"
Include dependency graph for save_linedata.cpp:

Go to the source code of this file.

Functions

NORETURN void SaveLineData (FILE *ioPUN)
 
void Save1LineData (const TransitionProxy &t, FILE *ioPUN, bool lgCS_2, bool &lgPrintHead)
 

Function Documentation

◆ Save1LineData()

void Save1LineData ( const TransitionProxy t,
FILE *  io,
bool  lgCS_2,
bool lgPrint 
)

Save1LineData data for save one line

Parameters
t
io
lgCS_2this flag says whether collision strength should be saveed - should be false for multi level atoms since sums are not done properly
lgPrinttrue print header line
Todo:
1 define lifetime and collision rate for multi-level species so that the critical density is derived correctly in this routine. For now the flag lgCS_2 being true means to save critical den and is only true for two-level systems all places where this routine is called with lgCS_2 false need to be fixed

Definition at line 278 of file save_linedata.cpp.

References AnuUnit(), EmissionProxy::Aul(), t_save::chConPunEnr, chIonLbl(), CollisionProxy::col_str(), TransitionProxy::Coll(), COLL_CONST, EmissionProxy::damp(), DEBUG_ENTRY, TransitionProxy::Emis(), TransitionProxy::EnergyRyd(), g, EmissionProxy::gf(), TransitionProxy::Hi(), t_save::ipConPun, TransitionProxy::ipCont(), TransitionProxy::Lo(), phycon, PrintEfmt, prt_wl(), save, t_phycon::sqrte, and TransitionProxy::WLAng().

Referenced by FeIIPunData(), diatomics::H2_Punch_line_data(), and SaveLineData().

Here is the call graph for this function:

◆ SaveLineData()

NORETURN void SaveLineData ( FILE *  io)