sci-form-wasm 0.10.6 → 0.12.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,232 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
 
4
+ /**
5
+ * Persistent live simulation state accessible from JavaScript.
6
+ *
7
+ * The browser creates one instance via `live_simulation_create`, then calls
8
+ * `live_simulation_step` and reads the flat coordinate buffer each
9
+ * animation frame.
10
+ */
11
+ export class LiveSimulation {
12
+ free(): void;
13
+ [Symbol.dispose](): void;
14
+ /**
15
+ * Apply a harmonic steering force pulling atom `atom_index` toward `(tx, ty, tz)`.
16
+ */
17
+ apply_steering_force(atom_index: number, tx: number, ty: number, tz: number, spring_k: number): void;
18
+ /**
19
+ * Apply a Berendsen thermostat coupling towards `target_temp` K.
20
+ */
21
+ apply_thermostat(target_temp: number, tau_fs: number, dt_fs: number): void;
22
+ /**
23
+ * Clear all accumulated steering forces (call before next IMD frame).
24
+ */
25
+ clear_steering(): void;
26
+ /**
27
+ * Return current kinetic energy.
28
+ */
29
+ kinetic_energy(): number;
30
+ /**
31
+ * Create a new live simulation from SMILES, flat coordinates, and backend name.
32
+ *
33
+ * `backend`: `"uff"` | `"pm3"` | `"xtb"`.
34
+ */
35
+ constructor(smiles: string, coords_flat: string, backend: string);
36
+ /**
37
+ * Get the number of atoms.
38
+ */
39
+ num_atoms(): number;
40
+ /**
41
+ * Return current flat positions as a JSON array.
42
+ */
43
+ positions_json(): string;
44
+ /**
45
+ * Sync internal buffers and return a pointer to the flat positions array.
46
+ *
47
+ * The caller (JS side) can construct a `Float64Array` view over WASM memory
48
+ * at this pointer, with length = `num_atoms * 3`.
49
+ */
50
+ positions_ptr(): number;
51
+ /**
52
+ * Return current potential energy (from last force computation).
53
+ */
54
+ potential_energy(): number;
55
+ /**
56
+ * Set velocities from a Maxwell-Boltzmann distribution at `temperature` K.
57
+ */
58
+ set_temperature(temperature: number, seed: bigint): void;
59
+ /**
60
+ * Advance the simulation by `n_steps` with time step `dt_fs` (femtoseconds).
61
+ */
62
+ step(n_steps: number, dt_fs: number): void;
63
+ /**
64
+ * Return simulation step count.
65
+ */
66
+ step_count(): number;
67
+ /**
68
+ * Return current kinetic temperature in Kelvin.
69
+ */
70
+ temperature(): number;
71
+ }
72
+
73
+ /**
74
+ * Compute the Boys function F_n(x).
75
+ *
76
+ * Returns JSON: `{ "value": 0.9846 }`
77
+ */
78
+ export function alpha_boys_function(n: number, x: number): string;
79
+
80
+ /**
81
+ * Compute Atomic Environment Vectors (AEVs) for each atom.
82
+ *
83
+ * Uses default symmetry function parameters unless `params_json` is provided.
84
+ *
85
+ * Returns JSON: `{ "n_atoms": 5, "aev_length": 384, "aevs": [[...], [...]] }`
86
+ */
87
+ export function alpha_compute_aevs(elements_json: string, coords_flat_json: string, params_json: string): string;
88
+
89
+ /**
90
+ * Run a Kohn-Sham DFT single-point calculation.
91
+ *
92
+ * `method`: `"svwn"` (LDA) | `"pbe"` (GGA, default).
93
+ *
94
+ * Returns JSON `DftResult`:
95
+ * ```json
96
+ * { "energy": -1.12, "homo_energy": -0.5, "lumo_energy": 0.1, "gap": 0.6,
97
+ * "converged": true, "n_basis": 5, "scf_iterations": 12,
98
+ * "mulliken_charges": [...], "orbital_energies": [...],
99
+ * "nuclear_repulsion": 0.72, "xc_energy": -0.3 }
100
+ * ```
101
+ */
102
+ export function alpha_compute_dft(elements_json: string, coords_flat_json: string, method: string): string;
103
+
104
+ /**
105
+ * Solve EEM charges for a molecule using the ReaxFF charge model.
106
+ *
107
+ * Returns JSON: `{ "charges": [...], "total_charge": 0.0 }`
108
+ */
109
+ export function alpha_compute_eem_charges(elements_json: string, coords_flat_json: string): string;
110
+
111
+ /**
112
+ * Compute MLFF energy and forces using pre-configured element networks.
113
+ *
114
+ * `config_json` is a JSON object matching `MlffConfig`:
115
+ * ```json
116
+ * {
117
+ * "aev_params": { "radial_cutoff": 6.0, "angular_cutoff": 3.5, ... },
118
+ * "element_nets": {
119
+ * "1": { "layers": [[...weights...]], "biases": [[...]] },
120
+ * "6": { ... }
121
+ * }
122
+ * }
123
+ * ```
124
+ *
125
+ * Returns JSON: `{ "energy": -1.23, "atomic_energies": [...], "forces": [...] }`
126
+ */
127
+ export function alpha_compute_mlff(elements_json: string, coords_flat_json: string, config_json: string): string;
128
+
129
+ /**
130
+ * Compute ReaxFF energy components for a molecule (no gradient).
131
+ *
132
+ * Returns JSON with keys `bonded`, `coulomb`, `van_der_waals`, `total`.
133
+ */
134
+ export function alpha_compute_reaxff_energy(elements_json: string, coords_flat_json: string): string;
135
+
136
+ /**
137
+ * Compute ReaxFF energy and gradient for a molecule.
138
+ *
139
+ * Returns JSON:
140
+ * ```json
141
+ * { "energy_kcal_mol": 12.3,
142
+ * "gradient": [gx0, gy0, gz0, gx1, gy1, gz1, ...] }
143
+ * ```
144
+ */
145
+ export function alpha_compute_reaxff_gradient(elements_json: string, coords_flat_json: string): string;
146
+
147
+ /**
148
+ * Compute a single (ss|ss) two-electron repulsion integral using Obara-Saika.
149
+ *
150
+ * `shell_a_json` / `shell_b_json` / `shell_c_json` / `shell_d_json` are JSON
151
+ * objects `{ "alpha": 1.0, "center": [x, y, z] }`.
152
+ *
153
+ * Returns JSON: `{ "eri": 4.37 }`
154
+ */
155
+ export function alpha_eri_ssss(shell_a_json: string, shell_b_json: string, shell_c_json: string, shell_d_json: string): string;
156
+
157
+ /**
158
+ * Grow the reaction string and find the transition state node between
159
+ * reactant and product geometries using UFF energy.
160
+ *
161
+ * Returns JSON `GsmResult`:
162
+ * ```json
163
+ * { "ts_coords": [...], "ts_energy": 12.3,
164
+ * "path_energies": [...], "n_nodes": 5, "converged": true }
165
+ * ```
166
+ */
167
+ export function alpha_gsm_find_ts(smiles: string, reactant_coords_json: string, product_coords_json: string, config_json: string): string;
168
+
169
+ /**
170
+ * Interpolate a node along the reaction path at parameter t ∈ [0, 1].
171
+ *
172
+ * `reactant_json` / `product_json` — flat coordinate arrays.
173
+ *
174
+ * Returns JSON: `{ "coords": [...] }`
175
+ */
176
+ export function alpha_gsm_interpolate(reactant_json: string, product_json: string, t: number): string;
177
+
178
+ /**
179
+ * Return alpha module metadata.
180
+ *
181
+ * Returns JSON: `{ "alpha_modules": ["dft", "reaxff", "mlff", "obara-saika",
182
+ * "cga", "gsm", "sdr", "dynamics-live"] }`
183
+ */
184
+ export function alpha_modules_info(): string;
185
+
186
+ /**
187
+ * Refine a single dihedral torsion to a target angle using CGA.
188
+ *
189
+ * `smiles` — SMILES string for bond connectivity.
190
+ * `torsion_indices_json` — 4 atom indices [i, j, k, l].
191
+ * `target_angle_rad` — target dihedral angle in radians.
192
+ *
193
+ * Returns JSON: `{ "coords": [...] }`
194
+ */
195
+ export function alpha_refine_torsion_cga(elements_json: string, coords_flat_json: string, smiles: string, torsion_indices_json: string, target_angle_rad: number): string;
196
+
197
+ /**
198
+ * Apply a CGA dihedral rotation to a sub-tree of atoms.
199
+ *
200
+ * `coords_flat_json` — flat [x0,y0,z0,...] for all atoms.
201
+ * `subtree_indices_json` — atom indices to rotate.
202
+ * `axis_a_json` / `axis_b_json` — the two atoms defining the rotation axis ([x,y,z]).
203
+ * `angle_rad` — rotation angle in radians.
204
+ *
205
+ * Returns JSON: `{ "coords": [x0,y0,z0,...] }`
206
+ */
207
+ export function alpha_rotate_dihedral_cga(coords_flat_json: string, subtree_indices_json: string, axis_a_json: string, axis_b_json: string, angle_rad: number): string;
208
+
209
+ /**
210
+ * Compute Schwarz pre-screening bound Q_ab = √〈ab|ab〉.
211
+ *
212
+ * Returns JSON: `{ "schwarz_bound": 0.8432 }`.
213
+ */
214
+ export function alpha_schwarz_bound(alpha: number, center_a_json: string, beta: number, center_b_json: string): string;
215
+
216
+ /**
217
+ * Embed a molecule from pairwise distance constraints using Semidefinite Relaxation.
218
+ *
219
+ * `distance_pairs_json` — array of `[[i, j, d_ij], ...]` where d_ij is in Å.
220
+ * `n_atoms` — total number of atoms.
221
+ * `config_json` — optional SdrConfig JSON or `{}` for defaults.
222
+ *
223
+ * Returns JSON `SdrResult`:
224
+ * ```json
225
+ * { "coords": [...], "residual": 0.001, "converged": true, "iterations": 45 }
226
+ * ```
227
+ */
228
+ export function alpha_sdr_embed(distance_pairs_json: string, n_atoms: number, config_json: string): string;
229
+
4
230
  /**
5
231
  * Analyze aromaticity and graph-level stereocenters from SMILES.
6
232
  */
