small fixes and cosmetic changes

This commit is contained in:
2024-09-05 09:33:12 +02:00
parent 9c45fce644
commit 75bb2e4d85
11 changed files with 69 additions and 131 deletions
+3
View File
@@ -79,6 +79,9 @@ void CpuSynchronizer::synchronize(DynamicDensityField* field,
if (reset) {
density_for_drawing->time_in_bin_s_ = field->time_in_bin_s_;
density_for_drawing->deleted_particles_ = field->deleted_particles_;
// try setting the distribution for drawing the density here, since ideally it
// the density array and the distribution only have to be set once
density_for_drawing->setDensityDistribution();
}
}
}