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

Orange to points partition OASIS decomposition #1361

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

ukmo-juan-castillo
Copy link
Collaborator

@ukmo-juan-castillo ukmo-juan-castillo commented Feb 3, 2025

orange to points partition

Pull Request Summary

Change the orange to points partition OASIS decomposition for regular and curvilinear grids.

Description

The current OASIS decomposition for regular and curvilinear grids is 'orange', described by a global offset and a local extent. The local extent in the case of WAVEWATCHIII is always equal to 1. In this situation, it is more natural to describe the OASIS decomposition as a points partition. Furthermore, the orange partition has a limitation of 200 segments, while the points partition can have any number of segments. The code was reviewed to remove unnecessary variables and to deallocate vectors once they are no longer needed.

There is no change of answers expected, as the OASIS decomposition will be the same but described in a different way. Please refer to the OASIS manual for details on OASIS partitioning.

Lables that could be added: enhancement

Issue(s) addressed

Commit Message

Change the orange to points partition OASIS decomposition

Check list

Testing

Changes are fully covered by the ww3_tp2.14 regression tests, as the changes proposed only affect OASIS coupling.
Regression tests have been run on the Met Office XC40 machine using the gnu compiler.
No changes in the regression tests are expected.

Copy link
Collaborator

@mickaelaccensi mickaelaccensi left a comment

Choose a reason for hiding this comment

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

I agree with this change

@ukmo-juan-castillo
Copy link
Collaborator Author

As expected, there is no change in regtests.

matrixCompSummary.txt-ww3_tp2.14.txt

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.

Orange to points partition OASIS decomposition
2 participants