#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"
Go to the source code of this file.
Defines | |
#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 |
#define LIMLINE 10 |
Definition at line 271 of file save_line.cpp.
Referenced by Parse_Save_Line_RT(), and Save_Line_RT().
#define NPUNLM 200L |
Definition at line 21 of file save_line.cpp.
void parse_save_line | ( | Parser & | p, | |
bool | lgLog3, | |||
char * | chHeader | |||
) |
Definition at line 33 of file save_line.cpp.
References cdEXIT, chPLab, DEBUG_ENTRY, EXIT_FAILURE, Parser::getline(), Parser::getLineID(), INPUT_LINE_LENGTH, ioQQQ, lgRelativeIntensity, Parser::m_lgEOF, nLinesEntered, NPUNLM, sprt_wl(), Parser::strcmp(), and wavelength.
Referenced by ParseSave().
void Parse_Save_Line_RT | ( | Parser & | p | ) |
Definition at line 291 of file save_line.cpp.
References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, Parser::FFmtRead(), Parser::getline(), ioQQQ, Parser::lgEOL(), lgMustPrintHeader, LIMLINE, line_RT_ipHi, line_RT_ipISO, line_RT_ipLo, line_RT_nelem, line_RT_type, Parser::m_lgEOF, nLine, Parser::nMatch(), and Parser::PrintLine().
Referenced by ParseSave().
void save_line | ( | FILE * | ip, | |
const char * | chDo, | |||
bool | lgEmergent | |||
) |
save_line do the save output
ip | the file we will write to | |
chDo | ||
intrinsic | or emergent emission |
Definition at line 102 of file save_line.cpp.
References ASSERT, cdEmis(), cdEmis_ip(), cdEXIT, cdLine(), chPLab, DEBUG_ENTRY, t_radius::depth_mid_zone, EXIT_FAILURE, h2, ioQQQ, ipLine, lgAbort, diatomics::lgEnabled, lgRelativeIntensity, LineSave, MAX2, nLinesEntered, NPUNLM, t_LineSave::nsum, nzone, radius, SMALLFLOAT, and wavelength.
Referenced by SaveDo().
void Save_Line_RT | ( | FILE * | ip | ) |
Save_Line_RT parse the save line rt command - read in a set of lines
ip | the file we will write to | |
*chJob |
Definition at line 351 of file save_line.cpp.
References EmissionProxy::Aul(), cdEXIT, chLineLbl(), TransitionProxy::Coll(), colliders, CollisionProxy::ColUL(), DEBUG_ENTRY, dense, t_radius::depth_mid_zone, t_dense::eden, t_dense::EdenHCorr, TransitionProxy::Emis(), EXIT_FAILURE, g, TransitionProxy::Hi(), ioQQQ, TransitionProxy::ipCont(), iso_sp, lgMustPrintHeader, LIMLINE, line_RT_ipHi, line_RT_ipISO, line_RT_ipLo, line_RT_nelem, line_RT_type, TransitionProxy::Lo(), nLine, opac, t_opac::opacity_abs, t_opac::opacity_sct, phycon, EmissionProxy::PopOpc(), EmissionProxy::pump(), radius, t_radius::Radius_mid_zone, EmissionProxy::TauIn(), t_phycon::te, and t_iso_sp::trans().
Referenced by SaveDo().
char chPLab[NPUNLM][5] [static] |
Definition at line 27 of file save_line.cpp.
Referenced by parse_save_line(), and save_line().
long int ipLine[NPUNLM] [static] |
Definition at line 30 of file save_line.cpp.
Referenced by save_line().
bool lgMustPrintHeader = true [static] |
Definition at line 287 of file save_line.cpp.
Referenced by CoolEvaluate(), Drive_cdLine(), ipLineEnergy(), Parse_Save_Line_RT(), Save_Line_RT(), and SaveDo().
bool lgRelativeIntensity [static] |
Definition at line 31 of file save_line.cpp.
Referenced by parse_save_line(), and save_line().
long int line_RT_ipHi[LIMLINE] [static] |
{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().
long int line_RT_ipISO[LIMLINE] [static] |
{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().
long int line_RT_ipLo[LIMLINE] [static] |
{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().
long int line_RT_nelem[LIMLINE] [static] |
{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().
long int line_RT_type[LIMLINE] [static] |
{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().
long int nLine = -1 [static] |
Definition at line 288 of file save_line.cpp.
Referenced by FeIICreate(), iso_allocate(), parse_save_average(), Parse_Save_Line_RT(), PrtLinePres(), and Save_Line_RT().
long int nLinesEntered [static] |
Definition at line 28 of file save_line.cpp.
Referenced by parse_save_line(), and save_line().
realnum wavelength[NPUNLM] [static] |
Definition at line 29 of file save_line.cpp.
Referenced by parse_save_line(), and save_line().