Skip to content

Remove duplicated solvers between regrid modules#1408

Merged
Hallberg-NOAA merged 2 commits into
mom-ocean:dev/gfdlfrom
angus-g:remove-duplicate-solvers
May 27, 2021
Merged

Remove duplicated solvers between regrid modules#1408
Hallberg-NOAA merged 2 commits into
mom-ocean:dev/gfdlfrom
angus-g:remove-duplicate-solvers

Conversation

@angus-g
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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