Skip to content

Conversation

@ChrisRackauckas-Claude
Copy link

Summary

This PR adds comprehensive docstrings for the DAE initialization algorithms defined in SciMLBase that previously only had placeholder TYPEDEF documentation.

Changes

Added full docstrings for:

  1. NoInit: Includes strong warning about usage risks
  2. CheckInit: Documents verification-only behavior
  3. OverrideInit: Documents ModelingToolkit integration use case

Each docstring includes:

  • Clear description of the algorithm's purpose
  • Use cases and when to apply each algorithm
  • Code examples
  • Warnings where appropriate (especially for NoInit)
  • Field documentation for OverrideInit

Related PRs

Note

The DiffEqBase PR #1214 has been updated to remove these docstrings from there since they belong in SciMLBase where the types are defined.

🤖 Generated with Claude Code

Co-Authored-By: Claude [email protected]

- Document NoInit with strong warnings about usage risks
- Document CheckInit as the verification-only algorithm
- Document OverrideInit for ModelingToolkit integration
- Include examples and use cases for each algorithm
- Add field documentation for OverrideInit
@ChrisRackauckas ChrisRackauckas merged commit aa7e19c into SciML:master Sep 16, 2025
38 of 63 checks passed
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