Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve performance of Baxevanis wakefield model #79

Merged
merged 7 commits into from
Jul 8, 2022

Conversation

AngelFP
Copy link
Owner

@AngelFP AngelFP commented Jul 8, 2022

This PR rewrites the main loop that pushes the plasma column along the simulation box such that it can be fully compiled with numba. This speeds up the wakefield calculation by up to ~40-50%.

In order to compile this loop, the plasma particle pusher and plasma particle deposition have also been rewritten in a way that can be fully compiled with numba.

Due to the larger amount of numba functions, the initial compile time has also increased to about ~25 s. It would be good to look now into numba caching options (#35)

@AngelFP AngelFP merged commit 3246dbb into new_pipeline Jul 8, 2022
@AngelFP AngelFP deleted the improve_baxevanis_performance branch July 8, 2022 07:57
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