cloudy
trunk
|
#include "module.h"
Go to the source code of this file.
Data Structures | |
struct | t_input |
Functions | |
bool | lgInputComment (const char *chLine) |
void | input_readvector (const char *chFile, vector< double > &vec, bool *lgError) |
void | input_readvector (const char *chFile, double vector[], long n, bool *lgEOF) |
Variables | |
const int | NKRD = 4000 |
t_input | input |
void input_readvector | ( | const char * | chFile, |
vector< double > & | vec, | ||
bool * | lgError | ||
) |
input_readvector: read numbers from the file chFile and store them in a vector did an error occur reading the file?
input_readvector: read numbers from the file chFile and store them in a vector
chFile | file name to read from |
vec | vector - the numbers that were read from the input line(s) |
lgError | did an error occur reading the file? |
Definition at line 202 of file input.cpp.
References AS_LOCAL_ONLY, cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, fprintf(), ioQQQ, mode_r, and open_data().
Referenced by ParseGrid(), and ParseMonitorResults().
void input_readvector | ( | const char * | chFile, |
double | vector[], | ||
long | n, | ||
bool * | lgEOF | ||
) |
input_readvector: read n numbers from the file chFile and store them in vector[] was EOF reached before enough numbers were read?
input_readvector: read n numbers from the file chFile and store them in vector[]
chFile | file name to read from |
vector | vector[n] - the numbers that were read from the input line(s) |
n | number of elements in vector[] that we need to read |
lgEOF | was EOF reached before enough numbers were read? |
Definition at line 234 of file input.cpp.
References AS_LOCAL_ONLY, DEBUG_ENTRY, mode_r, and open_data().
bool lgInputComment | ( | const char * | chLine | ) |
lgInputComment - parse comment - check if argument is comment string, either upper or lower case - returns true if line is a comment, false if not a comment is any line starting with "C ", *, %, //, or #
*chLine | the input line string |
Definition at line 31 of file input.cpp.
References DEBUG_ENTRY, and TotalInsanity().
Referenced by cdMain(), cdRead(), Parser::isComment(), and ParseInit().
t_input input |
Definition at line 12 of file input.cpp.
Referenced by abund_starburst(), cdDrive(), cdErrors(), cdInit(), cdMain(), cdPrintCommands(), cdRead(), database_readin(), Parser::getline(), grid_do(), diatomics::H2_CollidRateRead(), diatomics::H2_Read_hminus_distribution(), diatomics::H2_Read_LTE_cooling_per_H2(), diatomics::H2_ReadDissocEnergies(), diatomics::H2_ReadDissprob(), diatomics::H2_ReadEnergies(), diatomics::H2_ReadTransprob(), IterRestart(), lgOptimize_do(), open_abn_file(), optimize_func(), ParseAgn(), ParseBlackbody(), ParseBremsstrahlung(), ParseCommands(), ParseConstant(), ParseCoronal(), ParseCosmicRays(), ParseDarkMatter(), ParseDatabaseISO(), ParseDistance(), ParseDLaw(), ParseElement(), ParseEnergy(), ParseFill(), ParseFudge(), ParseGlobule(), ParseGrain(), ParseHDEN(), ParseHExtra(), ParseIlluminate(), ParseInit(), ParseInitCount(), ParseIntensity(), ParseInterp(), ParseIonPar(), ParseLuminosity(), ParseMagnet(), ParseMetal(), ParseNorm(), ParsePhi(), ParsePowerlawContinuum(), ParseQH(), ParseRadius(), ParseRatio(), ParseSave(), ParseSet(), ParseStop(), ParseTable(), ParseTitle(), ParseTLaw(), ParseTurbulence(), pltr(), PrintSpectrum(), PrtComment(), PrtFinal(), SaveLineIntensity(), SaveResults(), ShowMe(), vary_input(), and writeCloudyDetails().
const int NKRD = 4000 |
limit to number of line images that can be read in
Definition at line 12 of file input.h.
Referenced by cdInit(), cdRead(), t_input::init(), ParseInit(), and t_input::readarray().