13 #define e_ComEffFla 0.97
14 #define e_ComEffSmo 0.67
18 #define e_tpig_adj 273.0
19 #define e_tchar_adj 273.0
39 #define e_wdf1 (double) 0.1
43 #define e_wdf2 (double) 80.0
47 #define e_dfm1 (double) 0.1
48 #define e_dfm2 (double) 1.972
50 #define e_fms1 (double) 0.01
51 #define e_fms2 (double) 3.0
56 #define e_small (double) 1.e-08
57 #define e_big (double) 1.e+06
62 #define e_MAX_TIMES 3000
63 #define e_INTENSITY 50.00
64 #define e_IG_TIME 60.00
65 #define e_WINDSPEED 0.00
67 #define e_AMBIENT_TEMP 27.00
70 #define e_TIMESTEP 15.00
74 #define e_SURat_Lit 8200.0
75 #define e_SURat_DW1 1480.0
76 #define e_SURat_DW10 394.0
77 #define e_SURat_DW100 105.0
78 #define e_SURat_DWk_3_6 39.4
79 #define e_SURat_DWk_6_9 21.9
80 #define e_SURat_DWk_9_20 12.7
81 #define e_SURat_DWk_20 5.91
97 #define e_SoundFmt "1 %2d %13.8f 18600.0 %5.3f 513.0 %7.2f 2750.0 0.133 327.0 377.0 0.05\n"
98 #define e_RottenFmt "1 %2d %13.8f 18600.0 %5.3f 224.0 %7.2f 2750.0 0.133 302.0 377.0 0.05\n"
103 #define e_htval 18600.0
104 #define e_Snd_dendry 513.0
105 #define e_Rot_dendry 224.0
106 #define e_cheat 2750.0
107 #define e_condry 0.133
108 #define e_Snd_tpig 327.0
109 #define e_Rot_tpig 302.0
110 #define e_tchar 377.0
130 #define MAXKL (MAXNO * ( MAXNO + 1 ) / 2 + MAXNO )
157 int BRN_Run_UIF (
char cr_InFN[],
char cr_Err[],
float f_DufConPerCent,
158 char cr_LoadFN[],
char cr_HeatFN[],
float f_BrnCon);
159 int BRN_Run (
char cr_LoadFN[],
char cr_HeatFN[],
float f_DufConPerCent,
float f_BrnCon,
char cr_ErrMes[]);
165 void BRN_SetFireDat (
long NumIter,
double Fi,
double Ti,
double U,
double D,
double Tamb,
166 double R0,
double Dr,
double Dt,
double Wdf,
double Dfm);
169 int BRN_SetFuel (
int *aiX,
char cr_SR[],
float f_Load,
float f_Moist,
float f_Sigma);
174 int BurnupNone (
char cr_HeatFN[],
float f_Con );
177 long loc (
long k,
long l);
178 double func (
double h,
double theta);
179 double ff (
double x,
double tpfi,
double tpig);
180 int Start(
double tis,
long now,
long *ncalls,
double *ad_Con);
183 double DryTime(
double enu,
double theta);
184 int Stash(
char *HistFile,
double tis,
long now);
186 double TIgnite(
double tpdr,
double tpig,
double tpfi,
double cond,
double chtd,
double fmof,
double dend,
double hbar);
187 double TempF(
double q,
double r);
188 void HeatExchange (
double dia,
double tf,
double ts,
double *hfm,
double *hbar,
double cond,
double *en);
190 float f_DufConPerCent,
double *ad_Duf_CPTS);
191 void Step (
double dt,
double tin,
double fid,
long *ncalls,
double *ad_Con);
192 int Summary (
char *OutFile,
char cr_ErrMes[]);
193 long Nint(
double input);
197 double pow2(
double input);
238 int ES_Calc (
d_ES *a_ES,
double d_WooLit,
double d_Duff,
double d_HSFB,
239 double d_pcSmo,
double d_time);
264 void Save_SGV (
d_ES *a_ES,
double d_time,
double d_FirInt);
265 double Get_Cons (
double d_old,
double d_new);
266 double Duff_CPTS (
double *ad_Duf_Tot,
double d_Duf_Sec,
double d_NumSec);
268 void Bur_Error (
char cr_Err[],
char cr1[],
char cr_Line[]);
int BurnupNone(char cr_HeatFN[], float f_Con)
double d_FlaCon
Definition: bur_brn.h:202
long loc(long k, long l)
Definition: bur_brn.c:926
double ff(double x, double tpfi, double tpig)
Definition: bur_brn.c:951
float ES_CH4S(void)
Definition: bur_brn.c:1724
int EFM_Open(char cr_FN[])
Definition: bur_brn.c:1778
int i_TIMESTEP
Definition: bur_brn.h:144
double dN_SOXF
Definition: bur_brn.h:223
double d_FlaDur
Definition: bur_brn.h:234
float ES_SmoCon(void)
Definition: bur_brn.c:1734
void Heat_Heading(FILE *fh)
Definition: bur_brn.c:1477
float ES_CH4F(void)
Definition: bur_brn.c:1716
float ES_PM25S(void)
Definition: bur_brn.c:1723
int EFM_Write(d_ES *a_ES, double d_Time, double d_FirInt)
Definition: bur_brn.c:1812
float ES_COF(void)
Definition: bur_brn.c:1717
float ES_CO2F(void)
Definition: bur_brn.c:1718
int BRN_Run_UIF(char cr_InFN[], char cr_Err[], float f_DufConPerCent, char cr_LoadFN[], char cr_HeatFN[], float f_BrnCon)
double TIgnite(double tpdr, double tpig, double tpfi, double cond, double chtd, double fmof, double dend, double hbar)
Definition: bur_brn.c:979
double func(double h, double theta)
Definition: bur_brn.c:1844
double dN_SmoCon
Definition: bur_brn.h:206
double dN_FlaCon
Definition: bur_brn.h:205
double d_SOX
Definition: bur_brn.h:214
double dN_PM25F
Definition: bur_brn.h:217
void Bur_Error(char cr_Err[], char cr1[], char cr_Line[])
Definition: bur_brn.c:1936
double d_SmoCon
Definition: bur_brn.h:203
double dN_COF
Definition: bur_brn.h:219
void CalculateEmissions(int i_Fst)
double pow2(double input)
Definition: bur_brn.c:1838
Definition: bur_brn.h:201
int i_AMBIENT_TEMP
Definition: bur_brn.h:141
float ES_FlaDur(void)
Definition: bur_brn.c:1730
int Bur_ChkArgs(char cr_Line[])
Definition: bur_brn.c:1905
double Get_Cons(double d_old, double d_new)
Definition: bur_brn.c:1555
void Step(double dt, double tin, double fid, long *ncalls, double *ad_Con)
Definition: bur_brn.c:423
void bstrupr(char cr[])
Definition: bur_brn.c:2017
float ES_NOXF(void)
Definition: bur_brn.c:1719
void HeatExchange(double dia, double tf, double ts, double *hfm, double *hbar, double cond, double *en)
Definition: bur_brn.c:1333
float ES_SmoDur(void)
Definition: bur_brn.c:1731
int i_DEPTH
Definition: bur_brn.h:140
double d_CO
Definition: bur_brn.h:212
double d_CO2
Definition: bur_brn.h:211
float ES_FlaCon(void)
Definition: bur_brn.c:1733
long Nint(double input)
Definition: bur_brn.c:936
float ES_PM25F(void)
Definition: bur_brn.c:1715
double dN_PM10F
Definition: bur_brn.h:221
double dN_PM10S
Definition: bur_brn.h:229
void BRN_Init(void)
Definition: bur_brn.c:724
float ES_COS(void)
Definition: bur_brn.c:1725
int Stash(char *HistFile, double tis, long now)
Definition: bur_brn.h:135
double tpig[MAXNO]
Definition: bur_brn.c:32
float ES_PM10F(void)
Definition: bur_brn.c:1714
int BRN_ChkSwi(char cr[])
Definition: bur_brn.c:1953
float ES_SOXS(void)
Definition: bur_brn.c:1728
double wdf
Definition: bur_brn.c:27
int i_DUFF_LOAD
Definition: bur_brn.h:145
double d_SmoDur
Definition: bur_brn.h:235
double FireIntensity(double *ad_pcSmoCon)
Definition: bur_brn.c:1374
double dN_SOXS
Definition: bur_brn.h:231
void CFF_Init(d_CFF *a_CFF)
Definition: bur_brn.c:1997
double dN_CH4F
Definition: bur_brn.h:218
int Start(double tis, long now, long *ncalls, double *ad_Con)
Definition: bur_brn.c:190
float ES_PM10S(void)
Definition: bur_brn.c:1722
double DryTime(double enu, double theta)
Definition: bur_brn.c:1451
int Summary(char *OutFile, char cr_ErrMes[])
int i_MAX_TIMES
Definition: bur_brn.h:136
int BRN_Run(char cr_LoadFN[], char cr_HeatFN[], float f_DufConPerCent, float f_BrnCon, char cr_ErrMes[])
Definition: bur_brn.c:90
void Arrays(void)
Definition: bur_brn.c:1029
double dN_NOXF
Definition: bur_brn.h:222
double d_PM25
Definition: bur_brn.h:208
int i_dr
Definition: bur_brn.h:143
double dN_COS
Definition: bur_brn.h:227
double dN_CH4S
Definition: bur_brn.h:226
double Duff_CPTS(double *ad_Duf_Tot, double d_Duf_Sec, double d_NumSec)
Definition: bur_brn.c:1573
int BRN_ReadInFil(char cr_FN[], char cr_Err[])
Definition: bur_brn.c:2120
double d_NOX
Definition: bur_brn.h:213
double d_PM10
Definition: bur_brn.h:209
double dfm
Definition: bur_brn.c:27
double dN_PM25S
Definition: bur_brn.h:225
double d_CH4
Definition: bur_brn.h:210
int i_r0
Definition: bur_brn.h:142
void Sorter(void)
Definition: bur_brn.c:1170
float BRN_Intensity(float f_Con)
Definition: bur_brn.c:1859
double dt
Definition: bur_brn.c:27
real, dimension(mxsnag) dend
Definition: fmcom_mod.f90:251
int i_INTENSITY
Definition: bur_brn.h:137
float ES_SOXF(void)
Definition: bur_brn.c:1720
int CFF_ChkAll(d_CFF *a_CFF)
Definition: bur_brn.c:1976
float ES_CO2S(void)
Definition: bur_brn.c:1726
double dN_CO2S
Definition: bur_brn.h:228
int i_WINDSPEED
Definition: bur_brn.h:139
float ES_NOXS(void)
Definition: bur_brn.c:1727
void OverLaps(void)
Definition: bur_brn.c:1255
int i_DUFF_MOIST
Definition: bur_brn.h:146
int BRN_CheckData(char cr_ErrMes[])
Definition: bur_brn.c:767
void EFM_Close(void)
Definition: bur_brn.c:1796
int ES_Calc(d_ES *a_ES, double d_WooLit, double d_Duff, double d_HSFB, double d_pcSmo, double d_time)
Definition: bur_brn.c:1619
double dN_NOXS
Definition: bur_brn.h:230
double dN_CO2F
Definition: bur_brn.h:220
void Save_SGV(d_ES *a_ES, double d_time, double d_FirInt)
Definition: bur_brn.c:1881
void BRN_SetFireDat(long NumIter, double Fi, double Ti, double U, double D, double Tamb, double R0, double Dr, double Dt, double Wdf, double Dfm)
Definition: bur_brn.c:904
int BRN_SetFuel(int *aiX, char cr_SR[], float f_Load, float f_Moist, float f_Sigma)
Definition: bur_brn.c:2049
void DuffBurn(double wdf, double dfm, double *dfi, double *tdf, float f_DufConPerCent, double *ad_Duf_CPTS)
Definition: bur_brn.c:1512
double TempF(double q, double r)
Definition: bur_brn.c:1130
void ES_Init(d_ES *a_ES)
Definition: bur_brn.c:1741
int i_IG_TIME
Definition: bur_brn.h:138