Repository navigation
Support spherical Laplacians in ArrayDiscretization - #644
Merged
ChrisRackauckas merged 1 commit intoAug 20, 2026
Merged
ChrisRackauckas merged 1 commit into
ChrisRackauckas merged 1 commit into
Conversation
utkuyilmaz1903
marked this pull request as ready for review
August 18, 2026 16:51
utkuyilmaz1903
marked this pull request as draft
August 18, 2026 16:51
Member
|
Reasonable but needs a rebase. |
utkuyilmaz1903
force-pushed
the
feature/array-spherical-laplacian
branch
from
August 20, 2026 06:34
ad0be36 to
32b6e15
Compare
utkuyilmaz1903
marked this pull request as ready for review
August 20, 2026 06:37
Member
Author
|
@ChrisRackauckas Rebased. |
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. Stacked on #641.
Summary
Adds slice-form support for spherical Laplacians
r^-2 Dr(r^2 Dr(u))toArrayDiscretization. The standard writing goes through the existing half-offset nonlinear Laplacian (r^2interpolated at half-offset points, outerr^-2a broadcast divide). The bare divided form, where the scalar spherical scheme wins, usesarray_spherical_diffusion:a * (Dr(u)/r + nllap(a)). The interior stays a single array equation; count does not grow with grid resolution.r ≈ 0stays on the scalar appendix-B branch.Scaling with grid resolution
Dt(u) ~ Dr(r^2 * Dr(u)) / r^2, 1D, second order:Array equation count is constant. Solutions match
ScalarizedDiscretization.Design
Divnumerator after cardinalize).Drinterior branch, and keepsr ≈ 0out of the core.