-
Notifications
You must be signed in to change notification settings - Fork 5
/
sxw_main.c
54 lines (43 loc) · 1.25 KB
/
sxw_main.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/**
* \file sxw_main.c
* \brief A deprecated testing file.
*
* This file exists only for reference. It is completely deprecated and will
* not compile. At some point it should be removed.
*
* \author CWB (initial coding)
* \date 25 October 2002
*/
/* =================================================== */
/* INCLUDES / DEFINES */
/* --------------------------------------------------- */
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include "ST_steppe.h"
#include "sw_src/include/myMemory.h"
#include "sxw_funcs.h"
/* for the chdir function */
#ifdef __BCC__
#include <dir.h>
#else
#include <unistd.h>
#endif
/************ External Variable Definitions ***************/
/* see ST_globals.h */
/***********************************************************/
SpeciesType **Species;
GroupType **RGroup;
SucculentType Succulent;
EnvType Env;
PlotType Plot;
ModelType Globals;
//FilesType Files;
BmassFlagsType BmassFlags;
MortFlagsType MortFlags;
/******************** Begin Code ***************************/
/***********************************************************/
void main( int argc, char **argv) {
Parms_Initialize( 0);
SXW_Init();
}