@@ -25,6 +251,98 @@ export function analyze_stereo(smiles: string, coords_flat: string): string;
25
251
  */
26
252
  export function assemble_framework(topology: string, metal: number, geometry: string, lattice_a: number, supercell: number): string;
27
253
 
254
+ /**
255
+ * Compute constant-potential charges using the CPM model.
256
+ *
257
+ * `potential` — target electrode potential in eV.
258
+ *
259
+ * Returns JSON: `{ "charges": [...], "total_charge": 0.5, "energy": -1.2 }`
260
+ */
261
+ export function beta_compute_cpm_charges(elements_json: string, coords_flat_json: string, potential: number): string;
262
+
263
+ /**
264
+ * Compute EHT Density of States using the Kernel Polynomial Method (O(N)).
265
+ *
266
+ * Builds the EHT Hamiltonian internally from geometry, then runs KPM.
267
+ *
268
+ * `config_json` fields (all optional):
269
+ * - `order` (int, default 100): Chebyshev expansion order
270
+ * - `n_points` (int, default 200): Energy grid points
271
+ * - `e_min` (float): Override spectral minimum
272
+ * - `e_max` (float): Override spectral maximum
273
+ * - `temperature` (float, default 0): Electronic temperature in K
274
+ *
275
+ * Returns JSON `KpmDosResult`:
276
+ * ```json
277
+ * { "energies": [...], "total_dos": [...], "e_min": -30.0, "e_max": 5.0,
278
+ * "order": 100 }
279
+ * ```
280
+ */
281
+ export function beta_compute_kpm_dos(elements_json: string, coords_flat_json: string, config_json: string): string;
282
+
283
+ /**
284
+ * Compute EHT Mulliken populations using KPM (O(N) stochastic trace).
285
+ *
286
+ * Returns JSON: `{ "mulliken_charges": [...], "orbital_populations": [...] }`
287
+ */
288
+ export function beta_compute_kpm_mulliken(elements_json: string, coords_flat_json: string): string;
289
+
290
+ /**
291
+ * Compute vibrational frequencies using Mobile Block Hessian (reduced DOF).
292
+ *
293
+ * Uses UFF as the energy evaluator internally.
294
+ *
295
+ * Returns JSON `MbhResult`:
296
+ * ```json
297
+ * { "frequencies": [...], "n_blocks": 3, "n_flexible": 2,
298
+ * "n_dof_reduced": 12, "n_dof_full": 24, "speedup": 2.0 }
299
+ * ```
300
+ */
301
+ export function beta_compute_mbh_frequencies(elements_json: string, coords_flat_json: string, smiles: string): string;
302
+
303
+ /**
304
+ * Return beta module metadata.
305
+ *
306
+ * Returns JSON: `{ "beta_modules": ["kpm", "mbh", "randnla", "riemannian", "cpm"] }`
307
+ */
308
+ export function beta_modules_info(): string;
309
+
310
+ /**
311
+ * Compute Riemannian distance between two PSD matrices.
312
+ *
313
+ * `matrix_a_json` / `matrix_b_json` — flat row-major arrays with `dim` dimension.
314
+ *
315
+ * Returns JSON: `{ "distance": 0.12 }`
316
+ */
317
+ export function beta_psd_distance(matrix_a_json: string, matrix_b_json: string, dim: number): string;
318
+
319
+ /**
320
+ * Project a symmetric matrix onto the PSD (positive semidefinite) cone.
321
+ *
322
+ * `matrix_json` — flat row-major array with `dim` dimension.
323
+ *
324
+ * Returns JSON: `{ "matrix": [...flat psd projection...], "was_psd": false }`
325
+ */
326
+ export function beta_psd_projection(matrix_json: string, dim: number): string;
327
+
328
+ /**
329
+ * Solve EHT with a randomized Nyström eigensolver instead of O(N³) exact diag.
330
+ *
331
+ * `config_json` fields (all optional):
332
+ * - `sketch_size` (int): Nyström rank k. Default: √N
333
+ * - `seed` (int, default 42)
334
+ * - `max_error` (float, default 0.001): Max relative residual before fallback
335
+ * - `fallback_enabled` (bool, default true)
336
+ *
337
+ * Returns JSON:
338
+ * ```json
339
+ * { "orbital_energies": [...], "homo_index": 4, "homo_energy": -0.5,
340
+ * "lumo_energy": 0.1, "gap": 0.6,
341
+ * "k": 12, "residual_error": 0.0003, "used_fallback": false }
342
+ * ```
343
+ */
344
+ export function beta_solve_eht_randnla(elements_json: string, coords_flat_json: string, config_json: string): string;
345
+
28
346
  /**
29
347
  * Butina clustering on conformers (flat coordinate arrays in JSON).
30
348
  *
@@ -53,6 +371,14 @@ export function compute_bond_orders(elements: string, coords_flat: string): stri
53
371
  */
