Skip to content

Conversation

@AMLattanzi
Copy link
Collaborator

@AMLattanzi AMLattanzi commented Nov 10, 2025

Notes

The ii/jj are limited on the domain, so they are valid to use with FAB data that exists everywhere. However, using those indices with u_arr/v_arr in the upwind BCs will lead to out of bounds errors when checking the sign of the velocity. Using limiters now to keep the indices bounded within the valid box of the variable.

Testing

This bug was revealed by the Tornado case with UPW Real BCs and multiple ranks. Can confirm this case now runs in debug with the current PR.

@AMLattanzi AMLattanzi requested a review from asalmgren November 10, 2025 20:43
@AMLattanzi AMLattanzi merged commit 5d83c33 into erf-model:development Nov 10, 2025
11 checks passed
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.

2 participants