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
+7 -3
View File
@@ -64,9 +64,13 @@ DensityField* TrackedSpecie::densityField() {
return density_field_.get();
}
VelocityDistribution* TrackedSpecie::velocityDistibution() {
return velocity_distribution_.get();
VelocityDistribution* TrackedSpecie::velocityDistribution() {
// return velocity_distribution_.get();
// return the distribution from the calculated density distribution instead of
// the one (potentially) given at construction.
return velocity_distribution_from_density_.get();
}
DriftVelocity* TrackedSpecie::driftVelocity() {
return drift_velocity_.get();
}
@@ -144,7 +148,7 @@ BackgroundSpecie::BackgroundSpecie(
DensityField* BackgroundSpecie::densityField() {
return density_field_.get();
}
VelocityDistribution* BackgroundSpecie::velocityDistibution() {
VelocityDistribution* BackgroundSpecie::velocityDistribution() {
return velocity_distribution_.get();
}
DriftVelocity* BackgroundSpecie::driftVelocity() {