-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathST_spinup.h
41 lines (30 loc) · 1.05 KB
/
ST_spinup.h
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
/**
* \file ST_spinup.h
* \brief Defines the exported functions from the [spinup](\ref SPINUP) module.
*
* Spinup is a way to allow species to establish and grow before the actual
* simulation begins. Basically, it performs the same tasks as \ref runGrid
* except without [seed dispersal](\ref SEED_DISPERSAL),
* [grazing](\ref grazing_EndOfYear) or [fire](\ref mort_EndOfYear).
*
* Spinup is currently only available for [gridded mode](\ref GRID).
*
* \author Chandler Haukap
* \date August 2019
* \ingroup SPINUP
*/
#ifndef SPINUP_H
#define SPINUP_H
/* This module only functions in the context of gridded mode. */
#include "ST_grid.h"
/* =================================================== */
/* Externed Global Variables */
/* --------------------------------------------------- */
extern CellType** spinupCells;
extern Bool shouldSpinup;
extern Bool DuringSpinup;
/********** Exported functions defined in ST_spinup.c ***********/
void runSpinup(void);
void loadSpinupConditions(void);
void freeSpinupMemory(void);
#endif