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

#include "cddefines.h"
#include "trace.h"
#include "input.h"

Include dependency graph for input.cpp:

Go to the source code of this file.

Functions

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


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:


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