code wiki / (root) / nx_tfl_decimate_gate.nx

nx_tfl_decimate_gate.nx

buildroot/runtime/nx_tfl_decimate_gate.nx

1684 B30 linesdepth 5pulls 12 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_tfl_decimate_gate.nx -- NXMSH2 TFL reducer gate

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_gate_verdict.nx nx_tissuefield_lib.nx nx_tfl_decimate_gate.nx

imports: nx_syscalls.nxnx_gate_verdict.nxnx_tissuefield_lib.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sys_mmap nxa_die sys_write sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ gv_head gv_puts sys_write ↻ tfl_mesh_new sys_mmap ↻ tfl_mesh_load sys_mmap ↻ sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_munmap sys_close nm_ntris nm_u32 nm_tri_base nm_nlayers nm_u32 ↻ nm_coord vm_f32_to_int nm_u32 ↻ vm_f32_to_int ↻ nm_u32 ↻

structs

none

consts

7const TD_DEFAULT_IN: *u8 = "/volume1/homes/elderwesto/nishihost/buildroot/knowledge/gates/beach-skin-t375.nxmesh"
8const TD_DEFAULT_OUT: *u8 = "/tmp/nx_tfl_lod_default.nxmesh"
9const TD_DEFAULT_CELL: *u8 = "50"

functions

6func td_atoi(s: *u8) -> i64 { var i: i64 = 0; var v: i64 = 0; while s[i] != (0 as u8) { let c: i64 = s[i] as i64; if c >= 48 { if c <= 57 { v = v * 10 + c - 48 } }; i = i + 1 }; return v }
called by 1: main
10func main(argc: i64, argv: *i64) -> i64