-
-
Notifications
You must be signed in to change notification settings - Fork 435
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
[Restructure/plasma] Refactor the simulation state initialization #2664
[Restructure/plasma] Refactor the simulation state initialization #2664
Conversation
…ace.py, transport_montecarlo_numba_interface.py, conftest.py, formal_integral.py, base.py, and macro_atom.py
My previous comment still stands I think. This is also somewhat difficult to review given it is based on another PR. |
@andrewfullard - I presume you want me to move some of these functions to |
…mulation_from_config_cleanup
Yes please. That is what they are doing, after all- reading stuff in. |
@andrewfullard - moved |
…ation_from_config_cleanup
Looks good- is this ready to review? |
I want to say yes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Pending codestyle. I guess this makes Simulation approach the workflow in my branch.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me
@@ -46,7 +46,7 @@ def initialize_packet_source(packet_source, config, geometry): | |||
return packet_source | |||
|
|||
|
|||
def parse_packet_source_from_config(config, geometry, legacy_mode_enabled): | |||
def parse_packet_source_from_config(config, geometry, enable_legacy_mode): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why make this change? Don't we usually want booleans to be in a format that reads like flag is enabled
or if flag_enabled
?
Is based on the restructure radiation field PR. #2613