nx_gm_xpbd_drape_t138.nx
buildroot/runtime/nx_gm_xpbd_drape_t138.nx
about
nx_gm_xpbd_gate.nx -- GATE for PG29's cloth solver (gm_xpbd_step in nx_nxa_garment.nx).
THE DONE-RULE WAS PRE-DECLARED ON THE PLAN before this gate existed (procgen.plan PG29):
"Done when a dropped sheet folds under gravity with area conserved within a derived bound
and a planted stiffness change measurably changes the fold."
Every tooth below is one clause of that sentence, plus the anti-vacuity controls the estate's
gate law demands. Fixture: a ring-grid sheet built by the SAME gm_edges_build the solver uses,
pinned at its top ring -- the garment's own GPIN contract shape.
license_tier: ORIGINAL No hw writes (Rule 26).
dependencies 4 imports · 0 importers
imports: nx_syscalls.nxnx_softtissue.nxnx_gm_cloth_lib_t138.nxnx_gate_verdict.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 17 | const XG_NU: i64 = 12 |
| 18 | const XG_NV: i64 = 8 |
| 19 | const XG_R: i64 = 1000 |
| 20 | const XG_DZ: i64 = 400 |
| 24 | const XG_G: i64 = 0 - 40 |
| 25 | const XG_DT_US: i64 = 16666 |
| 26 | const XG_TICKS: i64 = 120 |
| 27 | const XG_ITERS: i64 = 8 |
| 32 | const XG_ALPHA_BEND_SOFT_Q12: i64 = 40960 |
| 33 | const XG_ALPHA_BEND_STIFF_Q12: i64 = 409 |
functions
| 35 | func xg_build(verts: *i64, vel: *i64) -> i64 |
| 68 | func xg_run(verts: *i64, vel: *i64, nvv: i64, edges: *i64, ne: i64, |
| 79 | func xg_hem_z_avg(verts: *i64) -> i64 called by 1: main |
| 86 | func xg_shape_diff(va: *i64, vb: *i64, nvv: i64) -> i64 called by 1: main |
| 99 | func main() -> i64 |