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

Nuding when spec width equals total width #1390

Merged
merged 1 commit into from
Jan 19, 2024

Conversation

AMLattanzi
Copy link
Collaborator

This PR addresses an out of bounds issue when the width of the specification zone is equal the total width of the bdy file. The prior PR that addressed ii/jj indexing requires that the bdy file contain a halo cell. This halo cell is not present for the case spec_width = bdy_width. We now zero the RHS in the spec region (this must always be done). But the nudging operations are only completed if we have a width that exceeds spec_width + 1 (which ensures a halo cell is present).

@AMLattanzi AMLattanzi merged commit 4852011 into erf-model:development Jan 19, 2024
11 checks passed
@AMLattanzi AMLattanzi deleted the MetGridFixes branch February 1, 2024 16:03
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.

1 participant