Refactored Version of Electron Transport Capability#387
Open
melekderman wants to merge 11 commits intoCEMeNT-PSAAP:devfrom
Open
Refactored Version of Electron Transport Capability#387melekderman wants to merge 11 commits intoCEMeNT-PSAAP:devfrom
melekderman wants to merge 11 commits intoCEMeNT-PSAAP:devfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
❗ This PR is a refactor of #355 and closes #355. It should be merged after #383.
This pull request introduces foundational support for electron transport in the codebase, including new constants, data structures, and getter/setter modules for electron-related physics and tallying. The changes lay the groundwork for handling electron interactions in simulations, similar to existing neutron transport features.
The most important changes are:
Electron Physics Support and Constants
mcdc/constant.py, as well as fundamental physical constants for electrons (mass, cutoff energy, fine structure constant, etc.). [1] [2] [3]mcdc/main.pyto initialize electron data for elements when electron transport is enabled.Electron Data Structures and Accessors
mcdc_getandmcdc_setpackages, includingelectron_reaction.py,electron_bremsstrahlung_reaction.py,electron_elastic_scattering_reaction.py,electron_excitation_reaction.py,electron_ionization_reaction.py, andelement.py. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]Native Material Extensions
mcdc/mcdc_get/native_material.py, analogous to existing nuclide data. [1] [2]Collision and Tally Infrastructure
These changes establish the infrastructure needed for electron transport and tallying, bringing the codebase closer to supporting coupled neutron-electron physics.