Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/yang/blob/main/scripts/dyadic_w2_dump.om # yang This project has not described itself yet. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `yang / scripts / dyadic_w2_dump.om` 42 lines ยท 712 bytes Raw Blame History 1 note Replay both per-box energy bounds at every field box used by III-B and IV. 2 text space " " 3 text newline "\n" 4 5 fn dumpBeta bps long to void 6 inc = mul mul 6 bps wScale 7 for k ulong 128 8 lo = floorRatio mul long k inc `1280000` 9 hi = ceilRatio mul long add k 1 inc `1280000` 10 w2FieldBox lo hi 11 uPrintI bps 12 uPrint space 13 uPrintU k 14 uPrint space 15 uPrintI get wBoxEnergy 0 16 uPrint space 17 uPrintI get wBoxEnergy 1 18 uPrint newline 19 end 20 end 21 22 fn main to int 23 initTrigGrid 24 initW2Angles 25 dumpBeta 1000 26 dumpBeta 1272 27 dumpBeta 1500 28 dumpBeta 1800 29 dumpBeta 1900 30 dumpBeta 1950 31 dumpBeta 2000 32 dumpBeta 2200 33 dumpBeta 2400 34 dumpBeta 2450 35 dumpBeta 2500 36 dumpBeta 2600 37 dumpBeta 2750 38 dumpBeta 2800 39 dumpBeta 2830 40 dumpBeta 2880 41 ret int get wFailed 0 42 end