cloudy
trunk
|
#include <warnings.h>
Public Member Functions | |
const char * | chName () const |
void | zero (void) |
void | comment (t_warnings &) |
void | warnin (const char *chLine) |
void | notein (const char *chLine) |
void | bangin (const char *chLine) |
void | caunin (const char *chLine) |
Public Member Functions inherited from module | |
module () | |
virtual | ~module () |
Data Fields | |
long int | nwarn |
long int | ncaun |
long int | nnote |
long int | nbang |
char | chRgcln [2][INPUT_LINE_LENGTH] |
char | chWarnln [LIMWCN][INPUT_LINE_LENGTH] |
char | chCaunln [LIMWCN][INPUT_LINE_LENGTH] |
char | chNoteln [LIMWCN][INPUT_LINE_LENGTH] |
char | chBangln [LIMWCN][INPUT_LINE_LENGTH] |
bool | lgWarngs |
bool | lgCautns |
Definition at line 15 of file warnings.h.
void t_warnings::bangin | ( | const char * | chLine | ) |
bangin called by routine comment to enter surprise into comment stack
*chLine |
Definition at line 73 of file warnings.cpp.
References chBangln, DEBUG_ENTRY, fprintf(), ioQQQ, LIMWCN, and nbang.
Referenced by bangin(), t_broke::comment(), and t_ionbal::comment().
void t_warnings::caunin | ( | const char * | chLine | ) |
caunin called by comment to enter caution into comment stack
*chLine |
Definition at line 96 of file warnings.cpp.
References chCaunln, DEBUG_ENTRY, fprintf(), ioQQQ, LIMWCN, and ncaun.
Referenced by caunin(), and t_ionbal::comment().
|
inlinevirtual |
Implements module.
Definition at line 17 of file warnings.h.
|
inlinevirtual |
Implements module.
Definition at line 24 of file warnings.h.
void t_warnings::notein | ( | const char * | chLine | ) |
notein enter a note about calculation into comment array
*chLine |
Definition at line 50 of file warnings.cpp.
References chNoteln, DEBUG_ENTRY, fprintf(), ioQQQ, LIMWCN, and nnote.
Referenced by t_ionbal::comment(), and notein().
void t_warnings::warnin | ( | const char * | chLine | ) |
warnin enter warnings at the end of the calculations into large stack
*chLine |
Definition at line 27 of file warnings.cpp.
References chWarnln, DEBUG_ENTRY, fprintf(), ioQQQ, LIMWCN, and nwarn.
Referenced by t_broke::comment(), and warnin().
|
virtual |
wcnint initialize stack or warnings, cautions, notes
Implements module.
Definition at line 13 of file warnings.cpp.
References DEBUG_ENTRY, nbang, ncaun, nnote, and nwarn.
Referenced by BadStart(), and PrtComment().
char t_warnings::chBangln[LIMWCN][INPUT_LINE_LENGTH] |
Definition at line 38 of file warnings.h.
Referenced by bangin(), and cdSurprises().
char t_warnings::chCaunln[LIMWCN][INPUT_LINE_LENGTH] |
Definition at line 38 of file warnings.h.
Referenced by caunin(), and cdCautions().
char t_warnings::chNoteln[LIMWCN][INPUT_LINE_LENGTH] |
Definition at line 38 of file warnings.h.
char t_warnings::chRgcln[2][INPUT_LINE_LENGTH] |
a comment about the geometry after model stops
Definition at line 34 of file warnings.h.
Referenced by BadStart(), cdReasonGeo(), and PrtComment().
char t_warnings::chWarnln[LIMWCN][INPUT_LINE_LENGTH] |
these are the strings that contain the warnings, cautions, and notes about the calculation
Definition at line 38 of file warnings.h.
Referenced by cdWarnings(), and warnin().
bool t_warnings::lgCautns |
Definition at line 44 of file warnings.h.
Referenced by PrtComment(), and PrtFinal().
bool t_warnings::lgWarngs |
flags set if warnings or cautions present
Definition at line 44 of file warnings.h.
Referenced by cloudy(), PrtComment(), PrtFinal(), and SaveGrid().
long int t_warnings::nbang |
Definition at line 28 of file warnings.h.
Referenced by bangin(), cdNwcns(), cdSurprises(), and zero().
long int t_warnings::ncaun |
Definition at line 28 of file warnings.h.
Referenced by caunin(), cdCautions(), cdNwcns(), ShowMe(), and zero().
long int t_warnings::nnote |
long int t_warnings::nwarn |
this are counters for the number of warnings, cautions, notes and surprises in the calculation
Definition at line 28 of file warnings.h.
Referenced by cdNwcns(), cdWarnings(), ShowMe(), warnin(), and zero().