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 (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 6 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 65 of file input.cpp.

References DEBUG_ENTRY, DEBUG_EXIT, 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:
*chCard the input line string
*lgEOF true if hit end of file

Definition at line 95 of file input.cpp.

References caps(), t_input::chCARDCAPS, t_input::chCardSav, t_input::chOrgCard, DEBUG_ENTRY, DEBUG_EXIT, input, ioQQQ, t_input::iReadWay, t_trace::lgTraceInput, 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 ( 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, DEBUG_EXIT, and TotalInsanity().

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

Here is the call graph for this function:


Variable Documentation

EXTERN struct t_input input


Generated for cloudy by doxygen 1.5.9