Reverted last commit.

Changed powerlaw drawing from left to right
cell for power calculation
This commit is contained in:
2025-06-25 17:50:58 +02:00
parent 87ffe087b8
commit b8a4631676
3 changed files with 23 additions and 16 deletions
+3 -3
View File
@@ -161,9 +161,9 @@ void BorisMover::move(particle::Particle* particle,
? delta_timeresolution*SimConstants::compare_epsilon
: (max_time_alive - timestep);
}
if(died_in_bin && !left_simulation_domain
&& (leftover_time > SimConstants::compare_epsilon ||
changed_energy_bin || changed_mu_bin || changed_position_bin)) {
if(died_in_bin && !left_simulation_domain) {
// && (leftover_time > SimConstants::compare_epsilon ||
// changed_energy_bin || changed_mu_bin || changed_position_bin)) {
// use new values, since that is necessary if died_in_bin and a change in
// bin can occur at the same time
particle->specie()->dynamicDensityField()->logMovement(