nx_cloud_volume_gate.nx
buildroot/runtime/nx_cloud_volume_gate.nx
about
nx_cloud_volume_gate.nx -- PG22: DOES THE CLOUD VOLUME FOLLOW THE WEATHER FIELD, AND DOES THE SHEET STILL STAND?
SUBJECT: nx_worldgen.wg_cloud_volume (in-process) driven by nx_weather_pattern's own params (in-process). The rung's
done-rule in its own words: a gate proves the volume samples the weather field and the CPU tier keeps a sheet
fallback. Every value is emitted with gv_kv so a second method can recompute it from the declared inputs.
Fixtures are arithmetic (a sample grid over the deck), so the gate has no filesystem state to leak.
dependencies 4 imports · 0 importers
imports: nx_syscalls.nxnx_gate_verdict.nxnx_worldgen.nxnx_weather_pattern.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
| 11 | const CG_SEED: i64 = 20260906 |
| 12 | const CG_GRID: i64 = 8 // samples per axis over the deck (8^3 per mean) |
| 13 | const CG_SPAN: i64 = 12800 // world units sampled per horizontal axis |
| 14 | const CG_T0: i64 = 0 |
| 15 | const CG_T1: i64 = 500 |
| 16 | const CG_WIND_Q10: i64 = 512 // half the field's unit wind |
| 17 | const CG_COLS: i64 = 64 |
| 18 | const CG_SHEET_CLOUD: i64 = 110 // the incumbent OVERCAST cloud param (wg_weather mode 2, W[13]) |
| 19 | const CG_SHEET_RANGE: i64 = 3000 |
| 20 | const CG_SHEET_HALF: i64 = 1500 |
| 21 | const CG_PRIME_A: i64 = 97 |
| 22 | const CG_PRIME_B: i64 = 53 |
functions
| 24 | func cg_mean_density(cover: i64, wdx: i64, wdz: i64, t: i64, seed: i64, cnt: *i64) -> i64 called by 1: main |
| 48 | func cg_cover_for(kind: i64) -> i64 |
| 54 | func main() -> i64 |