compb-dla-model/mainDLA.cpp

24 lines
431 B
C++

#include <iostream>
#include "DLASystem.h"
int main(int argc, char **argv) {
// create the system
auto *sys = new DLASystem(1000, std::string("./out.csv"));
// this is the seed for the random numbers
int seed = 6;
std::cerr << "Setting seed " << seed << endl;
sys->setSeed(seed);
sys->running = true;
while (sys->running) {
sys->update();
}
sys->exportData();
return 0;
}