Skip to content

Electric Fields and Boris Push - #576

Closed
JanNiklasB wants to merge 78 commits into
CRPropa:masterfrom
JanNiklasB:ElectricPropagationBP_PR
Closed

JanNiklasB wants to merge 78 commits into
CRPropa:masterfrom
JanNiklasB:ElectricPropagationBP_PR

Conversation

@JanNiklasB

@JanNiklasB JanNiklasB commented Jul 22, 2026 •

Copy link
Copy Markdown
Member

Hi,

this is the third of three connected PRs to introduce explicit time integration, velocities smaller then c and a boris push that supports electric fields.

Motivation

This PR introduces electric fields and expands PropagationBP with the ability to utilized those fields and is based on #575 and #574.

Changes

  • Expansion of PropagationBP with additional overloads for electric fields and preserved old behavior when not electric field is present.
  • Added setter for mass and charge to be able to set partially ionized particles if needed
  • Added tests for electric fields
  • Added electric field base class and uniform electric field

Example Notebooks

I also reran all example notebooks in each of the three PRs so you can see that the old behavior is preserved.

Jan-Niklas Bohnensack and others added 30 commits October 13, 2025 15:37
-> preserves old behaviour of energy where EKin>>ERest
PropagationBP is still considering velocities
JanNiklasB added 26 commits July 8, 2026 19:44
…ities smaller c and explicit time integration
@JanNiklasB

Copy link
Copy Markdown
Member Author

Closed for now, I will try to reopen it when appropriate, sorry

@JanNiklasB JanNiklasB closed this Jul 23, 2026
@JanNiklasB
JanNiklasB deleted the ElectricPropagationBP_PR branch July 29, 2026 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant