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

Minor fix/optimisations for neutral wall bc #313

Merged
merged 2 commits into from
Jan 31, 2025

Conversation

johnomotani
Copy link
Collaborator

  • Fix apparently incorrect prefactor in 'constant' neutral bc. We (almost?) never use the 'constant' boundary condition, so this bug should not have had any impact.
  • Reduce allocations in enforce_neutral_wall_bc!() by passing in a buffer array.

We (almost?) never use this boundary condition, so this bug should not
have had any impact.
Pass in a buffer array to avoid a few allocations.
@johnomotani johnomotani merged commit 801d2d2 into master Jan 31, 2025
21 checks passed
@johnomotani johnomotani deleted the minor-neutral-bc-fixes branch January 31, 2025 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant