-
Notifications
You must be signed in to change notification settings - Fork 3
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
PR for first comments from DTS #41
Conversation
Codecov Report
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more @@ Coverage Diff @@
## main #41 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 7 6 -1
Lines 419 330 -89
=========================================
- Hits 419 330 -89
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
@duetosymmetry Thanks again for all your input. I have addressed your comments as follows:
It would be good to agree an alternative name before I implement the change. The subtitle of the article is "Relativistic Spin-Orbital Dynamics in Julia" which I think makes the application of the package more clear. Perhaps a rename to just RelativisticSpinOrbitalDynamics.jl? @dfm is there any issue on the JOSS side if I update the github repo name?
The module Firstly, the Secondly, all functions which are specific to the (Kerr) metric are now contained within
We have cleaned this up to just use e.g. The original idea of the However, this module has now been significantly paired back, with some functions moved only to the As I say, having a utility functions module is quite common and it provides an area to add any future general functions that may be shared between modules, but I don't feel particularly strongly about this point; I am happy to remove and allocate the functions to the particular modules they are called from if preferred?
This has now been updated in
This is a nice suggestion, and not one I had thought of before. However since the code is currently nowhere near being limited in speed or memory I personally don't feel it to be necessary at this time - would you agree? Whilst I agree that explicit allocations are wasteful, they are also conceptually straightforward and directly comparable with the standard form of the MPD equations. Such a decomposition is definitely, however, something that I will keep in mind for the future, especially w.r.t alternative number formats where scalings and allocations may become important.
This was only present for testing that the Riemann tensor for Kerr correctly reduces to Schwarzchild. This has been removed from the main
This has been updated to the correct
This was a nice idea and the constants and definitions have now been updated accordingly.
Some updates to code organisation have already been discussed. In summary, the code has now been restructured as follows:
In the summary section of the article we now mention that the choice of SSC is equivalent to choosing the centre of mass and that we specifically take the TD condition for this work. I am cautious about spending too much time in the article itself discussing choices and nuances of SSCs since it is quite involved and distracts from the main message. I have therefore relegated the discussion of this point to the docs page and pointed readers to my go-to reference of Costa & Natário, 2015. I can of course expand more in the article itself if preferred.
Formulation as an AA is interesting - thanks @duetosymmetry for bringing this up as an idea! Ideally, looking long term I would like this package to be background independent. As you point out AA is only for a select few specific spacetimes. However, I think it could be worthwhile in the future exploring how to setup the code to use AA for those spacetimes where it is available, and so take advantage of long term precision. On the other hand, with AA one is often primarily interested in exploring the fundamental frequencies of the system, rather than determining the evolution of position, spin, momentum etc. For pulsars, one is often interested in these quantities; for instance the orientation of the spin axis will influence the received pulse, the momentum will influence the Doppler shift, etc. I could also be misunderstanding something, but it seems like action angle coordinates for the evolution with respect to a distant observer (rather than Carter-Mino time) are currently only well established for Schwarzchild (https://ui.adsabs.harvard.edu/abs/2022arXiv220311952W/abstract) and have only recently (Jan 2023!) been applied to Kerr (https://ui.adsabs.harvard.edu/abs/2023arXiv230108150K/abstract)? A sentence on the choice not to use AA has been added to the end of the second paragraph of the Statement of Need. Let me know if you have any further comments or queries. One additional thing I need to do is complete the swap over from Zygote.jl to Enzyme.jl in the testing and notebooks, but this is not quite ready yet. Cheers! |
Thanks, @tomkimpson, for your herculean effort! I am kind of under water this week (and possibly for the next 2, with a proposal deadline looming...) so I can only make trivial comments right now. I agree that |
Forgot to comment... @farr do you have any time to take a look while I'm tied up with other work? |
All comments addressed. Merging and closing this PR - will continue discussion in PR for reviewer 2 |
This PR deals with the JOSS review comments .
metric.jl
to be less messyRelativisticDynamics.delta
vsdelta
along withuseful_functions.jl
Rtensor
for less wasteful allocationsschwarzchild_covariant_riemann
function which is just a specialised version ofriemann
orbit.jl
to refer to the correct parameters file