Add missing initial particle
This commit is contained in:
parent
54d02253ef
commit
f323248610
@ -206,6 +206,8 @@ DLASystem::DLASystem(std::ofstream csv_out, double stickProbability)
|
|||||||
// reset initial parameters
|
// reset initial parameters
|
||||||
Reset();
|
Reset();
|
||||||
|
|
||||||
|
this->csv_out << 0 << "," << 0 << "," << 0 << std::endl;
|
||||||
|
|
||||||
addRatio = 1.2; // how much bigger the addCircle should be, compared to cluster radius
|
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
|
killRatio = 1.7; // how much bigger is the killCircle, compared to the addCircle
|
||||||
|
|
||||||
|
|||||||
@ -23,7 +23,7 @@ int main(int argc, char **argv) {
|
|||||||
stickProbability = std::stod(argv[2]);
|
stickProbability = std::stod(argv[2]);
|
||||||
}
|
}
|
||||||
|
|
||||||
cout << "Seed: " << seed << "Stick P: " << stickProbability << endl;
|
cout << "Seed: " << seed << ", Stick P: " << stickProbability << endl;
|
||||||
|
|
||||||
std::stringstream str;
|
std::stringstream str;
|
||||||
str << "./out-" << seed << '-' << stickProbability << ".csv";
|
str << "./out-" << seed << '-' << stickProbability << ".csv";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user