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:
@@ -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_;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user