-
Notifications
You must be signed in to change notification settings - Fork 61
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
Refactor/bsk 321 denton flux module #322
Conversation
@JulianHammerl linux test errors are due to #313, so don't worry about them . Strange that all tests passed in that PR but not now. Will fix soon, sorry. |
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.
Needs to add release notes explaining the change in units in this message.
src/simulation/environment/dentonFluxModel/_UnitTest/test_dentonFluxModel.py
Outdated
Show resolved
Hide resolved
a8eafd4
to
934f6f5
Compare
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.
should be good to go.
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.
This looks good! My only feedback is that you can remove the constructor and destructor definitions in the dentonFluxModel.cpp
and simply add = default
into the header file definitions if you want the code to be more minimal. But that's not necessary!
No functional changes
From [cm^-2 s^-1 sr^-2 eV^-1] to [m^-2 s^-1 sr^-2 eV^-1]
934f6f5
to
ca11cbf
Compare
src/simulation/environment/dentonFluxModel/_UnitTest/test_dentonFluxModel.py
Show resolved
Hide resolved
ca11cbf
to
3e20b24
Compare
Description
The particle flux units were changed from [cm^-2 s^-1 sr^-2 eV^-1] to [m^-2 s^-1 sr^-2 eV^-1]. This required changes in the PlasmaFluxMsg message and the DentonFluxModel module. The code was cleaned cleaned up along to way, whatever caught my eye.
Verification
The existing UnitTest was updated to reflect the changes and still passes.
Documentation
No .rst documentation was invalidated. The comments in the PlasmaFluxMsg message and the DentonFluxModel module files. were updated accordingly to reflect the change in units
Future work
None expected at this point.