-
-
Notifications
You must be signed in to change notification settings - Fork 409
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
Made new classes for updated geometry #2085
base: master
Are you sure you want to change the base?
Conversation
Co-authored-by: AlexHls <[email protected]> Co-authored-by: Wolfgang Kerzendorf <[email protected]> Co-authored-by: Joshua Shields <[email protected]>
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Co-authored-by: AlexHls <[email protected]> Co-authored-by: Joshua Shields <[email protected]>
Removed calculate_distance_new from PR |
|
||
if shortest == (inner_1 or inner_2): | ||
if (shortest == inner_1) or (shortest == inner_2): |
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.
remove from PR.
from tardis.energy_input.util import H_CGS_KEV | ||
|
||
|
||
@pytest.fixture(scope="function") |
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.
remove as not relevant to PR.
Codecov Report
@@ Coverage Diff @@
## master #2085 +/- ##
==========================================
+ Coverage 58.04% 58.13% +0.08%
==========================================
Files 76 75 -1
Lines 8743 8623 -120
==========================================
- Hits 5075 5013 -62
+ Misses 3668 3610 -58
📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more |
wait with merge until @code-explorer is done. |
Co-authored-by: Sona Chitchyan [email protected]
Co-authored-by: AlexHls [email protected]
Co-authored-by: Wolfgang Kerzendorf [email protected]
Co-authored-by: Joshua Shields [email protected]
📝 Description
Type: 🎢
infrastructure
In numba_interface.py, wrote new classes GeometryGridSpherical1D, GeometryGridCartesian2D, and GeometryGridCartesian3D and appropriate numba_spec files. These will be used by TARDIS as different geometries for different explosions. We also made
calculate_distance_new.py, and copied the 1D spherical distance calculation into it. We will put all future distance calculations in it. Made a fix to a conditional in gamma_ray_grid.py
🚦 Testing
How did you test these changes?
☑️ Checklist
build_docs
label