R7 composite: cut flag threshold, P2 direct comparison against the uniformly fine solution on the patch cells

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This commit is contained in:
Omar Sobh
2026-09-25 17:55:23 -05:00
co-authored by Claude Opus 5.5
parent e19cad03b2
commit d49f2787d9
2 changed files with 95 additions and 2 deletions
@@ -176,7 +176,7 @@ impl Composite {
origin[2] + (k as f64 + 0.5) * hf,
]);
volume.push(frac * hf * hf * hf);
cut_flag.push(frac < 1.0);
cut_flag.push(frac < 1.0 - 1e-9);
}
}
}