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

use multiple angle formula in sneut to speed up sin/cos #1379

Merged
merged 47 commits into from
Oct 30, 2023

Conversation

zingale
Copy link
Member

@zingale zingale commented Oct 29, 2023

No description provided.

no need to set these each time we enter the function
@zingale
Copy link
Member Author

zingale commented Oct 29, 2023

this will cause roundoff-level diffs

Copy link
Collaborator

@yut23 yut23 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I checked everything with Mathematica, and sin5 has a sign error. All the others are correct.

neutrinos/sneut5.H Outdated Show resolved Hide resolved
@zingale zingale changed the title [WIP] use multiple angle formula in sneut to speed up sin/cos use multiple angle formula in sneut to speed up sin/cos Oct 30, 2023
@zingale zingale merged commit 153fbf8 into AMReX-Astro:development Oct 30, 2023
24 checks passed
@zingale zingale deleted the sneut_sincos branch October 30, 2023 18:19
yut23 added a commit to yut23/Microphysics that referenced this pull request Nov 6, 2023
This reverts all the benchmark updates made in AMReX-Astro#1379, as the actual
changes should be very minor.
zingale pushed a commit that referenced this pull request Nov 7, 2023
This reverts all the benchmark updates made in #1379, as the actual
changes should be very minor.
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