54
372
  export function compute_charges(smiles: string): string;
55
373
 
374
+ /**
375
+ * **ALPHA** — Run Kohn-Sham DFT calculation.
376
+ *
377
+ * `method`: `"svwn"` (LDA) or `"pbe"` (GGA).
378
+ * Returns JSON DftResult with energy, orbital energies, gap, Mulliken charges.
379
+ */
380
+ export function compute_dft(elements_json: string, coords_flat_json: string, method: string): string;
381
+
56
382
  /**
57
383
  * Compute molecular dipole moment.
58
384
  */
@@ -112,6 +438,21 @@ export function compute_fukui_descriptors(elements: string, coords_flat: string)
112
438
  */
113
439
  export function compute_gb_solvation(elements: string, coords_flat: string, charges: string, solvent_dielectric: number, solute_dielectric: number, probe_radius: number): string;
114
440
 
441
+ /**
442
+ * Run a GFN1-xTB tight-binding calculation.
443
+ */
444
+ export function compute_gfn1(elements_json: string, coords_flat_json: string): string;
445
+
446
+ /**
447
+ * Run a GFN2-xTB tight-binding calculation.
448
+ */
449
+ export function compute_gfn2(elements_json: string, coords_flat_json: string): string;
450
+
451
+ /**
452
+ * Run the public SCF-backed GIAO NMR route for a specific nucleus.
453
+ */
454
+ export function compute_giao_nmr(elements_json: string, coords_flat_json: string, nucleus: string, charge: number, multiplicity: number, max_scf_iter: number, allow_basis_fallback: boolean, use_parallel_eri: boolean): string;
455
+
115
456
  /**
116
457
  * Run a HF-3c calculation with default configuration.
117
458
  */
