Skip to content

Support vector-valued functions in ArrayDiscretization - #675

Merged
ChrisRackauckas merged 1 commit into
SciML:masterfrom
utkuyilmaz1903:support-vector-valued-functions
Sep 5, 2026
Merged

ChrisRackauckas merged 1 commit into
SciML:masterfrom
utkuyilmaz1903:support-vector-valued-functions

Conversation

@utkuyilmaz1903

@utkuyilmaz1903 utkuyilmaz1903 commented Sep 4, 2026 •

Copy link
Copy Markdown
Member

f(u, θ) and (f(u, θ))[i] (including NN(u, θ)[1]) were falling back to pointwise because arrayify treated θ as a grid slice. They now map over the field and keep θ whole, so the 1D heat + NN term stays one interior array equation on the DAE path.

@utkuyilmaz1903
utkuyilmaz1903 marked this pull request as ready for review September 4, 2026 19:40
@utkuyilmaz1903
utkuyilmaz1903 force-pushed the support-vector-valued-functions branch from d328e6b to c6c89a1 Compare September 4, 2026 22:03
f(u, θ) and (f(u, θ))[i], including NN(u, θ)[1], now map over the field slice with θ kept whole instead of falling back to pointwise. Array literals of a field such as NN([u], θ) still fall back.
@utkuyilmaz1903
utkuyilmaz1903 force-pushed the support-vector-valued-functions branch from c6c89a1 to b200d74 Compare September 5, 2026 06:41
@ChrisRackauckas
ChrisRackauckas merged commit 62f07c3 into SciML:master Sep 5, 2026
69 checks passed
ChrisRackauckas added a commit that referenced this pull request Sep 7, 2026
- Trim the array-form capability list from MOLFiniteDifference. (#673)
- Stop infinite expansion when a PDE unknown is missing from the system. (#674)
- Support vector-valued functions in ArrayDiscretization (#675)
- Test ModelingToolkitNeuralNets terms and fix the compiled ODE path (#678)
- Add a tutorial on training a neural network term in a PDE (#679)
- Stack vector field inputs and batch network calls in ArrayDiscretization (#680)
- Add a tutorial on learning the Brusselator reaction with a neural network (#681)
- Stack scalar inputs with field slices in ArrayDiscretization (#682)
- Test callable diffusion coefficients (#683)
- Reconstruct array observables once per PDE field (#676)



Agent-Harness: Claude Code
Agent-Model: claude-opus-5[1m]
Claude-Session: https://claude.ai/code/session_014FEzNTLFutCmTEAZ3zBg5R

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
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