S2-9c: embedded3_flag_reference_2d takes RTX_E3_FLAG_NY (default 62), its dt scaling with h so the reference and the slab march the same step at every rung
CI / Build (macos-latest) (push) Waiting to run
CI / Test (macos-latest) (push) Blocked by required conditions
CI / Test (ubuntu-latest) (push) Blocked by required conditions
CI / Python Bindings (maturin) (macos-latest) (push) Blocked by required conditions
CI / Python Bindings (maturin) (ubuntu-latest) (push) Blocked by required conditions
CI / WASM Build + Size Check (push) Blocked by required conditions
CI / Distributed Training Tests (push) Blocked by required conditions
CI / CI Success (push) Blocked by required conditions
CI / Format Check (push) Failing after 4s
CI / Build (ubuntu-latest) (push) Failing after 4s
Documentation / Build API Documentation (push) Failing after 4s
Documentation / Build User Guide (push) Successful in 5s
CI / Build CPU-Only (Explicit) (push) Failing after 1m27s
CI / Clippy Check (push) Failing after 1m46s
Performance Benchmarks / Run Benchmarks (push) Successful in 2m10s

Co-Authored-By: Claude Fable 5.1 <[email protected]>
This commit is contained in:
Omar Sobh
2026-09-21 02:24:33 -05:00
co-authored by Claude Fable 5.1
parent 3dcafd134f
commit d9239961ad
@@ -158,12 +158,14 @@ fn median(v: &[f64]) -> f64 {
#[tokio::test]
#[ignore = "S2-3c: the 2D reference for the flag wake's kinematics (minutes on the host)"]
async fn flag_wake_2d_reference() -> CfdResult<()> {
let ny = 62;
// S2-9c: `RTX_E3_FLAG_NY` (default 62); the step scales with h so the
// reference and the slab march the same dt at every rung.
let env_f = |k: &str, d: f64| std::env::var(k).ok().and_then(|v| v.parse().ok()).unwrap_or(d);
let ny = env_f("RTX_E3_FLAG_NY", 62.0) as usize;
let h = H / ny as f64;
let nx = (L / h).round() as usize;
let dt = 8.817e-4;
let dt = 8.817e-4 * 62.0 / ny as f64;
// S2-9: the record's period and the requested number of periods.
let env_f = |k: &str, d: f64| std::env::var(k).ok().and_then(|v| v.parse().ok()).unwrap_or(d);
let period = if recorded().is_some() { env_f("RTX_E3_FLAG_KIN_PERIOD", 0.5225) } else { 1.0 / FREQ };
let t_end = env_f("RTX_E3_FLAG_PERIODS", 2.0) * period;
let config = CfdConfig::new()