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

Remove MSC data from core physics class #604

Merged
merged 5 commits into from
Jan 18, 2023

Conversation

sethrj
Copy link
Member

@sethrj sethrj commented Jan 16, 2023

This is a follow-on from work done in #457 with the goal of physics class (builders, etc.) for #253 . It removes the MSC process from physics processing and puts particle- and material-dependent MSC data in the UrbanMsc class itself.

Since now the only purpose of passing the MscProcess into the physics is to construct the model that gets looked up by the AlongStepUniformMscAction, we'll want a follow-on PR to remove the MSC "process" and Urban "model" entirely since these aren't treated the same way as all the other discrete and along-step processes in the code. At that point we can add the high-energy MSC model and consider how to simplify and combine the different along-step actions.

@sethrj sethrj added physics Particles, processes, and stepping algorithms minor Minor internal changes or fixes labels Jan 16, 2023
@sethrj sethrj requested review from amandalund and whokion January 16, 2023 02:48
Copy link
Contributor

@whokion whokion left a comment

Choose a reason for hiding this comment

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

Once test failures in ctest are resolved, this PR is good to go.

src/celeritas/em/data/UrbanMscData.hh Outdated Show resolved Hide resolved
Copy link
Contributor

@amandalund amandalund left a comment

Choose a reason for hiding this comment

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

Thanks @sethrj!

src/celeritas/em/data/UrbanMscData.hh Outdated Show resolved Hide resolved
@sethrj sethrj merged commit 2275500 into celeritas-project:master Jan 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor Minor internal changes or fixes physics Particles, processes, and stepping algorithms
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants