code wiki / (root) / nx_wallstat.nx

nx_wallstat.nx

buildroot/runtime/nx_wallstat.nx

5142 B141 linesdepth 4pulls 7 transitivereach 0 importersview sourcekind orphan library
docsdependenciesstructsconstsfunctions

about

nx_wallstat.nx -- Analyzes mesh face thicknesses to detect dominant wall structures while avoiding false positives from surface roughness.

dependencies 1 imports · 0 importers

nx_meshthick.nx nx_wallstat.nx

imports: nx_meshthick.nx

imported by: nobody (leaf or entry point)

structs

none

consts

17const WS_BINS: i64 = 48
18const WS_DOMINANT: i64 = 18 // the mode cluster must hold >=18% of measured faces to count as a wall
19const WS_MINFACES: i64 = 12 // below this there is not enough evidence to call anything a wall

functions

23func ws_wall(mesh: i64, out4: *i64, hist: *i64, vals: *i64) -> i64