6{
7 try {
8
10
11
13
14
15 model.run();
16
17 return 0;
18 }
19 catch (std::exception& e) {
20 std::cerr << e.what() << std::endl;
21 }
22 catch (...) {
23 std::cerr << "Exception occurred!" << std::endl;
24 return 1;
25 }
26}
A very simple vegetation model.
Definition Vegetation.hh:38
A class to use at the top level of the model hierarchy as a mock parent.
Definition model.hh:1017