Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
save_line.cpp File Reference
#include "cddefines.h"
#include "cddrive.h"
#include "radius.h"
#include "opacity.h"
#include "phycon.h"
#include "dense.h"
#include "lines.h"
#include "h2.h"
#include "prt.h"
#include "iso.h"
#include "parser.h"
#include "save.h"
Include dependency graph for save_line.cpp:

Classes

class  SaveLineList
 

Functions

void parse_save_line (Parser &p, bool lgLog3, ostringstream &chHeader, long ipPun)
 
void save_line (FILE *ioPUN, const char *chDo, bool lgEmergent, long ipPun)
 
void Parse_Save_Line_RT (Parser &p)
 
void Save_Line_RT (FILE *ioPUN)
 

Variables

static shared_ptr< SaveLineListlinelist [LIMPUN]
 
static const int LIMLINE = 10
 
static long int line_RT_type [LIMLINE]
 
static long int line_RT_ipISO [LIMLINE]
 
static long int line_RT_nelem [LIMLINE]
 
static long int line_RT_ipHi [LIMLINE]
 
static long int line_RT_ipLo [LIMLINE]
 
static bool lgMustPrintHeader = true
 
static long int nLine = -1
 

Function Documentation

void parse_save_line ( Parser p,
bool  lgLog3,
ostringstream &  chHeader,
long  ipPun 
)

References DEBUG_ENTRY, ipPun, lineids, linelist, ParseLineList(), and sprt_wl().

Here is the call graph for this function:

void save_line ( FILE *  ip,
const char *  chDo,
bool  lgEmergent,
long  ipPun 
)

save_line do the save output

Parameters
ipthe file we will write to
chDo
lgEmergentintrinsic or emergent emission
ipPun

References TransitionProxy::associated(), cdEmis_ip(), cdEXIT, cdLine_ip(), DEBUG_ENTRY, t_radius::depth_mid_zone, TransitionProxy::Emis(), EXIT_FAILURE, t_LineSave::findline(), fprintf(), h2, ioQQQ, ipLine, ipPun, diatomics::lgEnabled, lineids, linelist, t_LineSave::lines, LineSave, nzone, prt_line_err(), radius, and EmissionProxy::TauIn().

Referenced by SaveDo().

Here is the call graph for this function:

Variable Documentation

bool lgMustPrintHeader = true
static
const int LIMLINE = 10
static

Referenced by Parse_Save_Line_RT(), and Save_Line_RT().

long int line_RT_ipHi[LIMLINE]
static
Initial value:
=
{LONG_MIN, LONG_MIN, LONG_MIN, LONG_MIN, LONG_MIN,
LONG_MIN, LONG_MIN, LONG_MIN, LONG_MIN, LONG_MIN }

Referenced by Parse_Save_Line_RT(), and Save_Line_RT().

long int line_RT_ipISO[LIMLINE]
static
Initial value:
=
{LONG_MIN, LONG_MIN, LONG_MIN, LONG_MIN, LONG_MIN,
LONG_MIN, LONG_MIN, LONG_MIN, LONG_MIN, LONG_MIN }

Referenced by Parse_Save_Line_RT(), and Save_Line_RT().

long int line_RT_ipLo[LIMLINE]
static
Initial value:
=
{LONG_MIN, LONG_MIN, LONG_MIN, LONG_MIN, LONG_MIN,
LONG_MIN, LONG_MIN, LONG_MIN, LONG_MIN, LONG_MIN }

Referenced by Parse_Save_Line_RT(), and Save_Line_RT().

long int line_RT_nelem[LIMLINE]
static
Initial value:
=
{LONG_MIN, LONG_MIN, LONG_MIN, LONG_MIN, LONG_MIN,
LONG_MIN, LONG_MIN, LONG_MIN, LONG_MIN, LONG_MIN }

Referenced by Parse_Save_Line_RT(), and Save_Line_RT().

long int line_RT_type[LIMLINE]
static
Initial value:
=
{LONG_MIN, LONG_MIN, LONG_MIN, LONG_MIN, LONG_MIN,
LONG_MIN, LONG_MIN, LONG_MIN, LONG_MIN, LONG_MIN }

Referenced by Parse_Save_Line_RT(), and Save_Line_RT().

shared_ptr<SaveLineList> linelist[LIMPUN]
static

Referenced by parse_save_line(), and save_line().

long int nLine = -1
static