Reverted last commit.
Changed powerlaw drawing from left to right cell for power calculation
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user