Toggle navigation
Open-FVS
Dashboard
Settings
Profile
Help
Main Page
Modules
Data Types List
Files
File List
File Members
fire
fofem
src
fof_se.h
Go to the documentation of this file.
1
//
2
// $Id$
3
//
4
/*{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}
5
* Name: fof_se.h
6
* Desc: Soil Exp Simulation
7
*
8
{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}*/
9
10
/*.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.*/
11
/* SE - Soil Exp Input Data (non-duff) */
12
typedef
struct
{
13
char
cr_Name[50];
/* Soil Type Name */
14
int
i_starttime
;
/* starttime-time from simulation start to fire on - min */
15
int
i_burntime
;
/* burntime-time from sim start to fire off - min */
16
int
i_cooltime
;
/* cooltime-time from start to end of simulation */
17
REAL
r_maxRabs
;
/* maxrabs-maximum radiant heat input to surface */
18
int
i_heatconst
;
/* heatconst-time constant for heating, minutes */
19
int
i_coolconst
;
/* coolconst-time constant for cooling, minutes */
20
REAL
r_bd
;
/* bd-soil bulk density - g/m3 */
21
REAL
r_pd
;
/* pd-soil particle density - g/m3 */
22
REAL
r_xo
;
/* xo-extrapolated water cont. at -1 J/kg */
23
REAL
r_ls
;
/* ls-thermal conductivity of mineral fraction */
24
REAL
r_ga
;
/* ga-de Vries shape factor */
25
REAL
r_xwo
;
/* xwo-water content for liquid recirculation */
26
REAL
r_cop
;
/* cop-power for recirculation function */
27
int
i_dt
;
/* dt-time step - s */
28
REAL
r_startwc
;
/* startwc-starting soil water content - m3/m3 */
29
REAL
r_starttemp
;
/* starttemp-starting soil temperatue - C */
30
31
/* Layer and Display arrays, */
32
/* This get initalized before going into simulation, they tell the simulatn */
33
/* they define what the layers are and if it is to be outputed */
34
/* See where they get iniialized, */
35
REAL
rr_z
[
e_mplus1
+1];
/* Layer */
36
REAL
rr_node[
e_mplus1
+1];
/* 1 = Display, 0 = No Display */
37
38
}
d_SE
;
39
40
41
42
43
int
SE_Init
(
d_SI
*a_SI,
d_SE
*a_SE,
char
cr_ErrMes[]);
44
int
SE_Mngr
(
d_SE
*a_SE,
char
cr_TmpFN[],
char
cr_ErrMes[]);
45
void
SE_Disp
(
d_SE
*a_SE);
REAL
#define REAL
Definition:
fof_sh.h:20
d_SE::i_burntime
int i_burntime
Definition:
fof_se.h:15
d_SE::i_starttime
int i_starttime
Definition:
fof_se.h:14
d_SE::r_starttemp
REAL r_starttemp
Definition:
fof_se.h:29
d_SE::r_maxRabs
REAL r_maxRabs
Definition:
fof_se.h:17
d_SI
Definition:
fof_sh.h:37
d_SE::r_ls
REAL r_ls
Definition:
fof_se.h:23
d_SE::i_dt
int i_dt
Definition:
fof_se.h:27
d_SE
Definition:
fof_se.h:12
d_SE::i_heatconst
int i_heatconst
Definition:
fof_se.h:18
d_SE::r_bd
REAL r_bd
Definition:
fof_se.h:20
SE_Mngr
int SE_Mngr(d_SE *a_SE, char cr_TmpFN[], char cr_ErrMes[])
Definition:
fof_se.c:52
d_SE::r_xwo
REAL r_xwo
Definition:
fof_se.h:25
d_SE::r_cop
REAL r_cop
Definition:
fof_se.h:26
SE_Init
int SE_Init(d_SI *a_SI, d_SE *a_SE, char cr_ErrMes[])
Definition:
fof_se.c:177
d_SE::r_pd
REAL r_pd
Definition:
fof_se.h:21
d_SE::r_startwc
REAL r_startwc
Definition:
fof_se.h:28
SE_Disp
void SE_Disp(d_SE *a_SE)
e_mplus1
#define e_mplus1
Definition:
fof_sh.h:32
d_SE::i_cooltime
int i_cooltime
Definition:
fof_se.h:16
rr_z
REAL rr_z[e_mplus1+1]
Definition:
fof_soi.c:54
d_SE::r_ga
REAL r_ga
Definition:
fof_se.h:24
d_SE::i_coolconst
int i_coolconst
Definition:
fof_se.h:19
d_SE::r_xo
REAL r_xo
Definition:
fof_se.h:22