Snapshot WIP: solver HP epic progress, BPHX/HX physics, BMAD skill refresh.
Some checks failed
CI / check (push) Has been cancelled
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:
@@ -258,11 +258,13 @@ fn test_cold_start_estimate_then_populate() {
|
||||
"P_cond should be < 50 bar (not supercritical)"
|
||||
);
|
||||
|
||||
// Build a 2-edge system and populate state
|
||||
// Build a 2-edge system and populate state.
|
||||
// CM1.4: each LinearTargetSystem keeps only the mass-flow pin (empty targets)
|
||||
// so the 3-component chain is under-constrained and finalize succeeds.
|
||||
let mut sys = System::new();
|
||||
let n0 = sys.add_component(Box::new(LinearTargetSystem::new(vec![1.0, 1.0])));
|
||||
let n1 = sys.add_component(Box::new(LinearTargetSystem::new(vec![1.0, 1.0])));
|
||||
let n2 = sys.add_component(Box::new(LinearTargetSystem::new(vec![1.0, 1.0])));
|
||||
let n0 = sys.add_component(Box::new(LinearTargetSystem::new(vec![])));
|
||||
let n1 = sys.add_component(Box::new(LinearTargetSystem::new(vec![])));
|
||||
let n2 = sys.add_component(Box::new(LinearTargetSystem::new(vec![])));
|
||||
sys.add_edge(n0, n1).unwrap();
|
||||
sys.add_edge(n1, n2).unwrap();
|
||||
sys.finalize().unwrap();
|
||||
|
||||
Reference in New Issue
Block a user