Repository navigation
Transfer MTK metadata from PDESystem to discretized System - #658
Merged
Merged
Conversation
tests mtk metadata is passed through to the discretized system and that the final system is compiled according to that metadata (irreducible=true on g)
the metadata from the pdesys variables is copied to the discretized array variable - MTK then ensures the individual indexes of the array variable use the same metadata
Contributor
Author
|
Fixes #614 |
ChrisRackauckas
approved these changes
Aug 24, 2026
Contributor
Author
|
I have fixed the formatting and explicit import errors. Everything should pass now |
ChrisRackauckas
referenced
this pull request
Aug 27, 2026
v1.1.1 was never registered - AutoMerge rejected it because `import MethodOfLines` failed, and that PR was closed unmerged. The version number is therefore still free, so 1.1.2 would skip it and trips the sequential-version guideline. Restore 1.1.1, keeping the Symbolics 7.38 floor that actually fixes the load failure. Claude-Session: https://claude.ai/code/session_014FEzNTLFutCmTEAZ3zBg5R Co-authored-by: Claude <[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.
Checklist
contributor guidelines, in particular the SciML Style Guide and
COLPRAC.
Additional context
Any MTK metadata (those available as ModelingToolkit.Variable...) that is present in the PDESystem is now copied across to the final discretized system. This allows options like irreducible to be used to avoid simplifications and reductions on particular variables.
There are some metadata options that aren't included here (default, guess, disturbance, distribution, and tunable), since I don't think they work with
hasmetadataandgetmetadata, and there is no public setter for them.