Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #425: irold not updated in electron step loop
Assign the current particle region, ir(np), to the old region index, irold, within the ustep loop in electron transport. Previously, irold was not updated, so the irnew ~= irold condition added to fix magnetic field transport in vacuum caused zero-size steps to skip the region change macro. Remove the now redundant irold = ir(np) assignment in the non-zero step size block.
- Loading branch information