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

Make boris the default bunch pusher and enable parallelism #139

Merged
merged 15 commits into from
Oct 17, 2023
Merged

Conversation

AngelFP
Copy link
Owner

@AngelFP AngelFP commented Oct 17, 2023

  • Make 'boris' the default pusher for the particle bunches.
  • Raise a ValueError if the given bunch_pusher is not recognized.
  • Faster particle gathering thanks to a more efficient method for resetting field arrays.
  • Enable bunch pusher, bunch field gathering and analytical fields to run in parallel (other functions like those for bunch deposition are still serial. This will be gradually implemented).
  • Define a new environment variable 'WAKET_NUM_THREADS' that controls the number of parallel threads (by default, 1).

@AngelFP AngelFP changed the title [WIP] Make boris the default bunch pusher and enable parallelism Make boris the default bunch pusher and enable parallelism Oct 17, 2023
@AngelFP AngelFP merged commit cd16ef5 into dev Oct 17, 2023
5 of 6 checks passed
@AngelFP AngelFP deleted the default_boris branch October 17, 2023 12:05
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.

None yet

1 participant