sci-form-wasm 0.10.1 → 0.10.5
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/package.json +1 -1
- package/sci_form_wasm.d.ts +63 -30
- package/sci_form_wasm.js +989 -63
- package/sci_form_wasm_bg.wasm +0 -0
package/package.json
CHANGED
package/sci_form_wasm.d.ts
CHANGED
|
@@ -80,6 +80,10 @@ export function compute_empirical_pka(smiles: string): string;
|
|
|
80
80
|
*/
|
|
81
81
|
export function compute_esp(elements: string, coords_flat: string, spacing: number, padding: number): string;
|
|
82
82
|
|
|
83
|
+
export function compute_esp_grid_accelerated(elements: string, coords_flat: string, spacing: number, padding: number, execution_mode: string): Promise<string>;
|
|
84
|
+
|
|
85
|
+
export function compute_esp_grid_accelerated_typed(elements: string, coords_flat: string, spacing: number, padding: number, execution_mode: string): Promise<Float64Array>;
|
|
86
|
+
|
|
83
87
|
/**
|
|
84
88
|
* Get ESP grid metadata (origin, spacing, dimensions) as JSON.
|
|
85
89
|
*/
|
|
@@ -190,6 +194,8 @@ export function compute_nonpolar_solvation(elements: string, coords_flat: string
|
|
|
190
194
|
*/
|
|
191
195
|
export function compute_orbital_mesh(elements_json: string, coords_flat_json: string, method: string, mo_index: number, spacing: number, padding: number, isovalue: number): string;
|
|
192
196
|
|
|
197
|
+
export function compute_orbital_mesh_accelerated(elements_json: string, coords_flat_json: string, method: string, mo_index: number, spacing: number, padding: number, isovalue: number, execution_mode: string): Promise<string>;
|
|
198
|
+
|
|
193
199
|
/**
|
|
194
200
|
* Run a PM3 semi-empirical calculation.
|
|
195
201
|
*/
|
|
@@ -296,11 +302,19 @@ export function create_unit_cell(a: number, b: number, c: number, alpha: number,
|
|
|
296
302
|
*/
|
|
297
303
|
export function eht_calculate(elements: string, coords_flat: string, k: number): string;
|
|
298
304
|
|
|
305
|
+
export function eht_density_grid_accelerated(elements: string, coords_flat: string, spacing: number, padding: number, execution_mode: string): Promise<string>;
|
|
306
|
+
|
|
307
|
+
export function eht_density_grid_accelerated_typed(elements: string, coords_flat: string, spacing: number, padding: number, execution_mode: string): Promise<Float32Array>;
|
|
308
|
+
|
|
299
309
|
/**
|
|
300
310
|
* Run EHT or route to UFF fallback based on support/confidence.
|
|
301
311
|
*/
|
|
302
312
|
export function eht_or_uff_fallback(smiles: string, elements: string, coords_flat: string, allow_experimental_eht: boolean): string;
|
|
303
313
|
|
|
314
|
+
export function eht_orbital_grid_accelerated(elements: string, coords_flat: string, mo_index: number, spacing: number, padding: number, execution_mode: string): Promise<string>;
|
|
315
|
+
|
|
316
|
+
export function eht_orbital_grid_accelerated_typed(elements: string, coords_flat: string, mo_index: number, spacing: number, padding: number, execution_mode: string): Promise<Float32Array>;
|
|
317
|
+
|
|
304
318
|
/**
|
|
305
319
|
* Compute orbital grid from precomputed EHT coefficients as Float32Array.
|
|
306
320
|
*/
|
|
@@ -358,6 +372,8 @@ export function estimate_workers(n_items: number, max_workers: number): number;
|
|
|
358
372
|
|
|
359
373
|
export function initThreadPool(num_threads: number): Promise<any>;
|
|
360
374
|
|
|
375
|
+
export function init_webgpu(): Promise<string>;
|
|
376
|
+
|
|
361
377
|
/**
|
|
362
378
|
* Pack a batch of conformer results into Arrow-compatible columnar format.
|
|
363
379
|
*/
|
|
@@ -417,9 +433,17 @@ export class wbg_rayon_PoolBuilder {
|
|
|
417
433
|
|
|
418
434
|
export function wbg_rayon_start_worker(receiver: number): void;
|
|
419
435
|
|
|
436
|
+
export function webgpu_status(): string;
|
|
437
|
+
|
|
420
438
|
export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
|
|
421
439
|
|
|
422
440
|
export interface InitOutput {
|
|
441
|
+
readonly compute_md_trajectory: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
442
|
+
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;
|
|
443
|
+
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;
|
|
444
|
+
readonly search_conformers_with_uff: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
445
|
+
readonly create_unit_cell: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
446
|
+
readonly assemble_framework: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
423
447
|
readonly compute_charges: (a: number, b: number, c: number) => void;
|
|
424
448
|
readonly compute_sasa: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
425
449
|
readonly compute_population: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
@@ -427,33 +451,29 @@ export interface InitOutput {
|
|
|
427
451
|
readonly compute_dipole: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
428
452
|
readonly compute_dos: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
|
|
429
453
|
readonly compute_rmsd: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
454
|
+
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;
|
|
455
|
+
readonly compute_vibrational_analysis: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
456
|
+
readonly compute_ir_spectrum: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
457
|
+
readonly predict_nmr_shifts: (a: number, b: number, c: number) => void;
|
|
458
|
+
readonly predict_nmr_couplings: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
459
|
+
readonly compute_nmr_spectrum: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
|
|
460
|
+
readonly compute_hose_codes: (a: number, b: number, c: number, d: number) => void;
|
|
461
|
+
readonly init_webgpu: () => number;
|
|
462
|
+
readonly webgpu_status: (a: number) => void;
|
|
430
463
|
readonly compute_pm3: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
431
464
|
readonly compute_xtb: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
432
465
|
readonly compute_hf3c: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
433
466
|
readonly compute_hf3c_custom: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
434
467
|
readonly compute_ani: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
435
|
-
readonly
|
|
436
|
-
readonly
|
|
437
|
-
readonly
|
|
438
|
-
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;
|
|
439
|
-
readonly compute_md_trajectory: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
440
|
-
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;
|
|
441
|
-
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;
|
|
442
|
-
readonly search_conformers_with_uff: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
468
|
+
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;
|
|
469
|
+
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;
|
|
470
|
+
readonly analyze_stereo: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
443
471
|
readonly compute_frontier_descriptors: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
444
472
|
readonly compute_fukui_descriptors: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
445
473
|
readonly compute_reactivity_ranking: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
446
474
|
readonly compute_uv_vis_spectrum: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
|
|
447
475
|
readonly analyze_graph_features: (a: number, b: number, c: number) => void;
|
|
448
476
|
readonly compute_topology: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
449
|
-
readonly version: (a: number) => void;
|
|
450
|
-
readonly system_capabilities: (a: number, b: number, c: number) => void;
|
|
451
|
-
readonly system_method_plan: (a: number, b: number, c: number) => void;
|
|
452
|
-
readonly compare_methods: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
453
|
-
readonly compute_uff_energy: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
454
|
-
readonly compute_uff_energy_with_aromatic_heuristics: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
455
|
-
readonly compute_mmff94_energy: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
456
|
-
readonly compute_empirical_pka: (a: number, b: number, c: number) => void;
|
|
457
477
|
readonly eht_calculate: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
458
478
|
readonly eht_or_uff_fallback: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
459
479
|
readonly eht_orbital_mesh: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
@@ -461,16 +481,28 @@ export interface InitOutput {
|
|
|
461
481
|
readonly eht_orbital_grid_typed: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
462
482
|
readonly eht_orbital_grid_from_coefficients_typed: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
463
483
|
readonly eht_volumetric_grid_info: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
464
|
-
readonly
|
|
484
|
+
readonly eht_orbital_grid_accelerated: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => number;
|
|
485
|
+
readonly eht_density_grid_accelerated: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
486
|
+
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;
|
|
487
|
+
readonly eht_density_grid_accelerated_typed: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
488
|
+
readonly compute_esp: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
489
|
+
readonly compute_esp_grid_typed: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
490
|
+
readonly compute_esp_grid_info: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
491
|
+
readonly compute_esp_grid_accelerated: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
492
|
+
readonly compute_esp_grid_accelerated_typed: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
493
|
+
readonly compute_uff_energy: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
494
|
+
readonly compute_uff_energy_with_aromatic_heuristics: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
495
|
+
readonly compute_mmff94_energy: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
496
|
+
readonly compute_empirical_pka: (a: number, b: number, c: number) => void;
|
|
465
497
|
readonly compute_sssr: (a: number, b: number, c: number) => void;
|
|
466
498
|
readonly compute_ecfp: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
467
499
|
readonly compute_tanimoto: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
468
500
|
readonly butina_cluster: (a: number, b: number, c: number, d: number) => void;
|
|
469
501
|
readonly compute_rmsd_matrix: (a: number, b: number, c: number) => void;
|
|
470
|
-
readonly
|
|
471
|
-
readonly
|
|
472
|
-
readonly
|
|
473
|
-
readonly
|
|
502
|
+
readonly version: (a: number) => void;
|
|
503
|
+
readonly system_capabilities: (a: number, b: number, c: number) => void;
|
|
504
|
+
readonly system_method_plan: (a: number, b: number, c: number) => void;
|
|
505
|
+
readonly compare_methods: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
474
506
|
readonly embed: (a: number, b: number, c: number, d: number) => void;
|
|
475
507
|
readonly embed_coords: (a: number, b: number, c: number, d: number) => void;
|
|
476
508
|
readonly embed_coords_typed: (a: number, b: number, c: number) => number;
|
|
@@ -478,13 +510,8 @@ export interface InitOutput {
|
|
|
478
510
|
readonly parse_smiles: (a: number, b: number, c: number) => void;
|
|
479
511
|
readonly compute_ml_properties: (a: number, b: number, c: number) => void;
|
|
480
512
|
readonly compute_molecular_descriptors: (a: number, b: number, c: number) => void;
|
|
481
|
-
readonly
|
|
482
|
-
readonly
|
|
483
|
-
readonly compute_ir_spectrum: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
484
|
-
readonly predict_nmr_shifts: (a: number, b: number, c: number) => void;
|
|
485
|
-
readonly predict_nmr_couplings: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
486
|
-
readonly compute_nmr_spectrum: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
|
|
487
|
-
readonly compute_hose_codes: (a: number, b: number, c: number, d: number) => void;
|
|
513
|
+
readonly compute_nonpolar_solvation: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
514
|
+
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;
|
|
488
515
|
readonly pack_batch_arrow: (a: number, b: number, c: number) => void;
|
|
489
516
|
readonly split_worker_tasks: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
490
517
|
readonly estimate_workers: (a: number, b: number) => number;
|
|
@@ -494,11 +521,17 @@ export interface InitOutput {
|
|
|
494
521
|
readonly wbg_rayon_poolbuilder_build: (a: number) => void;
|
|
495
522
|
readonly initThreadPool: (a: number) => number;
|
|
496
523
|
readonly wbg_rayon_start_worker: (a: number) => void;
|
|
524
|
+
readonly __wasm_bindgen_func_elem_2416: (a: number, b: number) => void;
|
|
525
|
+
readonly __wasm_bindgen_func_elem_707: (a: number, b: number, c: number, d: number) => void;
|
|
526
|
+
readonly __wasm_bindgen_func_elem_621: (a: number, b: number, c: number, d: number) => void;
|
|
527
|
+
readonly __wasm_bindgen_func_elem_2422: (a: number, b: number, c: number) => void;
|
|
528
|
+
readonly __wasm_bindgen_func_elem_2422_2: (a: number, b: number, c: number) => void;
|
|
497
529
|
readonly memory: WebAssembly.Memory;
|
|
498
|
-
readonly __wbindgen_add_to_stack_pointer: (a: number) => number;
|
|
499
530
|
readonly __wbindgen_export: (a: number, b: number) => number;
|
|
500
531
|
readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
501
|
-
readonly __wbindgen_export3: (a: number
|
|
532
|
+
readonly __wbindgen_export3: (a: number) => void;
|
|
533
|
+
readonly __wbindgen_add_to_stack_pointer: (a: number) => number;
|
|
534
|
+
readonly __wbindgen_export4: (a: number, b: number, c: number) => void;
|
|
502
535
|
readonly __wbindgen_thread_destroy: (a?: number, b?: number, c?: number) => void;
|
|
503
536
|
readonly __wbindgen_start: (a: number) => void;
|
|
504
537
|
}
|