Changed distance drawing procedure;

Changed mover to work with times instead of distance;
Changed how interactions are done (recombination still tbd)
This commit is contained in:
2025-05-08 09:56:25 +02:00
parent 2c79c567d8
commit 60430abcba
16 changed files with 225 additions and 76 deletions
+6
View File
@@ -48,6 +48,9 @@ class Particle {
double weight() const;
void indexNextInteration(const int index) { index_next_interaction_ = index; };
int indexNextInteraction() { return index_next_interaction_; };
private:
double weight_;
@@ -58,6 +61,9 @@ class Particle {
// double time_in_bin_s_;
long int interaction_counter_;
// index of the interaction with the sortest distance (-1 if that's none of them)
int index_next_interaction_ = -1;
std::shared_ptr<species::TrackedSpecie> specie_;
long int id_;