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

Reorganize physics package. #785

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Reorganize physics package. #785

wants to merge 1 commit into from

Conversation

copybara-service[bot]
Copy link

Reorganize physics package.

Previously, various physics calculations which were not directly associated with an existing component like sources, transport_models, were dispersed between physics.py and post_processing.py.

This refactor introduces a physics package and clearer organization of physics functions into thematic modules: collisions, charge_states, psi_calculations, and scaling_laws.

Drive-by: cleanup of unnecessary comments and docstring fixes

Upcoming PR will move "physics" calculations from post_processing into the physics package.

@copybara-service copybara-service bot force-pushed the test_732272746 branch 4 times, most recently from 73e4f23 to 26ba5a9 Compare March 3, 2025 19:15
Previously, various physics calculations which were not directly associated with an existing component like sources, transport_models, were dispersed between physics.py and post_processing.py.

This refactor introduces a physics package and clearer organization of physics functions into thematic modules: collisions, charge_states, psi_calculations, and scaling_laws.

Drive-by: cleanup of unnecessary comments and docstring fixes

Upcoming PR will move "physics" calculations from post_processing into the physics package.

PiperOrigin-RevId: 732272746
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