Commit 5354ab53 authored by niklas.baumgarten's avatar niklas.baumgarten
Browse files

removed dpo object - start from here to order new startup process

parent a075d955
#include "m++.h"
#include "MainProgram.hpp"
#include "Parallel.h"
#ifdef COMPLEX
......@@ -7,11 +7,23 @@
#endif
int main(int argc, char **argv) {
PPM = new ParallelProgrammingModel(&argc, argv);
logging = new Logging;
Config::setSearchPath("../mlmc/");
Config::setConfigFileName("m++.conf");
DPO dpo(&argc, argv);
Config::setLogging(logging);
config = Config::parseConfig(&argc, argv);
logging->initialize();
config.get("DebugLevel", DebugLevel);
config.get("TimeLevel", TimeLevel);
std::unique_ptr<MainProgram> mainProgram = std::make_unique<MainProgram>();
mainProgram->Initialize();
return mainProgram->Run();
int rc = mainProgram->Run();
delete logging;
clearQuadrature();
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment