sci-form-wasm 0.11.2 → 0.12.4
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.
- package/alpha/index.d.ts +204 -0
- package/alpha/index.js +70 -0
- package/beta/index.d.ts +119 -0
- package/beta/index.js +46 -0
- package/package.json +19 -3
- package/sci_form_wasm.d.ts +412 -48
- package/sci_form_wasm.js +1005 -17
- package/sci_form_wasm_bg.wasm +0 -0
package/sci_form_wasm.d.ts
CHANGED
|
@@ -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
|
*/
|
|
@@ -468,6 +794,44 @@ export function webgpu_status(): string;
|
|
|
468
794
|
export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
|
|
469
795
|
|
|
470
796
|
export interface InitOutput {
|
|
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;
|
|
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;
|
|
800
|
+
readonly compute_vibrational_analysis: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
801
|
+
readonly compute_vibrational_analysis_uff: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
802
|
+
readonly compute_ir_spectrum: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
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;
|
|
806
|
+
readonly predict_nmr_couplings: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
807
|
+
readonly compute_nmr_spectrum: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
|
|
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;
|
|
809
|
+
readonly compute_hose_codes: (a: number, b: number, c: number, d: number) => void;
|
|
810
|
+
readonly version: (a: number) => void;
|
|
811
|
+
readonly system_capabilities: (a: number, b: number, c: number) => void;
|
|
812
|
+
readonly system_method_plan: (a: number, b: number, c: number) => void;
|
|
813
|
+
readonly compare_methods: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: 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 compute_md_trajectory: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
832
|
+
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;
|
|
833
|
+
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;
|
|
834
|
+
readonly search_conformers_with_uff: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
471
835
|
readonly eht_calculate: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
472
836
|
readonly eht_or_uff_fallback: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
473
837
|
readonly eht_orbital_mesh: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
@@ -479,30 +843,40 @@ export interface InitOutput {
|
|
|
479
843
|
readonly eht_density_grid_accelerated: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
480
844
|
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;
|
|
481
845
|
readonly eht_density_grid_accelerated_typed: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
482
|
-
readonly
|
|
483
|
-
readonly
|
|
484
|
-
readonly
|
|
485
|
-
readonly
|
|
846
|
+
readonly beta_compute_kpm_dos: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
847
|
+
readonly beta_compute_kpm_mulliken: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
848
|
+
readonly beta_compute_mbh_frequencies: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
849
|
+
readonly beta_solve_eht_randnla: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
850
|
+
readonly beta_psd_distance: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
851
|
+
readonly beta_psd_projection: (a: number, b: number, c: number, d: number) => void;
|
|
852
|
+
readonly beta_compute_cpm_charges: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
853
|
+
readonly beta_modules_info: (a: number) => void;
|
|
854
|
+
readonly alpha_compute_dft: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
855
|
+
readonly alpha_compute_reaxff_gradient: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
856
|
+
readonly alpha_compute_reaxff_energy: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
857
|
+
readonly alpha_compute_eem_charges: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
858
|
+
readonly alpha_compute_mlff: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
859
|
+
readonly alpha_compute_aevs: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
860
|
+
readonly alpha_boys_function: (a: number, b: number, c: number) => void;
|
|
861
|
+
readonly alpha_eri_ssss: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
|
|
862
|
+
readonly alpha_schwarz_bound: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
863
|
+
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;
|
|
864
|
+
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;
|
|
865
|
+
readonly alpha_gsm_interpolate: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
866
|
+
readonly alpha_gsm_find_ts: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
|
|
867
|
+
readonly alpha_sdr_embed: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
868
|
+
readonly alpha_modules_info: (a: number) => void;
|
|
869
|
+
readonly init_webgpu: () => number;
|
|
870
|
+
readonly webgpu_status: (a: number) => void;
|
|
871
|
+
readonly compute_esp: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
872
|
+
readonly compute_esp_grid_typed: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
873
|
+
readonly compute_esp_grid_info: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
874
|
+
readonly compute_esp_grid_accelerated: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
875
|
+
readonly compute_esp_grid_accelerated_typed: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
486
876
|
readonly compute_uff_energy: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
487
877
|
readonly compute_uff_energy_with_aromatic_heuristics: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
488
878
|
readonly compute_mmff94_energy: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
489
879
|
readonly compute_empirical_pka: (a: number, b: number, c: number) => void;
|
|
490
|
-
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;
|
|
491
|
-
readonly compute_vibrational_analysis: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
492
|
-
readonly compute_vibrational_analysis_uff: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
493
|
-
readonly compute_ir_spectrum: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
494
|
-
readonly predict_nmr_shifts: (a: number, b: number, c: number) => void;
|
|
495
|
-
readonly predict_nmr_shifts_for_nucleus: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
496
|
-
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;
|
|
497
|
-
readonly predict_nmr_couplings: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
498
|
-
readonly compute_nmr_spectrum: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
|
|
499
|
-
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;
|
|
500
|
-
readonly compute_hose_codes: (a: number, b: number, c: number, d: number) => void;
|
|
501
|
-
readonly compute_sssr: (a: number, b: number, c: number) => void;
|
|
502
|
-
readonly compute_ecfp: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
503
|
-
readonly compute_tanimoto: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
504
|
-
readonly butina_cluster: (a: number, b: number, c: number, d: number) => void;
|
|
505
|
-
readonly compute_rmsd_matrix: (a: number, b: number, c: number) => void;
|
|
506
880
|
readonly compute_pm3: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
507
881
|
readonly compute_xtb: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
508
882
|
readonly compute_gfn1: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
@@ -510,8 +884,16 @@ export interface InitOutput {
|
|
|
510
884
|
readonly compute_hf3c: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
511
885
|
readonly compute_hf3c_custom: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
512
886
|
readonly compute_ani: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
887
|
+
readonly compute_dft: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
888
|
+
readonly embed: (a: number, b: number, c: number, d: number) => void;
|
|
889
|
+
readonly embed_coords: (a: number, b: number, c: number, d: number) => void;
|
|
890
|
+
readonly embed_coords_typed: (a: number, b: number, c: number) => number;
|
|
891
|
+
readonly embed_batch: (a: number, b: number, c: number, d: number) => void;
|
|
892
|
+
readonly parse_smiles: (a: number, b: number, c: number) => void;
|
|
513
893
|
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;
|
|
514
894
|
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;
|
|
895
|
+
readonly compute_ml_properties: (a: number, b: number, c: number) => void;
|
|
896
|
+
readonly compute_molecular_descriptors: (a: number, b: number, c: number) => void;
|
|
515
897
|
readonly compute_charges: (a: number, b: number, c: number) => void;
|
|
516
898
|
readonly compute_sasa: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
517
899
|
readonly compute_population: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
@@ -519,49 +901,31 @@ export interface InitOutput {
|
|
|
519
901
|
readonly compute_dipole: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
520
902
|
readonly compute_dos: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
|
|
521
903
|
readonly compute_rmsd: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
522
|
-
readonly compute_nonpolar_solvation: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
523
|
-
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;
|
|
524
904
|
readonly analyze_stereo: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
525
|
-
readonly embed: (a: number, b: number, c: number, d: number) => void;
|
|
526
|
-
readonly embed_coords: (a: number, b: number, c: number, d: number) => void;
|
|
527
|
-
readonly embed_coords_typed: (a: number, b: number, c: number) => number;
|
|
528
|
-
readonly embed_batch: (a: number, b: number, c: number, d: number) => void;
|
|
529
|
-
readonly parse_smiles: (a: number, b: number, c: number) => void;
|
|
530
905
|
readonly create_unit_cell: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
531
906
|
readonly assemble_framework: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
532
|
-
readonly compute_ml_properties: (a: number, b: number, c: number) => void;
|
|
533
|
-
readonly compute_molecular_descriptors: (a: number, b: number, c: number) => void;
|
|
534
907
|
readonly compute_frontier_descriptors: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
535
908
|
readonly compute_fukui_descriptors: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
536
909
|
readonly compute_reactivity_ranking: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
537
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;
|
|
538
911
|
readonly analyze_graph_features: (a: number, b: number, c: number) => void;
|
|
539
912
|
readonly compute_topology: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
540
|
-
readonly
|
|
541
|
-
readonly
|
|
542
|
-
readonly
|
|
543
|
-
readonly
|
|
544
|
-
readonly
|
|
545
|
-
readonly split_worker_tasks: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
546
|
-
readonly estimate_workers: (a: number, b: number) => number;
|
|
547
|
-
readonly init_webgpu: () => number;
|
|
548
|
-
readonly webgpu_status: (a: number) => void;
|
|
549
|
-
readonly compute_esp: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
550
|
-
readonly compute_esp_grid_typed: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
551
|
-
readonly compute_esp_grid_info: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
552
|
-
readonly compute_esp_grid_accelerated: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
553
|
-
readonly compute_esp_grid_accelerated_typed: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
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;
|
|
554
918
|
readonly __wbg_wbg_rayon_poolbuilder_free: (a: number, b: number) => void;
|
|
555
919
|
readonly wbg_rayon_poolbuilder_numThreads: (a: number) => number;
|
|
556
920
|
readonly wbg_rayon_poolbuilder_receiver: (a: number) => number;
|
|
557
921
|
readonly wbg_rayon_poolbuilder_build: (a: number) => void;
|
|
558
922
|
readonly initThreadPool: (a: number) => number;
|
|
559
923
|
readonly wbg_rayon_start_worker: (a: number) => void;
|
|
560
|
-
readonly
|
|
561
|
-
readonly
|
|
562
|
-
readonly
|
|
563
|
-
readonly
|
|
564
|
-
readonly
|
|
924
|
+
readonly __wasm_bindgen_func_elem_2813: (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_2819: (a: number, b: number, c: number) => void;
|
|
928
|
+
readonly __wasm_bindgen_func_elem_2819_2: (a: number, b: number, c: number) => void;
|
|
565
929
|
readonly memory: WebAssembly.Memory;
|
|
566
930
|
readonly __wbindgen_export: (a: number, b: number) => number;
|
|
567
931
|
readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|