-
Notifications
You must be signed in to change notification settings - Fork 16
/
mps_snesim_tree.cpp
36 lines (31 loc) · 1.12 KB
/
mps_snesim_tree.cpp
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
// (c) 2015-2020 I-GIS (www.i-gis.dk) and Thomas Mejer Hansen ([email protected])
//
// This file is part of MPSlib.
//
// MPSlib is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// MPSlib is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with MPSlib (COPYING.LESSER). If not, see <http://www.gnu.org/licenses/>.
//
#include <iostream>
#include "SNESIMTree.h"
//#include "IO.h"
int main(int argc, char* argv[]) {
std::string parameterFile;
if (argc>1) {
parameterFile = argv[1];
} else {
parameterFile = "mps_snesim.txt";
}
MPS::SNESIMTree aSimulation(parameterFile);
aSimulation.startSimulation();
return 0;
}