-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsimulation.h
53 lines (44 loc) · 1.21 KB
/
simulation.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
42
43
44
45
46
47
48
49
50
51
52
53
#ifndef WILDLAND_FIRESIM_SIMULATION_H
#define WILDLAND_FIRESIM_SIMULATION_H
#include <iostream>
#include <string>
#include "utility.h"
#include "globals.h"
#include "WFS_landscape.h"
#include "WFS_fireweather.h"
#include "fire.h"
#include "WFS_output.h"
namespace wildland_firesim{
/*!
* \brief The Simulation class
* contains function to simulate fire within a landscape either with static weather conditions or a
* weather simulation.
*/
class Simulation
{
public:
Simulation();
Month stringToMonth(std::string m);
/*!
* \brief runSimulation
* runs the simulation and logs output data.
* \param landscape
* \param weather
* \param output
*/
void runSimulation(WFS_Landscape *landscape, const FireWeatherVariables &weather,
FireWeather weathersim, Output *output);
int numberOfRuns;
int maxFireDuration;
bool simulateFireWeather;
bool importLandscape;
bool igniteCentralVertex;
Month whichMonth;
int timestepLength;
float timeScalingFactor;
std::string nameOfMeteorologicalParameterFile;
std::string nameOfLandscapeParameterFile;
Fire fire;
};
} // namespace wildland_firesim
#endif // WILDLAND_FIRESIM_SIMULATION_H