@@ -171,7 +512,7 @@ export function compute_molecular_descriptors(smiles: string): string;
171
512
  /**
172
513
  * Generate a complete NMR spectrum.
173
514
  *
174
- * `nucleus`: "1H", "13C", "19F", "31P", "15N", "11B", "29Si", "77Se", "17O", or "33S".
515
+ * `nucleus`: any supported nucleus alias, such as "1H", "13C", "35Cl", "79Br", or "195Pt".
175
516
  */
176
517
  export function compute_nmr_spectrum(smiles: string, nucleus: string, gamma: number, ppm_min: number, ppm_max: number, n_points: number): string;
177
518
 
@@ -404,6 +745,11 @@ export function predict_nmr_couplings(smiles: string, coords_flat_json: string):
404
745
  */
405
746
  export function predict_nmr_shifts(smiles: string): string;
406
747
 
748
+ /**
749
+ * Predict NMR chemical shifts for a specific nucleus.
750
+ */
751
+ export function predict_nmr_shifts_for_nucleus(smiles: string, nucleus: string): string;
752
+
407
753
  /**
408
754
  * Search conformers by sampling, torsion refinement, and UFF ranking.
409
755
  *
@@ -448,44 +794,63 @@ export function webgpu_status(): string;
448
794
  export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
449
795
 
450
796
  export interface InitOutput {
451
- readonly compute_uff_energy: (a: number, b: number, c: number, d: number, e: number) => void;
452
- readonly compute_uff_energy_with_aromatic_heuristics: (a: number, b: number, c: number, d: number, e: number) => void;
453
- readonly compute_mmff94_energy: (a: number, b: number, c: number, d: number, e: number) => void;
454
- readonly compute_empirical_pka: (a: number, b: number, c: number) => void;
455
- readonly compute_frontier_descriptors: (a: number, b: number, c: number, d: number, e: number) => void;
456
- readonly compute_fukui_descriptors: (a: number, b: number, c: number, d: number, e: number) => void;
457
- readonly compute_reactivity_ranking: (a: number, b: number, c: number, d: number, e: number) => void;
458
- readonly compute_uv_vis_spectrum: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
459
- readonly analyze_graph_features: (a: number, b: number, c: number) => void;
460
- readonly compute_topology: (a: number, b: number, c: number, d: number, e: number) => void;
797
+ readonly compute_nonpolar_solvation: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
798
+ readonly compute_gb_solvation: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
461
799
  readonly compute_stda_uvvis: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => void;
462
800
  readonly compute_vibrational_analysis: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
463
801
  readonly compute_vibrational_analysis_uff: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
464
802
  readonly compute_ir_spectrum: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
465
803
  readonly predict_nmr_shifts: (a: number, b: number, c: number) => void;
804
+ readonly predict_nmr_shifts_for_nucleus: (a: number, b: number, c: number, d: number, e: number) => void;
805
+ readonly compute_giao_nmr: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => void;
466
806
  readonly predict_nmr_couplings: (a: number, b: number, c: number, d: number, e: number) => void;
467
807
  readonly compute_nmr_spectrum: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
468
808
  readonly compute_nmr_spectrum_with_coords: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => void;
469
809
  readonly compute_hose_codes: (a: number, b: number, c: number, d: number) => void;
470
- readonly analyze_stereo: (a: number, b: number, c: number, d: number, e: number) => void;
471
810
  readonly version: (a: number) => void;
472
811
  readonly system_capabilities: (a: number, b: number, c: number) => void;
473
812
  readonly system_method_plan: (a: number, b: number, c: number) => void;
474
813
  readonly compare_methods: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
475
- readonly compute_md_trajectory: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
476
- readonly compute_md_trajectory_nvt: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
477
- readonly compute_simplified_neb_path: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => void;
478
- readonly search_conformers_with_uff: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
479
- readonly compute_sssr: (a: number, b: number, c: number) => void;
480
- readonly compute_ecfp: (a: number, b: number, c: number, d: number, e: number) => void;
481
- readonly compute_tanimoto: (a: number, b: number, c: number, d: number, e: number) => void;
482
- readonly butina_cluster: (a: number, b: number, c: number, d: number) => void;
483
- readonly compute_rmsd_matrix: (a: number, b: number, c: number) => void;
484
- readonly compute_pm3: (a: number, b: number, c: number, d: number, e: number) => void;
485
- readonly compute_xtb: (a: number, b: number, c: number, d: number, e: number) => void;
486
- readonly compute_hf3c: (a: number, b: number, c: number, d: number, e: number) => void;
487
- readonly compute_hf3c_custom: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
488
- readonly compute_ani: (a: number, b: number, c: number, d: number, e: number) => void;
814
+ readonly pack_batch_arrow: (a: number, b: number, c: number) => void;
815
+ readonly split_worker_tasks: (a: number, b: number, c: number, d: number, e: number) => void;
816
+ readonly estimate_workers: (a: number, b: number) => number;
817
+ readonly __wbg_livesimulation_free: (a: number, b: number) => void;
818
+ readonly livesimulation_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
819
+ readonly livesimulation_step: (a: number, b: number, c: number) => void;
820
+ readonly livesimulation_apply_thermostat: (a: number, b: number, c: number, d: number) => void;
821
+ readonly livesimulation_apply_steering_force: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
822
+ readonly livesimulation_clear_steering: (a: number) => void;
823
+ readonly livesimulation_num_atoms: (a: number) => number;
824
+ readonly livesimulation_positions_json: (a: number, b: number) => void;
825
+ readonly livesimulation_positions_ptr: (a: number) => number;
826
+ readonly livesimulation_temperature: (a: number) => number;
827
+ readonly livesimulation_potential_energy: (a: number) => number;
828
+ readonly livesimulation_kinetic_energy: (a: number) => number;
829
+ readonly livesimulation_step_count: (a: number) => number;
830
+ readonly livesimulation_set_temperature: (a: number, b: number, c: bigint) => void;
831
+ readonly beta_compute_kpm_dos: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
832
+ readonly beta_compute_kpm_mulliken: (a: number, b: number, c: number, d: number, e: number) => void;
833
+ readonly beta_compute_mbh_frequencies: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
834
+ readonly beta_solve_eht_randnla: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
835
+ readonly beta_psd_distance: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
836
+ readonly beta_psd_projection: (a: number, b: number, c: number, d: number) => void;
837
+ readonly beta_compute_cpm_charges: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
838
+ readonly beta_modules_info: (a: number) => void;
839
+ readonly alpha_compute_dft: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
840
+ readonly alpha_compute_reaxff_gradient: (a: number, b: number, c: number, d: number, e: number) => void;
841
+ readonly alpha_compute_reaxff_energy: (a: number, b: number, c: number, d: number, e: number) => void;
842
+ readonly alpha_compute_eem_charges: (a: number, b: number, c: number, d: number, e: number) => void;
843
+ readonly alpha_compute_mlff: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
844
+ readonly alpha_compute_aevs: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
845
+ readonly alpha_boys_function: (a: number, b: number, c: number) => void;
846
+ readonly alpha_eri_ssss: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
847
+ readonly alpha_schwarz_bound: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
848
+ readonly alpha_rotate_dihedral_cga: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
849
+ readonly alpha_refine_torsion_cga: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
850
+ readonly alpha_gsm_interpolate: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
851
+ readonly alpha_gsm_find_ts: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
852
+ readonly alpha_sdr_embed: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
853
+ readonly alpha_modules_info: (a: number) => void;
489
854
  readonly init_webgpu: () => number;
490
855
  readonly webgpu_status: (a: number) => void;
491
856
  readonly compute_esp: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
@@ -493,6 +858,39 @@ export interface InitOutput {
493
858
  readonly compute_esp_grid_info: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
494
859
  readonly compute_esp_grid_accelerated: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
495
860
  readonly compute_esp_grid_accelerated_typed: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
861
+ readonly compute_uff_energy: (a: number, b: number, c: number, d: number, e: number) => void;
862
+ readonly compute_uff_energy_with_aromatic_heuristics: (a: number, b: number, c: number, d: number, e: number) => void;
863
+ readonly compute_mmff94_energy: (a: number, b: number, c: number, d: number, e: number) => void;
864
+ readonly compute_empirical_pka: (a: number, b: number, c: number) => void;
865
+ readonly compute_pm3: (a: number, b: number, c: number, d: number, e: number) => void;
866
+ readonly compute_xtb: (a: number, b: number, c: number, d: number, e: number) => void;
867
+ readonly compute_gfn1: (a: number, b: number, c: number, d: number, e: number) => void;
868
+ readonly compute_gfn2: (a: number, b: number, c: number, d: number, e: number) => void;
869
+ readonly compute_hf3c: (a: number, b: number, c: number, d: number, e: number) => void;
870
+ readonly compute_hf3c_custom: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
871
+ readonly compute_ani: (a: number, b: number, c: number, d: number, e: number) => void;
872
+ readonly compute_dft: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
873
+ readonly embed: (a: number, b: number, c: number, d: number) => void;
874
+ readonly embed_coords: (a: number, b: number, c: number, d: number) => void;
875
+ readonly embed_coords_typed: (a: number, b: number, c: number) => number;
876
+ readonly embed_batch: (a: number, b: number, c: number, d: number) => void;
877
+ readonly parse_smiles: (a: number, b: number, c: number) => void;
878
+ readonly compute_orbital_mesh: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => void;
879
+ readonly compute_orbital_mesh_accelerated: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => number;
880
+ readonly compute_ml_properties: (a: number, b: number, c: number) => void;
881
+ readonly compute_molecular_descriptors: (a: number, b: number, c: number) => void;
882
+ readonly compute_charges: (a: number, b: number, c: number) => void;
883
+ readonly compute_sasa: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
884
+ readonly compute_population: (a: number, b: number, c: number, d: number, e: number) => void;
885
+ readonly compute_bond_orders: (a: number, b: number, c: number, d: number, e: number) => void;
886
+ readonly compute_dipole: (a: number, b: number, c: number, d: number, e: number) => void;
887
+ readonly compute_dos: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
888
+ readonly compute_rmsd: (a: number, b: number, c: number, d: number, e: number) => void;
889
+ readonly analyze_stereo: (a: number, b: number, c: number, d: number, e: number) => void;
890
+ readonly compute_md_trajectory: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
891
+ readonly compute_md_trajectory_nvt: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
892
+ readonly compute_simplified_neb_path: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => void;
893
+ readonly search_conformers_with_uff: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
496
894
  readonly eht_calculate: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
497
895
  readonly eht_or_uff_fallback: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
498
896
  readonly eht_orbital_mesh: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
@@ -504,40 +902,30 @@ export interface InitOutput {
504
902
  readonly eht_density_grid_accelerated: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
505
903
  readonly eht_orbital_grid_accelerated_typed: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => number;
506
904
  readonly eht_density_grid_accelerated_typed: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
507
- readonly compute_orbital_mesh: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => void;
508
- readonly compute_orbital_mesh_accelerated: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => number;
509
- readonly compute_charges: (a: number, b: number, c: number) => void;
510
- readonly compute_sasa: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
511
- readonly compute_population: (a: number, b: number, c: number, d: number, e: number) => void;
512
- readonly compute_bond_orders: (a: number, b: number, c: number, d: number, e: number) => void;
513
- readonly compute_dipole: (a: number, b: number, c: number, d: number, e: number) => void;
514
- readonly compute_dos: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
515
- readonly compute_rmsd: (a: number, b: number, c: number, d: number, e: number) => void;
516
- readonly compute_nonpolar_solvation: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
517
- readonly compute_gb_solvation: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
518
- readonly embed: (a: number, b: number, c: number, d: number) => void;
519
- readonly embed_coords: (a: number, b: number, c: number, d: number) => void;
520
- readonly embed_coords_typed: (a: number, b: number, c: number) => number;
521
- readonly embed_batch: (a: number, b: number, c: number, d: number) => void;
522
- readonly parse_smiles: (a: number, b: number, c: number) => void;
523
905
  readonly create_unit_cell: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
524
906
  readonly assemble_framework: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
525
- readonly compute_ml_properties: (a: number, b: number, c: number) => void;
526
- readonly compute_molecular_descriptors: (a: number, b: number, c: number) => void;
527
- readonly pack_batch_arrow: (a: number, b: number, c: number) => void;
528
- readonly split_worker_tasks: (a: number, b: number, c: number, d: number, e: number) => void;
529
- readonly estimate_workers: (a: number, b: number) => number;
907
+ readonly compute_frontier_descriptors: (a: number, b: number, c: number, d: number, e: number) => void;
908
+ readonly compute_fukui_descriptors: (a: number, b: number, c: number, d: number, e: number) => void;
909
+ readonly compute_reactivity_ranking: (a: number, b: number, c: number, d: number, e: number) => void;
910
+ readonly compute_uv_vis_spectrum: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
911
+ readonly analyze_graph_features: (a: number, b: number, c: number) => void;
912
+ readonly compute_topology: (a: number, b: number, c: number, d: number, e: number) => void;
913
+ readonly compute_sssr: (a: number, b: number, c: number) => void;
914
+ readonly compute_ecfp: (a: number, b: number, c: number, d: number, e: number) => void;
915
+ readonly compute_tanimoto: (a: number, b: number, c: number, d: number, e: number) => void;
916
+ readonly butina_cluster: (a: number, b: number, c: number, d: number) => void;
917
+ readonly compute_rmsd_matrix: (a: number, b: number, c: number) => void;
530
918
  readonly __wbg_wbg_rayon_poolbuilder_free: (a: number, b: number) => void;
531
919
  readonly wbg_rayon_poolbuilder_numThreads: (a: number) => number;
532
920
  readonly wbg_rayon_poolbuilder_receiver: (a: number) => number;
533
921
  readonly wbg_rayon_poolbuilder_build: (a: number) => void;
534
922
  readonly initThreadPool: (a: number) => number;
535
923
  readonly wbg_rayon_start_worker: (a: number) => void;
536
- readonly __wasm_bindgen_func_elem_2470: (a: number, b: number) => void;
537
- readonly __wasm_bindgen_func_elem_709: (a: number, b: number, c: number, d: number) => void;
538
- readonly __wasm_bindgen_func_elem_623: (a: number, b: number, c: number, d: number) => void;
539
- readonly __wasm_bindgen_func_elem_2476: (a: number, b: number, c: number) => void;
540
- readonly __wasm_bindgen_func_elem_2476_2: (a: number, b: number, c: number) => void;
924
+ readonly __wasm_bindgen_func_elem_2814: (a: number, b: number) => void;
925
+ readonly __wasm_bindgen_func_elem_823: (a: number, b: number, c: number, d: number) => void;
926
+ readonly __wasm_bindgen_func_elem_737: (a: number, b: number, c: number, d: number) => void;
927
+ readonly __wasm_bindgen_func_elem_2820: (a: number, b: number, c: number) => void;
928
+ readonly __wasm_bindgen_func_elem_2820_2: (a: number, b: number, c: number) => void;
541
929
  readonly memory: WebAssembly.Memory;
542
930
  readonly __wbindgen_export: (a: number, b: number) => number;
543
931
  readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;