From f32324861028257c42bb981a636b4bf29b787857 Mon Sep 17 00:00:00 2001 From: Joshua Coles Date: Sun, 19 Feb 2023 19:26:40 +0000 Subject: [PATCH] Add missing initial particle --- DLASystem.cpp | 2 ++ mainDLA.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/DLASystem.cpp b/DLASystem.cpp index e1018b6..df1d482 100644 --- a/DLASystem.cpp +++ b/DLASystem.cpp @@ -206,6 +206,8 @@ DLASystem::DLASystem(std::ofstream csv_out, double stickProbability) // reset initial parameters Reset(); + this->csv_out << 0 << "," << 0 << "," << 0 << std::endl; + addRatio = 1.2; // how much bigger the addCircle should be, compared to cluster radius killRatio = 1.7; // how much bigger is the killCircle, compared to the addCircle diff --git a/mainDLA.cpp b/mainDLA.cpp index 8839ba2..19d8d4a 100644 --- a/mainDLA.cpp +++ b/mainDLA.cpp @@ -23,7 +23,7 @@ int main(int argc, char **argv) { stickProbability = std::stod(argv[2]); } - cout << "Seed: " << seed << "Stick P: " << stickProbability << endl; + cout << "Seed: " << seed << ", Stick P: " << stickProbability << endl; std::stringstream str; str << "./out-" << seed << '-' << stickProbability << ".csv";