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

Update MOM_diabatic_driver.F90 #11

Closed

Conversation

pjpegion
Copy link

@pjpegion pjpegion commented Sep 2, 2022

remove trailing whitespace

@jiandewang jiandewang force-pushed the dev-emc-candidate-20220824 branch from f046281 to d23c926 Compare September 2, 2022 14:14
@jiandewang jiandewang closed this Jan 28, 2023
jiandewang pushed a commit that referenced this pull request Mar 7, 2024
Applying the first iteration explicitly appears to speed up the cuberoot
function by a bit over 20%:

 Before:
 Halley Final:  0.14174999999999999

 After:
 Halley Final:  0.11080000000000001

There is an assumption that compilers will precompute the constants like
`0.7 * (0.7)**3`, and that all will do so in the same manner.
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