nx_chem_extended.nx
buildroot/runtime/nx_chem_extended.nx
about
nx_chem_extended.nx -- periodic table 1..36 + binary reaction balancer.
Per the comparison commit's named LOSE_BIG improvement vs
Mathematica: "extend periodic table to 118 + balance reactions".
This commit ships 1..36 (covers all of period 1-4: H..Kr) plus a
binary reaction balancer. Periods 5-7 are queued.
Atomic masses are IUPAC 2021 standard, stored in milli-AMU (Q3
fixed point) for exact integer arithmetic.
dependencies 1 imports · 2 importers
imports: nx_chem.nx
imported by: nx_calc_chem_test.nxnx_chem_periodic.nx
structs
| none |
consts
| 18 | const K_MAGIC_4003: i64 = 4003 |
| 19 | const K_MAGIC_6941: i64 = 6941 |
| 20 | const K_MAGIC_9012: i64 = 9012 |
| 21 | const K_MAGIC_10811: i64 = 10811 |
| 22 | const K_MAGIC_12011: i64 = 12011 |
| 23 | const K_MAGIC_14007: i64 = 14007 |
| 24 | const K_MAGIC_15999: i64 = 15999 |
| 25 | const K_MAGIC_18998: i64 = 18998 |
| 26 | const K_MAGIC_20180: i64 = 20180 |
| 27 | const K_MAGIC_22990: i64 = 22990 |
| 28 | const K_MAGIC_24305: i64 = 24305 |
| 29 | const K_MAGIC_26982: i64 = 26982 |
| 30 | const K_MAGIC_28086: i64 = 28086 |
| 31 | const K_MAGIC_30974: i64 = 30974 |
| 32 | const K_MAGIC_32066: i64 = 32066 |
| 33 | const K_MAGIC_35453: i64 = 35453 |
| 34 | const K_MAGIC_39948: i64 = 39948 |
| 35 | const K_MAGIC_39098: i64 = 39098 |
| 36 | const K_MAGIC_40078: i64 = 40078 |
| 37 | const K_MAGIC_44956: i64 = 44956 |
| 38 | const K_MAGIC_47867: i64 = 47867 |
| 39 | const K_MAGIC_50942: i64 = 50942 |
| 40 | const K_MAGIC_51996: i64 = 51996 |
| 41 | const K_MAGIC_54938: i64 = 54938 |
| 42 | const K_MAGIC_55845: i64 = 55845 |
| 43 | const K_MAGIC_58933: i64 = 58933 |
| 44 | const K_MAGIC_58693: i64 = 58693 |
| 45 | const K_MAGIC_63546: i64 = 63546 |
| 46 | const K_MAGIC_65380: i64 = 65380 |
| 47 | const K_MAGIC_69723: i64 = 69723 |
| 48 | const K_MAGIC_72630: i64 = 72630 |
| 49 | const K_MAGIC_74922: i64 = 74922 |
| 50 | const K_MAGIC_78971: i64 = 78971 |
| 51 | const K_MAGIC_79904: i64 = 79904 |
| 52 | const K_MAGIC_83798: i64 = 83798 |
functions
| 57 | func nx_chem_periodic_table_36() -> *Element |
| 138 | func nx_chem_element_by_z_36(table: *Element, z: nx_int) -> *Element |
| 156 | func nx_chem_count_atom(m: *Molecule, target_z: nx_int) -> nx_int called by 1: nx_chem_reaction_check |
| 170 | func nx_chem_reaction_check( |
| 188 | func nx_chem_o2() -> *Molecule |
| 194 | func nx_chem_h2() -> *Molecule called by 2: t9_reaction_balancedt10_reaction_unbalanced calls 2: nx_chem_molecule_newnx_chem_molecule_set |
| 200 | func nx_chem_nacl() -> *Molecule |
| 207 | func nx_chem_iron() -> *Molecule |
| 214 | func nx_chem_feo() -> *Molecule |