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_wave_interface.F90 #784

Merged
merged 2 commits into from
Dec 30, 2024

Conversation

Zeracesharon
Copy link

We modified the index of I-1 -> i+1, J-1 -> j+1, which fixed the model error when conducing wave-coupled 3D simulations, keeping halo_size in thickness to be 1.

@Hallberg-NOAA Hallberg-NOAA added the bug Something isn't working label Dec 26, 2024
Copy link
Member

@Hallberg-NOAA Hallberg-NOAA left a comment

Choose a reason for hiding this comment

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

I believe that these changes do properly correct a set of bugs. Thank you for this contiribution, @Zeracesharon!

Because the previous version would not pass rotational consistency checks or consistent answers across PE count and layout, I can not imagine the Stokes Drift code was ever used in any solutions we need to retain, so I am OK with simply correcting these bugs without runtime flag to recover the previous answers.

The index at the interface has been changed from I-1 ->i+1 and J-1 -> j+1, which helps fixed model error in 3D simulations while keeping halo_size to 1.
Corrected the index for thickness which fixed the issue of 3D wave coupled simulations while keeping the halo_size in thickness as 1
@Hallberg-NOAA
Copy link
Member

This PR has passed pipeline testing at https://gitlab.gfdl.noaa.gov/ogrp/mom6ci/MOM6/-/pipelines/25877 .

@Hallberg-NOAA Hallberg-NOAA merged commit 9564493 into NOAA-GFDL:dev/gfdl Dec 30, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants