Skip to content
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

Merged
merged 2 commits into from
Apr 29, 2024
Merged

Conversation

nikwit
Copy link
Contributor

@nikwit nikwit commented Mar 17, 2024

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.

Copy link
Contributor

@knelli2 knelli2 left a 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

Comment on lines +47 to +48

DynamicBuffer<DataVector> temps(56, grid_size);
Copy link
Contributor

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

  1. Add a comment here saying that the following code was auto-generated using Mathematica (or Sympy, or whatever you used)
  2. 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.
  3. 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)

Copy link
Contributor Author

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.

Copy link
Contributor

@knelli2 knelli2 left a 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

@nikwit
Copy link
Contributor Author

nikwit commented Apr 29, 2024

Thank you!

@knelli2 knelli2 merged commit 18fce57 into sxs-collaboration:develop Apr 29, 2024
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants