cloudy trunk
Loading...
Searching...
No Matches
save_line.cpp File Reference
#include "cddefines.h"
#include "cddrive.h"
#include "radius.h"
#include "taulines.h"
#include "opacity.h"
#include "phycon.h"
#include "dense.h"
#include "lines.h"
#include "h2.h"
#include "lines_service.h"
#include "input.h"
#include "prt.h"
#include "save.h"
#include "iso.h"
#include "parser.h"
Include dependency graph for save_line.cpp:

Go to the source code of this file.

Macros

#define NPUNLM   200L
#define LIMLINE   10

Functions

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

Variables

static char chPLab [NPUNLM][5]
static long int nLinesEntered
static realnum wavelength [NPUNLM]
static long int ipLine [NPUNLM]
static bool lgRelativeIntensity
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

Macro Definition Documentation

◆ LIMLINE

#define LIMLINE   10

Definition at line 271 of file save_line.cpp.

Referenced by Parse_Save_Line_RT(), and Save_Line_RT().

◆ NPUNLM

#define NPUNLM   200L

Definition at line 21 of file save_line.cpp.

Function Documentation

◆ parse_save_line()

void parse_save_line ( Parser & p,
bool lgLog3,
char * chHeader )

◆ Parse_Save_Line_RT()

void Parse_Save_Line_RT ( Parser & p)

◆ save_line()

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

save_line do the save output

Parameters
ipthe file we will write to
chDo
intrinsicor emergent emission

Definition at line 102 of file save_line.cpp.

References ASSERT, cdEmis(), cdEmis_ip(), cdEXIT, cdLine(), chPLab, DEBUG_ENTRY, EXIT_FAILURE, h2, ioQQQ, ipLine, lgAbort, lgRelativeIntensity, LineSave, MAX2, nLinesEntered, NPUNLM, nzone, radius, SMALLFLOAT, and wavelength.

Referenced by SaveDo().

Here is the call graph for this function:

◆ Save_Line_RT()

void Save_Line_RT ( FILE * ip)

Variable Documentation

◆ chPLab

char chPLab[NPUNLM][5]
static

Definition at line 27 of file save_line.cpp.

Referenced by parse_save_line(), and save_line().

◆ ipLine

long int ipLine[NPUNLM]
static

Definition at line 30 of file save_line.cpp.

◆ lgMustPrintHeader

bool lgMustPrintHeader =true
static

◆ lgRelativeIntensity

bool lgRelativeIntensity
static

Definition at line 31 of file save_line.cpp.

Referenced by parse_save_line(), and save_line().

◆ line_RT_ipHi

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 }

Definition at line 281 of file save_line.cpp.

Referenced by Parse_Save_Line_RT(), and Save_Line_RT().

◆ line_RT_ipISO

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 }

Definition at line 275 of file save_line.cpp.

Referenced by Parse_Save_Line_RT(), and Save_Line_RT().

◆ line_RT_ipLo

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 }

Definition at line 284 of file save_line.cpp.

Referenced by Parse_Save_Line_RT(), and Save_Line_RT().

◆ line_RT_nelem

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 }

Definition at line 278 of file save_line.cpp.

Referenced by Parse_Save_Line_RT(), and Save_Line_RT().

◆ line_RT_type

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 }

Definition at line 272 of file save_line.cpp.

Referenced by Parse_Save_Line_RT(), and Save_Line_RT().

◆ nLine

long int nLine =-1
static

◆ nLinesEntered

long int nLinesEntered
static

Definition at line 28 of file save_line.cpp.

Referenced by parse_save_line(), and save_line().

◆ wavelength

realnum wavelength[NPUNLM]
static

Definition at line 29 of file save_line.cpp.