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

Fix #1131: clarify comment about ms conditional #1132

Merged
merged 1 commit into from
Jun 18, 2024

Conversation

ftessier
Copy link
Member

Clarify that multiple-scattering transport is triggered only if the intended electron step is longer than a skin depth, even in bulk media away from any region boundaries. This improves efficiency, because a multiple-scattering step costs about the same as 3 single-scattering steps (the default skin depth is 3 mean free paths). Below a skin depth, it is more efficient (and more accurate) to use single-scattering.

Clarify that multiple-scattering transport is triggered only if the
intended electron step is longer than a skin depth, even in bulk media
away from any region boundaries. This improves efficiency, because a
multiple-scattering step costs about the same as 3 single-scattering
steps (the default skin depth is 3 mean free paths). Below a skin depth,
it is more efficient (and more accurate) to use single-scattering.
@ftessier ftessier added this to the Release 2024 milestone May 23, 2024
@ftessier ftessier self-assigned this May 23, 2024
@ftessier ftessier requested a review from a team as a code owner May 23, 2024 16:32
@ftessier ftessier linked an issue May 23, 2024 that may be closed by this pull request
Copy link
Contributor

@blakewalters blakewalters left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, I get it! It took me a couple of readings and a bit of puzzling through this logic. And that's not the first time I've found this logic puzzling.

@rtownson rtownson merged commit 013892f into develop Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incomplete multiple-scattering comment in egsnrc.mortran
4 participants