-
-
Notifications
You must be signed in to change notification settings - Fork 426
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
Added v_inner and v_outer, enable_nonhomologous_expansion for future use in nonhomologous expansion #2024
Added v_inner and v_outer, enable_nonhomologous_expansion for future use in nonhomologous expansion #2024
Conversation
Please make sure your changes are PEP 8 compliant, you can just run |
Codecov Report
@@ Coverage Diff @@
## master #2024 +/- ##
==========================================
- Coverage 60.01% 59.87% -0.14%
==========================================
Files 70 70
Lines 8115 8157 +42
==========================================
+ Hits 4870 4884 +14
- Misses 3245 3273 +28
📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more |
@wkerzendorf when you have a chance, can you look through this? I think it's ready to be merged. |
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.
Please change as discussed
@@ -117,7 +117,7 @@ def formal_integral_model(request): | |||
This gets the Numba model to be used in later tests | |||
""" | |||
r = request.param["r"] | |||
model = NumbaModel(r[:-1], r[1:], 1 / c.c.cgs.value) | |||
model = NumbaModel(r[:-1], r[1:], r[:-1], r[1:], 1 / c.c.cgs.value) |
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.
please change to velocities
…use in nonhomologous expansion (tardis-sn#2024) * added v_outer and v_inner to NumbaModel * defined default value for v_inner and v_outer in NumbaModel * added enable_nonhomologous_expansion to io/schemas/montecarlo.yml * added v_inner and v_outer to NumbaPlasma * added v_inner and v_outer as arguments for NumbaModel in run() in montecarlo_numba * added v_outer_cgs to MonteCarloRunner * removed a comment * ran black on the changed files * added right arguments in test * added v_inner, v_outer to tests * added temporary fix to formal_integral.py * ran black on modified files * changed dummy values in the test * Reverted content of file. * made needed change in test_cuda_formal_integral.py * made needed change in test_numba_formal_integral.py
* Fix bot aliases in .mailmap (tardis-sn#2038) * Added v_inner and v_outer, enable_nonhomologous_expansion for future use in nonhomologous expansion (tardis-sn#2024) * added v_outer and v_inner to NumbaModel * defined default value for v_inner and v_outer in NumbaModel * added enable_nonhomologous_expansion to io/schemas/montecarlo.yml * added v_inner and v_outer to NumbaPlasma * added v_inner and v_outer as arguments for NumbaModel in run() in montecarlo_numba * added v_outer_cgs to MonteCarloRunner * removed a comment * ran black on the changed files * added right arguments in test * added v_inner, v_outer to tests * added temporary fix to formal_integral.py * ran black on modified files * changed dummy values in the test * Reverted content of file. * made needed change in test_cuda_formal_integral.py * made needed change in test_numba_formal_integral.py * Update README.rst in post-release (tardis-sn#2037) * Fix docs badge * Add license badge * First attempt of creating credits.rst and README.rst via templates * Working version * Restore old README.rst * Update post-release workflow * Change .gitignore * Various fixes * Check PEP8 on CI (tardis-sn#2039) * Add Flake8 job * Change to file description * Test payload Co-authored-by: Sona Chitchyan <chitchyan.sona@gmail.com>
Description
This PR adds v_inner and v_outer to NumbaModel as arguments, taking them from MonteCarloRunner. This will be used in the future for the implementation of the nonhomologous expansion.
Motivation and context
How has this been tested?
Examples
Type of change
Checklist
build_docs
label to this pull request (if you don't have enough privileges a reviewer will do it for you)