95 const string &fileBands,
const bool lgEmergent );
106 extern void mole_save(FILE *punit,
const char speciesname[],
const char args[],
bool lgHeader,
bool lgData,
bool lgCoef,
double depth);
117 bool lgPrintReagents,
size_t NPRINT,
double fprint );
184 void saveFITSimg( FILE *io,
const string &extName,
const string &units,
195 void saveFITSimg( FILE *io,
const string &extName,
const string &units,
196 const long nCols,
const valarray<double> &vec );
207 void CoolSave(FILE * io,
const char chJob[]);
265 const long numLevels,
267 const valarray<double> &creation,
268 bool haveNegPop =
false );
276 const long numLevels,
278 const valarray<double> &creation,
279 bool haveNegPop =
false );
288 const long numLevels,
289 const valarray<double> &pop,
290 bool haveNegPop =
false );
298 const long numLevels,
299 const valarray<double> &pop,
300 bool haveNegPop =
false );
306 bool haveNegPop =
false );
309 const long numLevels,
313 const long numLevels,
315 const valarray<double> &creation );
322 for(
long i=0; i <
LIMPUN; ++i )
338 for(
long i=0; i <
LIMPUN; ++i )
366 oss << setfill(
'0') << setw(9) << n;
bool lgPunLstIter[LIMPUN]
Definition: save.h:501
bool lgDTOn
Definition: save.h:583
Definition: warnings.h:11
long iteration
Definition: save.h:236
vector< string > chAverageType[LIMPUN]
Definition: save.h:382
bool p_lgSaveHeaderNeeded
Definition: save.h:459
vector< int > nAverageIonList[LIMPUN]
Definition: save.h:384
realnum punarg[LIMPUN][3]
Definition: save.h:484
bool lgPunContinuum
Definition: save.h:481
void SaveSpecial(FILE *io, const char *chTime)
Definition: save_special.cpp:12
STATIC long int ipPun
Definition: save_do.cpp:368
save_img_matrix img_matrix
Definition: save.h:633
void SaveHeat(FILE *io)
Definition: heat_save.cpp:18
#define NORETURN
Definition: cpu.h:461
bool lgNoClobber[LIMPUN]
Definition: save.h:398
string chGridPrefix
Definition: save.h:539
realnum ResolutionAbs
Definition: save.h:614
bool lgDRHash
Definition: save.h:577
string chFilenamePrefix
Definition: save.h:543
void createImage(const string &species, const long iteration, const long nzone, const long numLevels, const multi_arr< double, 2, C_TYPE > &matrix, const valarray< double > &creation, bool haveNegPop=false)
Definition: save.cpp:45
bool lgImgRates
Definition: save.h:234
void save_line(FILE *ip, const char *chDo, bool lgEmergent, long ipPun)
Definition: save_line.cpp:62
static const long VERSION_TRNCON
Definition: save.h:18
void Save1LineData(const TransitionProxy &t, FILE *io, bool lgCS_2)
Definition: save_linedata.cpp:253
t_save save
Definition: save.cpp:5
vector< LineID > LineList[LIMPUN]
Definition: save.h:374
bool lgSaveGrid_noclobber
Definition: save.h:411
bool lgDTOn_noclobber
Definition: save.h:406
char chOpcTyp[LIMPUN][5]
Definition: save.h:437
void zero()
Definition: save.cpp:8
long zone
Definition: save.h:237
NORETURN void SaveLineData(FILE *io)
Definition: save_linedata.cpp:20
FILE * ipSDSFile
Definition: save.h:571
bool lgioRecom_noclobber
Definition: save.h:408
bool lgFLUSH
Definition: save.h:531
FILE * ioRecom
Definition: save.h:593
char chPunRltType[7]
Definition: save.h:556
long int nzone
Definition: cddefines.cpp:13
FILE * ipPnunit
Definition: save.h:219
bool lgRealSave[LIMPUN]
Definition: save.h:415
exit_type
Definition: cddefines.h:151
bool lgTraceConvergeBase_noclobber
Definition: save.h:410
bool lgEmergent[LIMPUN]
Definition: save.h:418
long int nsave
Definition: save.h:430
void mole_save(FILE *punit, const char speciesname[], const char args[], bool lgHeader, bool lgData, bool lgCoef, double depth)
Definition: save_species.cpp:525
void SaveAllSpeciesLabelsLevels(FILE *ioPUN)
void SaveDo(const char *chTime)
Definition: save_do.cpp:461
FILE * ipPunConv
Definition: save.h:566
bool lgCumulative[LIMPUN]
Definition: save.h:421
string chGridDelimeter(long n)
Definition: save.h:360
string optname[LIMPUN]
Definition: save.h:487
string SpeciesBandFile[LIMPUN]
Definition: save.h:631
long int LinEvery
Definition: save.h:598
void SaveSpeciesOptDep(const long int ipPun, const string &speciesLabel)
Definition: save_species.cpp:440
void save_opacity(FILE *io, long int np)
Definition: save_opacity.cpp:23
bool lg_separate_iterations[LIMPUN]
Definition: save.h:446
bool lgPunConv
Definition: save.h:565
realnum WeakHeatCool
Definition: save.h:606
FILE * ipTraceConvergeBase
Definition: save.h:590
static const long LIMPUN
Definition: save.h:15
~t_save()
Definition: save.h:336
void SaveGrid(FILE *pnunit, exit_type status)
Definition: save_do.cpp:4167
bool lgXSPEC[LIMPUN]
Definition: save.h:507
char chSaveArgs[LIMPUN][5]
Definition: save.h:495
void SaveAverageFree(long i)
Definition: save.h:349
void Save_Line_RT(FILE *ip)
Definition: save_line.cpp:265
long int ncSaveSkip
Definition: save.h:602
void saveFITSfile(FILE *io, int option, realnum Elo=0.f, realnum Ehi=0.f, realnum Enorm=0.f)
Definition: save_fits.cpp:90
realnum wlLo
Definition: save.h:226
bool lgPunPoint
Definition: save.h:562
float realnum
Definition: cddefines.h:127
bool lgPunPoint_noclobber
Definition: save.h:407
bool lgLuminosityOld
Definition: save.h:535
bool lgSaveDataRates
Definition: save.h:624
long int nSaveEveryZone[LIMPUN]
Definition: save.h:492
bool lgQHSaveFile_noclobber
Definition: save.h:409
vector< int > nAverage2ndPar[LIMPUN]
Definition: save.h:386
long ipSaveGrid
Definition: save.h:395
bool lgLineListRatio[LIMPUN]
Definition: save.h:376
void SaveSpeciesBands(const long ipPun, const string &speciesLabel, const string &fileBands, const bool lgEmergent)
Definition: species_pseudo_cont.cpp:932
bool lgDRPLst
Definition: save.h:577
FILE * ipPoint
Definition: save.h:561
void CoolSave(FILE *io, const char chJob[])
Definition: cool_save.cpp:16
bool lgSDSOn
Definition: save.h:570
void SaveTitleDone(int ipPun)
Definition: save.h:469
realnum wlHi
Definition: save.h:226
double PrtLogLin(double value)
Definition: save_do.cpp:371
SaveParams params[LIMPUN]
Definition: save.h:389
long nBins
Definition: save.h:228
bool lgFITS
Definition: save.h:235
void SaveLineListFree(long i)
Definition: save.h:345
vector< string > contSaveSpeciesLabel
Definition: save.h:627
bool lgSaveEveryZone[LIMPUN]
Definition: save.h:491
bool lgLinEvery
Definition: save.h:599
t_save()
Definition: save.h:320
void SaveHeaderDone(int ipPun)
Definition: save.h:476
void createImage_FITS(const string &basename, const long numLevels, const multi_arr< double, 2, C_TYPE > &matrix, const valarray< double > &creation)
Definition: save.cpp:129
bool lgPrtIsotropicCont[LIMPUN]
Definition: save.h:427
bool matchZone(const long this_zone) const
Definition: save.h:253
bool lgDTPLst
Definition: save.h:583
int FITStype[LIMPUN]
Definition: save.h:510
bool lgFITS[LIMPUN]
Definition: save.h:504
bool lgDTHash
Definition: save.h:583
bool p_lgSaveTitleDone[LIMPUN]
Definition: save.h:451
void mole_dominant_rates(const vector< const molecule * > &debug_list, FILE *ioOut, bool lgPrintReagents, size_t NPRINT, double fprint)
Definition: save_species.cpp:609
bool lgSaveDataGf
Definition: save.h:624
bool lgHashEndIter[LIMPUN]
Definition: save.h:524
string chHashString
Definition: save.h:528
void saveFITSimg(FILE *io, const string &extName, const string &units, const long nPixels, const multi_arr< double, 2, C_TYPE > &image)
Definition: save_fits.cpp:983
bool lgPrtOldStyleLogs[LIMPUN]
Definition: save.h:401
void comment(t_warnings &)
Definition: save.h:240
string chOutputFile
Definition: save.h:551
long nAverageList[LIMPUN]
Definition: save.h:380
void createImage_PPM(const string &basename, const long numLevels, const multi_arr< double, 2, C_TYPE > &matrix)
Definition: save.cpp:169
bool lgTraceConvergeBase
Definition: save.h:588
bool lgSaveTitle(int ipPun) const
Definition: save.h:465
bool lgDROn
Definition: save.h:577
diatomics * whichDiatomToPrint[LIMPUN]
Definition: save.h:434
const char * chName() const
Definition: save.h:242
long ipEmisFreq[LIMPUN]
Definition: save.h:620
void SaveSpecies(FILE *ioPUN, long int ipPun)
Definition: save_species.cpp:35
string chSpeciesDominantRates[LIMPUN]
Definition: save.h:616
bool lgioRecom
Definition: save.h:594
const char * chConSavEnr[LIMPUN]
Definition: save.h:517
Definition: transition.h:23
void SaveSpeciesPseudoCont(const long ipPun, const string &speciesLabel)
Definition: species_pseudo_cont.cpp:396
vector< string > chSaveSpecies[LIMPUN]
Definition: save.h:497
void addImagePop_FITS(const string &species, const long iteration, const long nzone, const long numLevels, const valarray< double > &pop, bool haveNegPop=false)
Definition: save.cpp:154
void save_average(long int ipPun)
Definition: save_average.cpp:128
bool lgTraceConvergeBaseHash
Definition: save.h:588
bool lgPunConv_noclobber
Definition: save.h:404
bool lgSubtrCont
Definition: save.h:424
bool lgSaveDataWn
Definition: save.h:624
void SetSaveHeaderNeeded(bool lgVal)
Definition: save.h:462
FILE * ipDRout
Definition: save.h:576
realnum Resolution
Definition: save.h:611
string chRedirectPrefix
Definition: save.h:547
Energy emisfreq[LIMPUN]
Definition: save.h:619
string set_basename(const string &species, const long iteration, const long nzone, bool haveNegPop=false)
Definition: save.cpp:17
bool lgSaveHeader(int ipPun) const
Definition: save.h:472
bool lgSaveToSeparateFiles[LIMPUN]
Definition: save.h:442
long int ipConPun
Definition: save.h:520
void mole_print_species_reactions(molecule *speciesToPrint)
Definition: save_species.cpp:743
bool matchIteration(const long this_iteration) const
Definition: save.h:247
long nLineList[LIMPUN]
Definition: save.h:372
char chSave[LIMPUN][5]
Definition: save.h:433
void PrintLineDataHeader(FILE *ioPUN)
Definition: save_linedata.cpp:246
FILE * ipDTout
Definition: save.h:582
bool lgPunchFits
Definition: save.h:514
vector< adjPseudoCont > setPseudoCont
Definition: save.h:628
string speciesLabel
Definition: save.h:225
bool lgDROn_noclobber
Definition: save.h:405
vector< string > chFileName
Definition: save.h:392
void Save1Line(const TransitionProxy &t, FILE *io, realnum xLimit, long index, realnum DopplerWidth)
Definition: save_do.cpp:3886
bool p_lgSaveHeaderDone[LIMPUN]
Definition: save.h:455