/home66/gary/public_html/cloudy/c08_branch/source/input.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  t_input

Defines

#define NKRD   4000

Functions

void input_init (void)
bool lgInputComment (const char *chLine)
void input_readarray (char *chCard, bool *lgEOF)

Variables

EXTERN struct t_input input


Define Documentation

#define NKRD   4000

limit to number of line images that can be read in

Definition at line 10 of file input.h.

Referenced by cdInit(), cdRead(), input_init(), input_readarray(), and ParseInit().


Function Documentation

void input_init ( void   ) 

called when 'init' command hit, to reset counters for placing line images within the storage array

Definition at line 61 of file input.cpp.

References DEBUG_ENTRY, input, t_input::iReadWay, NKRD, t_input::nRead, and t_input::nReadSv.

Referenced by PunLineIntensity(), and punResults().

void input_readarray ( char *  chCard,
bool *  lgEOF 
)

get the next input command off the command stack if more then copy into chCard and set lgEOF false, if all command processed then set lgEOF true

Parameters:
*chCard the input line string
*lgEOF true if hit end of file

Definition at line 89 of file input.cpp.

References caps(), t_input::chCARDCAPS, t_input::chCardSav, t_input::chOrgCard, DEBUG_ENTRY, input, ioQQQ, t_input::iReadWay, t_trace::lgTrace, NKRD, t_input::nRead, t_input::nReadSv, t_input::nSave, t_input::nSaveIni, and trace.

Referenced by GetOptColDen(), GetOptLineInt(), GetOptTemp(), ParseAbundances(), ParseDLaw(), ParseDynaTime(), ParseElement(), ParseInterp(), ParseTLaw(), PrtLineSum(), punch_average(), punch_colden(), punch_line(), Punch_Line_RT(), PunLineIntensity(), and punResults().

Here is the call graph for this function:

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 #

Parameters:
*chLine the input line string

Definition at line 16 of file input.cpp.

References DEBUG_ENTRY, and TotalInsanity().

Referenced by cdRead(), main(), ParseAbundances(), ParseInit(), and ParseInterp().

Here is the call graph for this function:


Variable Documentation

EXTERN struct t_input input

Referenced by abund_starburst(), cdDrive(), cdErrors(), cdInit(), cdPrintCommands(), cdRead(), GetOptLineInt(), GetQuote(), input_init(), input_readarray(), main(), ParseAssertResults(), ParseCommands(), ParseCompile(), ParseConstant(), ParseCoronal(), ParseCosmicRays(), ParseGlobule(), ParseGrain(), ParseHDEN(), ParseInit(), ParseInterp(), ParseIonPar(), ParseMagnet(), ParseNorm(), ParsePowerlawContinuum(), ParsePunch(), ParseRadius(), ParseRatio(), ParseSet(), ParseStop(), ParseTest(), pltr(), PrtComment(), PrtFinal(), PrtLineSum(), punch_average(), punch_line(), ShowMe(), vary_input(), and writeCloudyDetails().


Generated on Mon Feb 16 12:07:37 2009 for cloudy by  doxygen 1.4.7