-
Notifications
You must be signed in to change notification settings - Fork 191
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
Add 0th order acceleration terms #5860
Conversation
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.
Also address clang-tidy errors please
|
||
DynamicBuffer<DataVector> temps(56, grid_size); |
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.
I think we want to have some guidelines regarding auto-generated code since it's not always the most optimal, just so we aren't baffled in 2 years when we look back at this. Could you
- Add a comment here saying that the following code was auto-generated using Mathematica (or Sympy, or whatever you used)
- If you have the code that generated this in a public repo/place, could you also add a comment pointing to it here? This way we can reproduce what you did.
- Take a cursory look at the auto-generated code and if you notice any quick/simple optimizations that can be made, make those and add a comment where you did so we can note the difference. (I tried to do a couple below)
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.
I added a description and a link to a new public repo. I incorporated your changes but do not think that all the changes need to be added in the comments, there are quite a few. A diff to the auto-generated file should show them.
src/Evolution/Systems/CurvedScalarWave/Worldtube/AccelerationTermsOrder0.cpp
Outdated
Show resolved
Hide resolved
src/Evolution/Systems/CurvedScalarWave/Worldtube/AccelerationTermsOrder0.cpp
Outdated
Show resolved
Hide resolved
src/Evolution/Systems/CurvedScalarWave/Worldtube/AccelerationTermsOrder0.cpp
Outdated
Show resolved
Hide resolved
src/Evolution/Systems/CurvedScalarWave/Worldtube/AccelerationTermsOrder0.cpp
Outdated
Show resolved
Hide resolved
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! Go ahead and squash
Thank you! |
The terms are added to the puncture field for non-geodesic orbits. They are described in Section IV of https://arxiv.org/abs/2403.08864.