feat(python): implement python bindings for all components and solvers

This commit is contained in:
Sepehr
2026-02-21 20:34:56 +01:00
parent 8ef8cd2eba
commit 4440132b0a
310 changed files with 11577 additions and 397 deletions

View File

@@ -7,7 +7,9 @@
//! - AC #4: Backward compatibility — no freezing by default
use approx::assert_relative_eq;
use entropyk_components::{Component, ComponentError, JacobianBuilder, ResidualVector, SystemState};
use entropyk_components::{
Component, ComponentError, JacobianBuilder, ResidualVector, SystemState,
};
use entropyk_solver::{
solver::{JacobianFreezingConfig, NewtonConfig, Solver},
System,
@@ -370,5 +372,8 @@ fn test_jacobian_freezing_already_converged_at_initial_state() {
let result = solver.solve(&mut sys);
assert!(result.is_ok(), "Should converge: {:?}", result.err());
let converged = result.unwrap();
assert_eq!(converged.iterations, 0, "Should be converged at initial state");
assert_eq!(
converged.iterations, 0,
"Should be converged at initial state"
);
}