Cell2Fire
A large-scale forest fire simulator.
Loading...
Searching...
No Matches
FuelModelFBP.h
1
/* fbp.h -- header file for fbp program bmw
2
function prototypes and structures for fbp.c prog
3
nov/92
4
modified for version 4.3 of the code
5
Aug/2005 bmw
6
modified for version 4.5 of the code
7
Nov/2007 bmw
8
change of name for 5.0
9
*/
10
11
#if !defined(_FBPHEAD)
12
#define _FBPHEAD
13
14
#include "Cells.h"
15
#include <stdio.h>
16
17
float
grass(
fuel_coefs
* ptr,
float
cur,
float
isi,
float
* mu);
18
19
float
mixed_wood(
fuel_coefs
* ptr,
float
isi,
float
* mult,
int
pc);
20
21
float
ISF_mixedwood(
fuel_coefs
* ptr,
float
isz,
int
pc,
float
sf);
22
23
float
ISF_deadfir(
fuel_coefs
* ptr,
float
isz,
int
pdf,
float
sf);
24
25
float
dead_fir(
fuel_coefs
* ptr,
int
pdf,
float
isi,
float
* mult);
26
27
float
D2_ROS(
fuel_coefs
* ptr,
float
isi,
float
bui,
float
* mu);
28
29
float
conifer(
fuel_coefs
* ptr,
float
isi,
float
* mult);
30
31
float
bui_effect(
fuel_coefs
* ptr,
main_outs
* at,
float
bui);
32
33
float
ros_calc(
inputs
* inp,
fuel_coefs
* ptr,
float
isi,
float
* mu);
34
35
float
rate_of_spread
(
inputs
* inp,
fuel_coefs
* ptr,
main_outs
* at);
36
37
float
slope_effect(
inputs
* inp,
fuel_coefs
* ptr,
main_outs
* at,
float
isi);
38
39
float
surf_fuel_consump(
inputs
* inp);
40
41
float
fire_intensity(
float
fc,
float
ros);
42
43
void
setup_const(
fuel_coefs
* ptr);
44
45
char
get_fueltype_number(
fuel_coefs
** ptr,
char
ft[4]);
46
47
float
foliar_moisture(
inputs
* inp,
main_outs
* at);
48
49
float
crit_surf_intensity(
fuel_coefs
* ptr,
float
fmc);
50
51
float
critical_ros(
char
ft[3],
float
sfc,
float
csi);
52
53
int
fire_type(
float
csi,
float
sfi);
54
55
float
crown_frac_burn(
float
ros,
float
rso);
56
57
char
fire_description(
float
cfb);
58
59
float
final_ros(
inputs
* inp,
float
fmc,
float
isi,
float
cfb,
float
rss);
60
61
float
crown_consump(
inputs
* inp,
fuel_coefs
* ptr,
float
cfb);
62
63
float
foliar_mois_effect(
float
isi,
float
fmc);
64
65
float
l_to_b(
char
ft[3],
float
ws);
66
67
float
ffmc_effect(
float
ffmc);
68
69
float
backfire_ros(
inputs
* inp,
fuel_coefs
* ptr,
main_outs
* at,
float
bisi);
70
71
float
backfire_isi(
main_outs
* at);
72
73
float
area(
float
dt,
float
df);
74
75
float
perimeter(
fire_struc
* h,
fire_struc
* b,
snd_outs
* sec,
float
lb);
76
77
float
acceleration(
inputs
* inp,
float
cfb);
78
79
float
flankfire_ros(
float
ros,
float
bros,
float
lb);
80
81
float
spread_distance(
inputs
* inp,
fire_struc
* ptr,
float
accn);
82
83
float
flank_spread_distance(
84
inputs
* inp,
fire_struc
* ptr,
snd_outs
* sec,
float
hrost,
float
brost,
float
hd,
float
bd,
float
lb,
float
a);
85
86
int
time_to_crown(
float
ros,
float
rso,
float
a);
87
88
float
fire_behaviour(
inputs
* inp,
fuel_coefs
* ptr,
main_outs
* at,
fire_struc
* f);
89
float
flank_fire_behaviour(
inputs
* inp,
fuel_coefs
* ptr,
main_outs
* at,
fire_struc
* f);
90
91
void
set_all(
fire_struc
* ptr,
int
time);
92
93
void
calculate_fbp(
94
inputs
* data,
fuel_coefs
* ptr,
main_outs
* at,
snd_outs
* sec,
fire_struc
* hptr,
fire_struc
* fptr,
fire_struc
* bptr);
95
void
determine_destiny_metrics_fbp(
inputs
* data,
fuel_coefs
* pt,
main_outs
* metrics,
fire_struc
* metrics2);
96
void
zero_main(
main_outs
* m);
97
98
void
zero_sec(
snd_outs
* s);
99
100
void
zero_fire(
fire_struc
* a);
101
102
#endif
rate_of_spread
float rate_of_spread(inputs *inp, fuel_coefs *ptr, main_outs *at)
Computes the rate of spread (ROS) for a given fire scenario.
Definition
FuelModelFBP.cpp:440
fire_struc
Definition
Cells.h:56
fuel_coefs
Definition
Cells.h:38
inputs
Definition
Cells.h:29
main_outs
Definition
Cells.h:48
snd_outs
Definition
Cells.h:63
Cell2Fire
FuelModelFBP.h
Generated by
1.9.8