Repository navigation
Support nonlinear Laplacians in ArrayDiscretization - #641
Merged
ChrisRackauckas merged 1 commit intoAug 19, 2026
Merged
ChrisRackauckas merged 1 commit into
ChrisRackauckas merged 1 commit into
Conversation
utkuyilmaz1903
marked this pull request as ready for review
August 17, 2026 16:29
utkuyilmaz1903
force-pushed
the
feature/array-nonlinear-laplacian
branch
from
August 18, 2026 08:10
c8d13ea to
a5bffa3
Compare
This was referenced Aug 18, 2026
Member
|
Rebase |
utkuyilmaz1903
force-pushed
the
feature/array-nonlinear-laplacian
branch
from
August 19, 2026 00:12
a5bffa3 to
ca0914b
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
Summary
Adds slice-form support for nonlinear Laplacians
Dx(a(u) * Dx(u))toArrayDiscretization, mirroringcartesian_nonlinear_laplacian: the coefficient is interpolated to the half-offset points as an interleaved expression over shifted slices, and the outer half-offset derivative combines them with its stencil. The interior collapses to a single array equation whose count does not grow with grid resolution.Scaling with grid resolution
Dt(u) ~ Dx(u * Dx(u)), 1D, second order:Array equation count and interior expression size are constant in grid resolution; solutions match
ScalarizedDiscretizationto machine precision (max difference ≤ 9e-16, bitwise-identical in most cases).Design
@rulepatterns ofgenerate_nonlinlap_rules(prefactors, division forms, divisors) are matched with the same precedence semantics.