/* warnings.h */ /*wcnint initialize stack or warnings, cautions, notes */ void wcnint(void); /*warnin enter warnings at the end of the calculations into large stack */ void warnin(char *chLine); /*notein enter a note about calculation into comment array */ void notein(char *chLine); /*bangin called by routine comment to enter surprise into comment stack */ void bangin(char *chLine); /*caunin called by comment to enter caution into comment stack */ void caunin(char *chLine); /* this is the limit to the number of warnings, cautions, and * notes that we can save */ #define LIMWCN 100 EXTERN struct t_wcnln { /* this are counters for the number of warnings, * cautions, notes and surprises in the calculation*/ long int nwarn, ncaun, nnote, nbang; /* a comment about the geometry after model stops */ char chRgcln[2][133]; /* these are the strings that contain the warnings, cautions, * and notes about the calculation */ char chWarnln[LIMWCN][133], chCaunln[LIMWCN][133], chNoteln[LIMWCN][133], chBangln[LIMWCN][133]; } warnings;