Skip to content

Conversation

@davidfillmore
Copy link
Collaborator

@davidfillmore davidfillmore commented Nov 25, 2025

  • Implemented builder-level support for future constraints without changing current behavior: added constraint count/name setters and used them to size Jacobian/state vectors and extend variable names, while carrying the count into StateParameters (include/micm/solver/solver_builder.hpp, include/micm/solver/solver_builder.inl). State now honors the provided constraint count when building identity masks and Jacobian dimensions (include/micm/solver/state.inl). AlphaMinusJacobian applies αI using a row-aware identity mask, preparing for masked constraint rows (include/micm/solver/rosenbrock.inl). Tests: cmake --build build and ctest --output-on-failure (all 48 tests passed).

davidfillmore and others added 12 commits October 15, 2025 11:11
…ging current behavior: added constraint count/name setters and used them to size Jacobian/state vectors and extend variable names, while carrying the count into StateParameters (include/micm/solver/solver_builder.hpp, include/micm/solver/solver_builder.inl). State now honors the provided constraint count when building identity masks and Jacobian dimensions (include/micm/solver/state.inl). AlphaMinusJacobian applies αI using a row-aware identity mask, preparing for masked constraint rows (include/micm/solver/rosenbrock.inl). Tests: cmake --build build and ctest --output-on-failure (all 48 tests passed).
@davidfillmore davidfillmore changed the title rosenbrock dae Rosenbrock DAE Constraint Count Nov 25, 2025
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