removed infrastructure only needed for the old

density calculation scheme
This commit is contained in:
2025-05-06 09:53:18 +02:00
parent 89e0a0eb2a
commit 2c79c567d8
3 changed files with 4 additions and 22 deletions
-13
View File
@@ -28,7 +28,6 @@ Particle::Particle(std::shared_ptr<species::TrackedSpecie> specie,
velocity_(velocity, position),
id_(this->last_id_),
time_alive_s_(time_birth),
time_in_bin_s_(0.),
interaction_counter_(0),
weight_(weight) {
last_id_++;
@@ -101,18 +100,6 @@ double Particle::timeAlive() const {
return time_alive_s_;
}
void Particle::increaseTimeInBin(double time_s) {
time_in_bin_s_ += time_s;
}
void Particle::resetTimeInBin() {
time_in_bin_s_ = 0.;
}
double Particle::timeInBin() const {
return time_in_bin_s_*weight_;
}
long int Particle::ID() const {
return id_;
}