| cloudy
    trunk
    | 
#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 "count_ptr.h"#include "save.h"
Go to the source code of this file.
| Data Structures | |
| class | SaveLineList | 
| Macros | |
| #define | NPUNLM 200L | 
| #define | LIMLINE 10 | 
| 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 count_ptr< SaveLineList > | linelist [LIMPUN] | 
| 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 248 of file save_line.cpp.
Referenced by Parse_Save_Line_RT(), and Save_Line_RT().
| #define NPUNLM 200L | 
Definition at line 19 of file save_line.cpp.
Referenced by parse_save_line(), and save_line().
| void parse_save_line | ( | Parser & | p, | 
| bool | lgLog3, | ||
| ostringstream & | chHeader, | ||
| long | ipPun | ||
| ) | 
Definition at line 39 of file save_line.cpp.
References cdEXIT, LineID::chLabel, SaveLineList::chPLab, DEBUG_ENTRY, EXIT_FAILURE, fprintf(), Parser::getline(), Parser::getLineID(), Parser::hasCommand(), INPUT_LINE_LENGTH, ioQQQ, ipPun, SaveLineList::lgRelativeIntensity, Parser::m_lgEOF, SaveLineList::nLinesEntered, NPUNLM, sncatf(), sprt_wl(), LineID::wave, SaveLineList::wavelength, and wavelength.

| void Parse_Save_Line_RT | ( | Parser & | p | ) | 
Definition at line 268 of file save_line.cpp.
References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, Parser::FFmtRead(), fprintf(), 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, | ||
| long | ipPun | ||
| ) | 
save_line do the save output
| ip | the file we will write to | 
| chDo | |
| intrinsic | or emergent emission | 
Definition at line 110 of file save_line.cpp.
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, SaveLineList::ipLine, ipPun, lgAbort, diatomics::lgEnabled, SaveLineList::lgMustGetLines, SaveLineList::lgMustPrintFirstTime, t_LineSave::lines, LineSave, SaveLineList::nLinesEntered, NPUNLM, t_LineSave::nsum, nzone, prt_line_err(), radius, SMALLFLOAT, EmissionProxy::TauIn(), 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 328 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, fprintf(), 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().

| 
 | static | 
Definition at line 264 of file save_line.cpp.
Referenced by CoolEvaluate(), Drive_cdLine(), ipLineEnergy(), Parse_Save_Line_RT(), Save_Line_RT(), and SaveDo().
| 
 | static | 
Definition at line 258 of file save_line.cpp.
Referenced by Parse_Save_Line_RT(), and Save_Line_RT().
| 
 | static | 
Definition at line 252 of file save_line.cpp.
Referenced by Parse_Save_Line_RT(), and Save_Line_RT().
| 
 | static | 
Definition at line 261 of file save_line.cpp.
Referenced by Parse_Save_Line_RT(), and Save_Line_RT().
| 
 | static | 
Definition at line 255 of file save_line.cpp.
Referenced by Parse_Save_Line_RT(), and Save_Line_RT().
| 
 | static | 
Definition at line 249 of file save_line.cpp.
Referenced by Parse_Save_Line_RT(), and Save_Line_RT().
| 
 | static | 
Definition at line 37 of file save_line.cpp.
| 
 | static | 
Definition at line 265 of file save_line.cpp.
Referenced by iso_allocate(), parse_save_average(), Parse_Save_Line_RT(), PrtLinePres(), and Save_Line_RT().
 1.8.5
 1.8.5