Repository navigation
Support boundary values on edge-aligned grids in ArrayDiscretization - #666
Merged
ChrisRackauckas merged 1 commit intoAug 30, 2026
Conversation
utkuyilmaz1903
force-pushed
the
feature/array-edge-aligned-boundary-values
branch
from
August 28, 2026 10:14
c5e007f to
2b4ca94
Compare
utkuyilmaz1903
marked this pull request as ready for review
August 29, 2026 06:27
Interpolate u(t, 1) / u(t, 0, y) with the existing interpmap so edge-aligned interiors stay in array form.
utkuyilmaz1903
force-pushed
the
feature/array-edge-aligned-boundary-values
branch
from
August 30, 2026 06:16
4eb7100 to
3abd877
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #623. Continues #626:
u(t, 1)/u(t, 0, y)onedge_alignstill fell back to pointwise equations.On an edge-aligned grid those references are not array elements. Same interpolant
boundary_value_mapsalready builds (interpmap,shift = true,bs = []): a scalar or a face slice, broadcast onto the core. Corners are the tensor product of the 1D interpolators.array_bandsunchanged.u(t,0) - u(t,1)n=10vs40); leftover-free; interpolantisequalhalf_offset_centered_difference;successful_retcode+ u(t,1)f(u0)drives;successful_retcodeapprox_order2 / 4 / 6+ v(t,1)successful_retcode+ u(t,1)successful_retcodeu(t,1)*Dx(u)winding coefsuccessful_retcode+ u(t,0)successful_retcode+ u(t,0,y)+ u(t,0,0)f(u0)drives;successful_retcodeFalls back:
Dx(u(t, 1)),u(0, x),u(t, 0.5), staggered interior boundary values.