cloudy  trunk
Data Structures | Defines | Functions | Variables
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 ParseCommands(), 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:
*chCardthe input line string
*lgEOFtrue 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(), ParseCommands(), 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:
*chLinethe input line string

Definition at line 16 of file input.cpp.

References DEBUG_ENTRY, and TotalInsanity().

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

Here is the call graph for this function:


Variable Documentation

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated for cloudy by doxygen 1.7.6.1