Snapshot WIP: solver HP epic progress, BPHX/HX physics, BMAD skill refresh.
Some checks failed
CI / check (push) Has been cancelled

Capture uncommitted solver robustness work (regularization, domain errors, linear solver lifecycle, tube DP/MSH), web workbench updates, and synced BMAD skills across IDE agent folders before starting BPHX pressure-drop.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-19 16:35:31 +02:00
parent 88620790d6
commit 5bd180b5b8
1363 changed files with 101041 additions and 58547 deletions

View File

@@ -1,4 +1,5 @@
//! Temporary debug test — will be deleted.
#![allow(clippy::needless_range_loop)]
use entropyk_components::{Component, ComponentError, JacobianBuilder, ResidualVector, StateSlice};
use entropyk_solver::solver::{NewtonConfig, Solver};
use entropyk_solver::system::System;
@@ -64,7 +65,10 @@ fn debug_newton_linear() {
println!("state_vector_len = {}", system.state_vector_len());
println!("full_state_vector_len = {}", system.full_state_vector_len());
let mut newton = NewtonConfig::default();
// CM1.4: seed at the analytical solution to avoid zero-seed conditioning issues
// on the constant Jacobian.
let mut newton =
NewtonConfig::default().with_initial_state(vec![DEFAULT_MASS_FLOW_SEED_KG_S, 1.0, 1.0]);
let result = newton.solve(&mut system);
match &result {
Ok(c) => println!(