Skip to content

Fix test_bnd.cxx#349

Merged
JamesMcClung merged 3 commits into
psc-code:mainfrom
JamesMcClung:fix-test-bnd
Apr 14, 2025
Merged

Fix test_bnd.cxx#349
JamesMcClung merged 3 commits into
psc-code:mainfrom
JamesMcClung:fix-test-bnd

Conversation

@JamesMcClung
Copy link
Copy Markdown
Collaborator

Fix the way n_nei is calculated in the AddGhosts test to account for ghosts on both upper and lower sides of a single boundary. That's why there were 11 neighbors instead of 7; nx was 2, so each cell was receiving both upper and lower x ghosts.

n_neighbors_x was 2, since each cell was getting ghosts from both the
lower and upper boundaries
@JamesMcClung JamesMcClung merged commit c54398b into psc-code:main Apr 14, 2025
6 checks passed
@JamesMcClung JamesMcClung deleted the fix-test-bnd branch April 14, 2025 14:42
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