embedded3 S2-5: centroid diffusion default ON (RTX_E3_DIFFUSION_CENTROID=0 restores the records); flat_wall_position_is_second_order gate; closure.rs split (cutwall.rs under 700)
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 / Build (macos-latest) (push) Waiting to run
CI / Format Check (push) Failing after 4s
CI / Clippy Check (push) Failing after 4s
Performance Benchmarks / Run Benchmarks (push) Failing after 5s
CI / Build (ubuntu-latest) (push) Failing after 4s
Documentation / Build User Guide (push) Successful in 7s
CI / Build CPU-Only (Explicit) (push) Failing after 54s
Documentation / Build API Documentation (push) Failing after 1m0s

Co-Authored-By: Claude Fable 5.1 <[email protected]>
This commit is contained in:
Omar Sobh
2026-09-18 12:37:56 -05:00
co-authored by Claude Fable 5.1
parent 37086300ba
commit 99e4a7214b
6 changed files with 178 additions and 136 deletions
@@ -121,7 +121,7 @@ pub struct Parameters {
/// wall's in-plane normal) instead of `h`. With `h` the coupling of a
/// cut face to its neighbour is weak by `(1 + α)/2` and the no-slip
/// surface sits `½(1 α) h` inside the body (the flat-wall instrument).
/// `RTX_E3_DIFFUSION_CENTROID=1`.
/// Default ON; `RTX_E3_DIFFUSION_CENTROID=0` restores the old spacing.
pub diffusion_centroid: bool,
}
@@ -147,7 +147,9 @@ impl Default for Parameters {
.is_ok_and(|v| v == "oblique"),
wall_exchange_axis: std::env::var("RTX_E3_WALL_EXCHANGE").is_ok_and(|v| v == "axis"),
pressure_centroid: std::env::var("RTX_E3_PRESSURE_CENTROID").is_ok_and(|v| v == "1"),
diffusion_centroid: std::env::var("RTX_E3_DIFFUSION_CENTROID").is_ok_and(|v| v == "1"),
// ON by default since S2-5 (`=0` reproduces the records before it).
diffusion_centroid: std::env::var("RTX_E3_DIFFUSION_CENTROID")
.map_or(true, |v| v != "0"),
}
}
}