Repository navigation
Cover complex Dirichlet splitting and clean helper - #129
Merged
ChrisRackauckas merged 5 commits intoSep 23, 2026
Merged
ChrisRackauckas merged 5 commits into
ChrisRackauckas merged 5 commits into
Conversation
Test complex coefficients, products between dependent fields, and duplicated real/imaginary boundary equations. The regression fails against the current normalization before the fix. Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Codex <[email protected]> Agent-Harness: Codex CLI 0.156.0 Agent-Model: gpt-6-luna Agent-Session: local session, transcript at /home/crackauc/sandbox/agent-jobs/PDEBase.jl/jobs/125-codex/log.txt on amdci2.julia.csail.mit.edu
Retain ModelingToolkit's equation-pair grouping, reconstruct each complex residual, substitute real and imaginary dependent variables, then expand derivatives and complex products before splitting. Generate real-valued component variables and use the same residual split for complex boundary equations. Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Codex <[email protected]> Agent-Harness: Codex CLI 0.156.0 Agent-Model: gpt-6-luna Agent-Session: local session, transcript at /home/crackauc/sandbox/agent-jobs/PDEBase.jl/jobs/125-codex/log.txt on amdci2.julia.csail.mit.edu
Split each side of complex equations independently so downstream symbolic consumers retain the equation form they expect. Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Codex <[email protected]> Agent-Harness: Codex CLI 0.156.0 Agent-Model: gpt-6-luna Agent-Session: local session, transcript at /home/crackauc/sandbox/agent-jobs/PDEBase.jl/jobs/125-codex/log.txt on amdci2.julia.csail.mit.edu
Cover a time-dependent complex Dirichlet condition at the BC splitting boundary, rename the imaginary component local, and remove the unused ComplexEq type. Keep handle_complex's real-equation branch because complex BC-only systems can reach it. Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Codex <[email protected]> Agent-Harness: Codex CLI 0.156.0 Agent-Model: gpt-6-luna Agent-Session: local session, transcript at /home/crackauc/sandbox/agent-jobs/PDEBase.jl/jobs/125-codex/log.txt on amdci2.julia.csail.mit.edu
Resolve the follow-up against the now-merged complex coupling change and current release base. Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Codex <[email protected]> Agent-Harness: Codex CLI 0.156.0 Agent-Model: gpt-6-luna Agent-Session: local session, transcript at /home/crackauc/sandbox/agent-jobs/PDEBase.jl/jobs/125-codex/log.txt on amdci2.julia.csail.mit.edu
This was referenced Sep 23, 2026
ChrisRackauckas
marked this pull request as ready for review
September 23, 2026 21:10
ChrisRackauckas
referenced
this pull request
Sep 24, 2026
* Support Complex-typed dependent variables in PDE splitting Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Codex <[email protected]> Agent-Harness: Codex CLI 0.156.1 Agent-Model: gpt-6-sol Agent-Session: local session, transcript at /home/crackauc/sandbox/agent-jobs/PDEBase.jl/jobs/130-codex/log.txt on amdci2.julia.csail.mit.edu * Document Complex field declarations and bump patch version Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Codex <[email protected]> Agent-Harness: Codex CLI 0.156.1 Agent-Model: gpt-6-sol Agent-Session: local session, transcript at /home/crackauc/sandbox/agent-jobs/PDEBase.jl/jobs/130-codex/log.txt on amdci2.julia.csail.mit.edu * Clarify mixed field limitation and test production split order Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Codex <[email protected]> Agent-Harness: Codex CLI 0.156.1 Agent-Model: gpt-6-sol Agent-Session: local session, transcript at /home/crackauc/sandbox/agent-jobs/PDEBase.jl/jobs/130-codex/log.txt on amdci2.julia.csail.mit.edu --------- Co-authored-by: ChrisRackauckas-Claude <[email protected]> Co-authored-by: Codex <[email protected]>
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.
This is the follow-up for N5/N6 from the round 1 review of the now-merged PR #126. It adds an exact complex Dirichlet split assertion and removes the unused
ComplexEqtype while renaming the local imaginary component variables to avoid shadowingBase.im.Verification
GROUP=Core /home/crackauc/.juliaup/bin/julia +1.11 --project=. -e 'using Pkg; Pkg.test()': passed;Core/complex_splitting.jl | 4 4 13.3s;Testing PDEBase tests passed.GROUP=QA /home/crackauc/.juliaup/bin/julia +1.11 --project=. -e 'using Pkg; Pkg.test()': passed;QA/qa.jl | 20 20 1m23.7s;Testing PDEBase tests passed.--check,typos src/make_pdesys_compatible.jl test/complex_splitting.jl, andgit diff --check: passed.Scope notes
split_complex_bcdirectly. ModelingToolkit has already represented the condition asPreSplitComplexBC;handle_complexcurrently errors while classifying such BCs. That is part of the separate N4 complex-BC follow-up and remains unchanged here.handle_complexbranch for systems with ordinary real equations and complex boundary conditions: those can haveeqs_have_complex == falsewhile the BC triggers complex handling, so the branch is reachable. The review's N1 also confirmed that the MethodOfLines legacy amplitude failures are caused by the fixture's loose solver tolerance; no MethodOfLines test was changed here.conjbehavior in N3 and the complex-BC defects in N4 remain out of scope.Links
Please ignore this draft until reviewed by @ChrisRackauckas.
🤖 Generated with Codex CLI 0.156.0 (model: gpt-6-luna); transcript: /home/crackauc/sandbox/agent-jobs/PDEBase.jl/jobs/125-codex/log.txt on amdci2.julia.csail.mit.edu