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

Remove duplicated solvers between regrid modules #1408

Merged
merged 2 commits into from
May 27, 2021

Conversation

angus-g
Copy link
Collaborator

@angus-g angus-g commented May 24, 2021

In the removal of regrid_edge_slopes (dc1bed6), a couple of the solvers became duplicated between regrid_edge_values and regrid_solvers. Here, they're simply made consistent by removing the solvers from regrid_edge_values, and bringing over the zero-pivot check for the linear solver that was in one variation but not the other.

In the removal of regrid_edge_slopes, a couple of the solvers became
duplicated between regrid_edge_values and regrid_solvers. Here,
they're simply made consistent by removing the solvers from
regrid_edge_values, and bringing over the zero-pivot check for the
linear solver that was in one variation but not the other.
Copy link
Collaborator

@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 have examined these changes, and I have carefully compared the routines that are being removed with the alternate versions that are being called. I agree that this PR is both correct and a useful simplification.

@Hallberg-NOAA
Copy link
Collaborator

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

@Hallberg-NOAA Hallberg-NOAA merged commit d1b8641 into mom-ocean:dev/gfdl May 27, 2021
@angus-g angus-g deleted the remove-duplicate-solvers branch May 27, 2021 22:16
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.

3 participants