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

Go to the source code of this file.

Data Structures

struct  t_input

Defines

#define NKRD   4000

Functions

bool lgInputComment (const char *chLine)
void input_readvector (const char *chFile, double vector[], long n, 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(), t_input::init(), ParseInit(), and t_input::readarray().


Function Documentation

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[]

Parameters:
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 187 of file input.cpp.

References AS_LOCAL_ONLY, DEBUG_ENTRY, mode_r, and open_data().

Referenced by ParseMonitorResults().

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 cdMain(), cdRead(), Parser::isComment(), and ParseInit().

Here is the call graph for this function:


Variable Documentation

EXTERN struct t_input input
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 15 Nov 2012 for cloudy by  doxygen 1.6.1