fof_gen.h
Go to the documentation of this file.
1 //
2 // $Id$
3 //
4 /*{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}
5 * Name: fir_gen.h
6 * Desc: general defines that get shared by Fofem and Batch Fofem
7 * Date: 2/15/98
8 {*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{**/
9 
10 #define eC_PthFil 200 /* length of all path/file names */
11 
12 
13 /* Project file name used to dump a project file when burnup does a divide */
14 /* by zero exception error */
15 #define e_CrashSave_FN "FofemDump.prj"
16 
17 
18 /*File Name for the input file which comes from the Log Transect program */
19 #define e_FofLog_FN "~foflog.tmp"
20 
21 /*.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.*/
22 /* Fofem Input Data File Names */
23 #define e_FN_SAF "FOF_SAF.DAT" /* SAF Cover/Fuel */
24 #define e_FN_NVCS "FOF_NVCS.DAT" /* MVCS Cover/Fuel */
25 #define e_FN_FCC "FOF_FCC.DAT" /* FCC Cover/Fuel file */
26 #define e_SPP_FN "FOF_SPP.DAT" /* Species File */
27 #define e_Hlp_FN "fof_help.dat" /* Help text file */
28 
29 
30 /*.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.*/
31 /* Soil File Names/extensions */
32 
33 #define e_DSI_FNin "~dufsim.tmp" /* temp input for Duff Sim */
34 #define e_EID_FNin "~expheat.tmp" /* temp input for Exp Heat */
35 
36 #define e_SPt_FN "~Soilpts.tmp" /* Duff & Exp sims can output this */
37 
38 #define e_SoiPtFN "SoilPts" /* Default File Name & Ext used when */
39 #define e_SoiPtExt "txt" /* User Saves the Points File */
40 
41 /* NOTE - make sure you keep the file extensions the same....................*/
42 /* as those use in the Sample File Names */
43 #define e_SoilDufExt "duf" /* Ext user input file soil Duff Sim */
44 #define e_SoilExpExt "exp" /* Ext user input file soil Exp Heat */
45 #define e_Sample_Duff "Sample.duf" /* names user to create sample files */
46 #define e_Sample_Exp "Sample.exp"
47 
48 /*.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.*/
49 /* Burnup File Names/Extnesions */
50 #define e_BurTmpIn_FN "~brnup.tmp" /* temp input file for burnup */
51 #define e_BrnAmtExt "Amt" /* Amount & Time/Heat file ext. */
52 #define e_BrnHeaExt "hea" /* out file when using user in file */
53 #define e_BrnExt "brn" /* User Option Input file ext */
54 
55 #define e_BrnTmpAmt "~brn.amt" /* 'outfile' in 'BurnUp::Summary' */
56 #define e_BrnTmpHea "~brn.hea" /* 'histfile' in 'BurnUp::Stash' */
57 
58 
59 #define e_BrnEmi "Emission" /* def fil nam for saving Emissn File*/
60 #define e_BrnEmiExt "txt" /* the fil nam extension */
61 
62 
63 /* Used to dump Mortaliyt user species out and read back in to format in Wnd */
64 #define e_TmpMor "~mor.tmp"
65 
66 
67 
68 /*.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.*/
69 #define e_PrjExt "prj" /* Project file extension */
70 #define e_RptExt "rpt" /* report file extension */
71 
72 /*.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- */
73 /* Graph Enhanced Meta File Names/Extension */
74 #define e_GraSoilFN "~Soilmf.tmp" /* temp files created when drawing */
75 #define e_GraMortFN "~Mortmf.tmp" /* graphs */
76 #define e_GraFuelFN "~Fuelmf.tmp"
77 #define e_GraSmokFN "~Smokmf.tmp"
78 #define e_EMFExt "emf" /* ext when user saves graph meta fil*/
79 
80 /*.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- */
81 /* This file name is used with the t_DeleteFile function */
82 /* see the comments in the function */
83 #define e_TestFN "~fofem"
84 
85 /*.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- */
86 /* Sample Batch Input File Names */
87 /* These are used when use does the menu option to create sample input */
88 /* files that can be used as with the Batcth Input option */
89 #define e_SIB_Soil "Soil-In.txt"
90 #define e_SIB_ConE "ConE-In.txt"
91 #define e_SIB_Mort "Mort-In.txt"
92 
93 /*.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- */
94 
95 int copyfile (char cr_From[], char cr_To[]);
96 
97 void t_DeleteFile (char cr_FN[]);
98 
99 int Error_Window (char cr_Mess[], char cr_Function[]);
100 int Warning_Window (char cr_Mess[], char cr_Function[]);
101 int Info_Window (char cr_Mess[],char cr_Function[]);
102 void MM_Clear (void);
103 int MM_isMess (void);
104 void GetDate (char cr_Date[]);
105 void xstrupr (char cr[]);
106 
107 int Win_CrashSave (void);
int Info_Window(char cr_Mess[], char cr_Function[])
int Error_Window(char cr_Mess[], char cr_Function[])
void MM_Clear(void)
int copyfile(char cr_From[], char cr_To[])
void xstrupr(char cr[])
Definition: fof_unix.c:51
void t_DeleteFile(char cr_FN[])
int Win_CrashSave(void)
int Warning_Window(char cr_Mess[], char cr_Function[])
void GetDate(char cr_Date[])
int MM_isMess(void)