@molcrafts/molrs 0.0.15 → 0.0.16
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/README.md +5 -1
- package/molrs.d.ts +5 -240
- package/molrs_bg.js +48 -663
- package/molrs_bg.wasm +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,6 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
WebAssembly bindings for the [molrs](https://github.com/MolCrafts/molrs) molecular modeling toolkit.
|
|
6
6
|
|
|
7
|
+
Full documentation lives at <https://molcrafts.github.io/molrs/>. The WASM
|
|
8
|
+
reference is published at <https://molcrafts.github.io/molrs/reference/wasm/>.
|
|
9
|
+
|
|
7
10
|
## Install
|
|
8
11
|
|
|
9
12
|
```bash
|
|
@@ -80,7 +83,7 @@ Frames without a simulation box are supported — a non-periodic bounding box is
|
|
|
80
83
|
## Build from source
|
|
81
84
|
|
|
82
85
|
```bash
|
|
83
|
-
wasm-pack build --release --target bundler --scope molcrafts
|
|
86
|
+
wasm-pack build --release --target bundler --scope molcrafts --out-name molrs
|
|
84
87
|
```
|
|
85
88
|
|
|
86
89
|
This writes `pkg/` — the npm package. `pkg/package.json` is auto-generated by
|
|
@@ -104,6 +107,7 @@ build a smaller wasm containing only a subset, use Cargo features:
|
|
|
104
107
|
|
|
105
108
|
```bash
|
|
106
109
|
wasm-pack build --release --target bundler --scope molcrafts \
|
|
110
|
+
--out-name molrs \
|
|
107
111
|
--no-default-features --features io,smiles
|
|
108
112
|
```
|
|
109
113
|
|
package/molrs.d.ts
CHANGED
|
@@ -3018,53 +3018,6 @@ export class WasmLammpsDataStream {
|
|
|
3018
3018
|
* throw.
|
|
3019
3019
|
*/
|
|
3020
3020
|
finishIndex(): FrameIndexEntry[];
|
|
3021
|
-
/**
|
|
3022
|
-
* Number of named scalar arrays in grid `gridIdx`.
|
|
3023
|
-
*/
|
|
3024
|
-
gridArrayCount(grid_idx: number): number;
|
|
3025
|
-
/**
|
|
3026
|
-
* Length (number of `f64` elements) of the grid scalar field.
|
|
3027
|
-
*/
|
|
3028
|
-
gridArrayLen(grid_idx: number, array_idx: number): number;
|
|
3029
|
-
/**
|
|
3030
|
-
* Name of scalar array `(gridIdx, arrayIdx)`, or empty string
|
|
3031
|
-
* if either index is out of range.
|
|
3032
|
-
*/
|
|
3033
|
-
gridArrayName(grid_idx: number, array_idx: number): string;
|
|
3034
|
-
/**
|
|
3035
|
-
* Pointer to the contiguous `f64` slice backing the grid
|
|
3036
|
-
* scalar field, or 0 (null) if either index is out of range.
|
|
3037
|
-
*
|
|
3038
|
-
* **Lifetime**: valid only until the next non-trivial wasm
|
|
3039
|
-
* call. See the module-level memory-grow contract.
|
|
3040
|
-
*/
|
|
3041
|
-
gridArrayPtrF64(grid_idx: number, array_idx: number): number;
|
|
3042
|
-
/**
|
|
3043
|
-
* Grid lattice cell as a length-9 `Float64Array` (column-major:
|
|
3044
|
-
* `[col0_x, col0_y, col0_z, col1_x, col1_y, col1_z, col2_x, col2_y, col2_z]`).
|
|
3045
|
-
*/
|
|
3046
|
-
gridCell(grid_idx: number): Float64Array;
|
|
3047
|
-
/**
|
|
3048
|
-
* Number of named grids attached to the current frame.
|
|
3049
|
-
*/
|
|
3050
|
-
gridCount(): number;
|
|
3051
|
-
/**
|
|
3052
|
-
* Name of grid `gridIdx`, or empty string if out of range.
|
|
3053
|
-
*/
|
|
3054
|
-
gridName(grid_idx: number): string;
|
|
3055
|
-
/**
|
|
3056
|
-
* Grid origin (Cartesian, Å) as a length-3 `Float64Array`.
|
|
3057
|
-
*/
|
|
3058
|
-
gridOrigin(grid_idx: number): Float64Array;
|
|
3059
|
-
/**
|
|
3060
|
-
* Grid PBC flags as a length-3 `Uint8Array` (`1` = periodic,
|
|
3061
|
-
* `0` = open).
|
|
3062
|
-
*/
|
|
3063
|
-
gridPbc(grid_idx: number): Uint8Array;
|
|
3064
|
-
/**
|
|
3065
|
-
* Grid dimensions `[nx, ny, nz]` as a length-3 `Uint32Array`.
|
|
3066
|
-
*/
|
|
3067
|
-
gridShape(grid_idx: number): Uint32Array;
|
|
3068
3021
|
/**
|
|
3069
3022
|
* Current capacity (in bytes) of the reusable input buffer.
|
|
3070
3023
|
*/
|
|
@@ -3084,7 +3037,7 @@ export class WasmLammpsDataStream {
|
|
|
3084
3037
|
parseRangeInInput(offset: number, len: number): void;
|
|
3085
3038
|
/**
|
|
3086
3039
|
* Drop the cached output frame, releasing its memory and
|
|
3087
|
-
* invalidating any outstanding `columnPtr*`
|
|
3040
|
+
* invalidating any outstanding `columnPtr*` pointers.
|
|
3088
3041
|
* pointers. Subsequent extraction calls return 0 / empty
|
|
3089
3042
|
* until the next `parseRangeInInput`.
|
|
3090
3043
|
*/
|
|
@@ -3206,53 +3159,6 @@ export class WasmLammpsDumpStream {
|
|
|
3206
3159
|
* throw.
|
|
3207
3160
|
*/
|
|
3208
3161
|
finishIndex(): FrameIndexEntry[];
|
|
3209
|
-
/**
|
|
3210
|
-
* Number of named scalar arrays in grid `gridIdx`.
|
|
3211
|
-
*/
|
|
3212
|
-
gridArrayCount(grid_idx: number): number;
|
|
3213
|
-
/**
|
|
3214
|
-
* Length (number of `f64` elements) of the grid scalar field.
|
|
3215
|
-
*/
|
|
3216
|
-
gridArrayLen(grid_idx: number, array_idx: number): number;
|
|
3217
|
-
/**
|
|
3218
|
-
* Name of scalar array `(gridIdx, arrayIdx)`, or empty string
|
|
3219
|
-
* if either index is out of range.
|
|
3220
|
-
*/
|
|
3221
|
-
gridArrayName(grid_idx: number, array_idx: number): string;
|
|
3222
|
-
/**
|
|
3223
|
-
* Pointer to the contiguous `f64` slice backing the grid
|
|
3224
|
-
* scalar field, or 0 (null) if either index is out of range.
|
|
3225
|
-
*
|
|
3226
|
-
* **Lifetime**: valid only until the next non-trivial wasm
|
|
3227
|
-
* call. See the module-level memory-grow contract.
|
|
3228
|
-
*/
|
|
3229
|
-
gridArrayPtrF64(grid_idx: number, array_idx: number): number;
|
|
3230
|
-
/**
|
|
3231
|
-
* Grid lattice cell as a length-9 `Float64Array` (column-major:
|
|
3232
|
-
* `[col0_x, col0_y, col0_z, col1_x, col1_y, col1_z, col2_x, col2_y, col2_z]`).
|
|
3233
|
-
*/
|
|
3234
|
-
gridCell(grid_idx: number): Float64Array;
|
|
3235
|
-
/**
|
|
3236
|
-
* Number of named grids attached to the current frame.
|
|
3237
|
-
*/
|
|
3238
|
-
gridCount(): number;
|
|
3239
|
-
/**
|
|
3240
|
-
* Name of grid `gridIdx`, or empty string if out of range.
|
|
3241
|
-
*/
|
|
3242
|
-
gridName(grid_idx: number): string;
|
|
3243
|
-
/**
|
|
3244
|
-
* Grid origin (Cartesian, Å) as a length-3 `Float64Array`.
|
|
3245
|
-
*/
|
|
3246
|
-
gridOrigin(grid_idx: number): Float64Array;
|
|
3247
|
-
/**
|
|
3248
|
-
* Grid PBC flags as a length-3 `Uint8Array` (`1` = periodic,
|
|
3249
|
-
* `0` = open).
|
|
3250
|
-
*/
|
|
3251
|
-
gridPbc(grid_idx: number): Uint8Array;
|
|
3252
|
-
/**
|
|
3253
|
-
* Grid dimensions `[nx, ny, nz]` as a length-3 `Uint32Array`.
|
|
3254
|
-
*/
|
|
3255
|
-
gridShape(grid_idx: number): Uint32Array;
|
|
3256
3162
|
/**
|
|
3257
3163
|
* Current capacity (in bytes) of the reusable input buffer.
|
|
3258
3164
|
*/
|
|
@@ -3272,7 +3178,7 @@ export class WasmLammpsDumpStream {
|
|
|
3272
3178
|
parseRangeInInput(offset: number, len: number): void;
|
|
3273
3179
|
/**
|
|
3274
3180
|
* Drop the cached output frame, releasing its memory and
|
|
3275
|
-
* invalidating any outstanding `columnPtr*`
|
|
3181
|
+
* invalidating any outstanding `columnPtr*` pointers.
|
|
3276
3182
|
* pointers. Subsequent extraction calls return 0 / empty
|
|
3277
3183
|
* until the next `parseRangeInInput`.
|
|
3278
3184
|
*/
|
|
@@ -3458,53 +3364,6 @@ export class WasmPdbStream {
|
|
|
3458
3364
|
* throw.
|
|
3459
3365
|
*/
|
|
3460
3366
|
finishIndex(): FrameIndexEntry[];
|
|
3461
|
-
/**
|
|
3462
|
-
* Number of named scalar arrays in grid `gridIdx`.
|
|
3463
|
-
*/
|
|
3464
|
-
gridArrayCount(grid_idx: number): number;
|
|
3465
|
-
/**
|
|
3466
|
-
* Length (number of `f64` elements) of the grid scalar field.
|
|
3467
|
-
*/
|
|
3468
|
-
gridArrayLen(grid_idx: number, array_idx: number): number;
|
|
3469
|
-
/**
|
|
3470
|
-
* Name of scalar array `(gridIdx, arrayIdx)`, or empty string
|
|
3471
|
-
* if either index is out of range.
|
|
3472
|
-
*/
|
|
3473
|
-
gridArrayName(grid_idx: number, array_idx: number): string;
|
|
3474
|
-
/**
|
|
3475
|
-
* Pointer to the contiguous `f64` slice backing the grid
|
|
3476
|
-
* scalar field, or 0 (null) if either index is out of range.
|
|
3477
|
-
*
|
|
3478
|
-
* **Lifetime**: valid only until the next non-trivial wasm
|
|
3479
|
-
* call. See the module-level memory-grow contract.
|
|
3480
|
-
*/
|
|
3481
|
-
gridArrayPtrF64(grid_idx: number, array_idx: number): number;
|
|
3482
|
-
/**
|
|
3483
|
-
* Grid lattice cell as a length-9 `Float64Array` (column-major:
|
|
3484
|
-
* `[col0_x, col0_y, col0_z, col1_x, col1_y, col1_z, col2_x, col2_y, col2_z]`).
|
|
3485
|
-
*/
|
|
3486
|
-
gridCell(grid_idx: number): Float64Array;
|
|
3487
|
-
/**
|
|
3488
|
-
* Number of named grids attached to the current frame.
|
|
3489
|
-
*/
|
|
3490
|
-
gridCount(): number;
|
|
3491
|
-
/**
|
|
3492
|
-
* Name of grid `gridIdx`, or empty string if out of range.
|
|
3493
|
-
*/
|
|
3494
|
-
gridName(grid_idx: number): string;
|
|
3495
|
-
/**
|
|
3496
|
-
* Grid origin (Cartesian, Å) as a length-3 `Float64Array`.
|
|
3497
|
-
*/
|
|
3498
|
-
gridOrigin(grid_idx: number): Float64Array;
|
|
3499
|
-
/**
|
|
3500
|
-
* Grid PBC flags as a length-3 `Uint8Array` (`1` = periodic,
|
|
3501
|
-
* `0` = open).
|
|
3502
|
-
*/
|
|
3503
|
-
gridPbc(grid_idx: number): Uint8Array;
|
|
3504
|
-
/**
|
|
3505
|
-
* Grid dimensions `[nx, ny, nz]` as a length-3 `Uint32Array`.
|
|
3506
|
-
*/
|
|
3507
|
-
gridShape(grid_idx: number): Uint32Array;
|
|
3508
3367
|
/**
|
|
3509
3368
|
* Current capacity (in bytes) of the reusable input buffer.
|
|
3510
3369
|
*/
|
|
@@ -3524,7 +3383,7 @@ export class WasmPdbStream {
|
|
|
3524
3383
|
parseRangeInInput(offset: number, len: number): void;
|
|
3525
3384
|
/**
|
|
3526
3385
|
* Drop the cached output frame, releasing its memory and
|
|
3527
|
-
* invalidating any outstanding `columnPtr*`
|
|
3386
|
+
* invalidating any outstanding `columnPtr*` pointers.
|
|
3528
3387
|
* pointers. Subsequent extraction calls return 0 / empty
|
|
3529
3388
|
* until the next `parseRangeInInput`.
|
|
3530
3389
|
*/
|
|
@@ -3646,53 +3505,6 @@ export class WasmSdfStream {
|
|
|
3646
3505
|
* throw.
|
|
3647
3506
|
*/
|
|
3648
3507
|
finishIndex(): FrameIndexEntry[];
|
|
3649
|
-
/**
|
|
3650
|
-
* Number of named scalar arrays in grid `gridIdx`.
|
|
3651
|
-
*/
|
|
3652
|
-
gridArrayCount(grid_idx: number): number;
|
|
3653
|
-
/**
|
|
3654
|
-
* Length (number of `f64` elements) of the grid scalar field.
|
|
3655
|
-
*/
|
|
3656
|
-
gridArrayLen(grid_idx: number, array_idx: number): number;
|
|
3657
|
-
/**
|
|
3658
|
-
* Name of scalar array `(gridIdx, arrayIdx)`, or empty string
|
|
3659
|
-
* if either index is out of range.
|
|
3660
|
-
*/
|
|
3661
|
-
gridArrayName(grid_idx: number, array_idx: number): string;
|
|
3662
|
-
/**
|
|
3663
|
-
* Pointer to the contiguous `f64` slice backing the grid
|
|
3664
|
-
* scalar field, or 0 (null) if either index is out of range.
|
|
3665
|
-
*
|
|
3666
|
-
* **Lifetime**: valid only until the next non-trivial wasm
|
|
3667
|
-
* call. See the module-level memory-grow contract.
|
|
3668
|
-
*/
|
|
3669
|
-
gridArrayPtrF64(grid_idx: number, array_idx: number): number;
|
|
3670
|
-
/**
|
|
3671
|
-
* Grid lattice cell as a length-9 `Float64Array` (column-major:
|
|
3672
|
-
* `[col0_x, col0_y, col0_z, col1_x, col1_y, col1_z, col2_x, col2_y, col2_z]`).
|
|
3673
|
-
*/
|
|
3674
|
-
gridCell(grid_idx: number): Float64Array;
|
|
3675
|
-
/**
|
|
3676
|
-
* Number of named grids attached to the current frame.
|
|
3677
|
-
*/
|
|
3678
|
-
gridCount(): number;
|
|
3679
|
-
/**
|
|
3680
|
-
* Name of grid `gridIdx`, or empty string if out of range.
|
|
3681
|
-
*/
|
|
3682
|
-
gridName(grid_idx: number): string;
|
|
3683
|
-
/**
|
|
3684
|
-
* Grid origin (Cartesian, Å) as a length-3 `Float64Array`.
|
|
3685
|
-
*/
|
|
3686
|
-
gridOrigin(grid_idx: number): Float64Array;
|
|
3687
|
-
/**
|
|
3688
|
-
* Grid PBC flags as a length-3 `Uint8Array` (`1` = periodic,
|
|
3689
|
-
* `0` = open).
|
|
3690
|
-
*/
|
|
3691
|
-
gridPbc(grid_idx: number): Uint8Array;
|
|
3692
|
-
/**
|
|
3693
|
-
* Grid dimensions `[nx, ny, nz]` as a length-3 `Uint32Array`.
|
|
3694
|
-
*/
|
|
3695
|
-
gridShape(grid_idx: number): Uint32Array;
|
|
3696
3508
|
/**
|
|
3697
3509
|
* Current capacity (in bytes) of the reusable input buffer.
|
|
3698
3510
|
*/
|
|
@@ -3712,7 +3524,7 @@ export class WasmSdfStream {
|
|
|
3712
3524
|
parseRangeInInput(offset: number, len: number): void;
|
|
3713
3525
|
/**
|
|
3714
3526
|
* Drop the cached output frame, releasing its memory and
|
|
3715
|
-
* invalidating any outstanding `columnPtr*`
|
|
3527
|
+
* invalidating any outstanding `columnPtr*` pointers.
|
|
3716
3528
|
* pointers. Subsequent extraction calls return 0 / empty
|
|
3717
3529
|
* until the next `parseRangeInInput`.
|
|
3718
3530
|
*/
|
|
@@ -3834,53 +3646,6 @@ export class WasmXyzStream {
|
|
|
3834
3646
|
* throw.
|
|
3835
3647
|
*/
|
|
3836
3648
|
finishIndex(): FrameIndexEntry[];
|
|
3837
|
-
/**
|
|
3838
|
-
* Number of named scalar arrays in grid `gridIdx`.
|
|
3839
|
-
*/
|
|
3840
|
-
gridArrayCount(grid_idx: number): number;
|
|
3841
|
-
/**
|
|
3842
|
-
* Length (number of `f64` elements) of the grid scalar field.
|
|
3843
|
-
*/
|
|
3844
|
-
gridArrayLen(grid_idx: number, array_idx: number): number;
|
|
3845
|
-
/**
|
|
3846
|
-
* Name of scalar array `(gridIdx, arrayIdx)`, or empty string
|
|
3847
|
-
* if either index is out of range.
|
|
3848
|
-
*/
|
|
3849
|
-
gridArrayName(grid_idx: number, array_idx: number): string;
|
|
3850
|
-
/**
|
|
3851
|
-
* Pointer to the contiguous `f64` slice backing the grid
|
|
3852
|
-
* scalar field, or 0 (null) if either index is out of range.
|
|
3853
|
-
*
|
|
3854
|
-
* **Lifetime**: valid only until the next non-trivial wasm
|
|
3855
|
-
* call. See the module-level memory-grow contract.
|
|
3856
|
-
*/
|
|
3857
|
-
gridArrayPtrF64(grid_idx: number, array_idx: number): number;
|
|
3858
|
-
/**
|
|
3859
|
-
* Grid lattice cell as a length-9 `Float64Array` (column-major:
|
|
3860
|
-
* `[col0_x, col0_y, col0_z, col1_x, col1_y, col1_z, col2_x, col2_y, col2_z]`).
|
|
3861
|
-
*/
|
|
3862
|
-
gridCell(grid_idx: number): Float64Array;
|
|
3863
|
-
/**
|
|
3864
|
-
* Number of named grids attached to the current frame.
|
|
3865
|
-
*/
|
|
3866
|
-
gridCount(): number;
|
|
3867
|
-
/**
|
|
3868
|
-
* Name of grid `gridIdx`, or empty string if out of range.
|
|
3869
|
-
*/
|
|
3870
|
-
gridName(grid_idx: number): string;
|
|
3871
|
-
/**
|
|
3872
|
-
* Grid origin (Cartesian, Å) as a length-3 `Float64Array`.
|
|
3873
|
-
*/
|
|
3874
|
-
gridOrigin(grid_idx: number): Float64Array;
|
|
3875
|
-
/**
|
|
3876
|
-
* Grid PBC flags as a length-3 `Uint8Array` (`1` = periodic,
|
|
3877
|
-
* `0` = open).
|
|
3878
|
-
*/
|
|
3879
|
-
gridPbc(grid_idx: number): Uint8Array;
|
|
3880
|
-
/**
|
|
3881
|
-
* Grid dimensions `[nx, ny, nz]` as a length-3 `Uint32Array`.
|
|
3882
|
-
*/
|
|
3883
|
-
gridShape(grid_idx: number): Uint32Array;
|
|
3884
3649
|
/**
|
|
3885
3650
|
* Current capacity (in bytes) of the reusable input buffer.
|
|
3886
3651
|
*/
|
|
@@ -3900,7 +3665,7 @@ export class WasmXyzStream {
|
|
|
3900
3665
|
parseRangeInInput(offset: number, len: number): void;
|
|
3901
3666
|
/**
|
|
3902
3667
|
* Drop the cached output frame, releasing its memory and
|
|
3903
|
-
* invalidating any outstanding `columnPtr*`
|
|
3668
|
+
* invalidating any outstanding `columnPtr*` pointers.
|
|
3904
3669
|
* pointers. Subsequent extraction calls return 0 / empty
|
|
3905
3670
|
* until the next `parseRangeInInput`.
|
|
3906
3671
|
*/
|
package/molrs_bg.js
CHANGED
|
@@ -4812,129 +4812,6 @@ export class WasmLammpsDataStream {
|
|
|
4812
4812
|
wasm.__wbindgen_free_command_export(ret[0], ret[1] * 4, 4);
|
|
4813
4813
|
return v1;
|
|
4814
4814
|
}
|
|
4815
|
-
/**
|
|
4816
|
-
* Number of named scalar arrays in grid `gridIdx`.
|
|
4817
|
-
* @param {number} grid_idx
|
|
4818
|
-
* @returns {number}
|
|
4819
|
-
*/
|
|
4820
|
-
gridArrayCount(grid_idx) {
|
|
4821
|
-
const ret = wasm.wasmlammpsdatastream_gridArrayCount(this.__wbg_ptr, grid_idx);
|
|
4822
|
-
return ret >>> 0;
|
|
4823
|
-
}
|
|
4824
|
-
/**
|
|
4825
|
-
* Length (number of `f64` elements) of the grid scalar field.
|
|
4826
|
-
* @param {number} grid_idx
|
|
4827
|
-
* @param {number} array_idx
|
|
4828
|
-
* @returns {number}
|
|
4829
|
-
*/
|
|
4830
|
-
gridArrayLen(grid_idx, array_idx) {
|
|
4831
|
-
const ret = wasm.wasmlammpsdatastream_gridArrayLen(this.__wbg_ptr, grid_idx, array_idx);
|
|
4832
|
-
return ret >>> 0;
|
|
4833
|
-
}
|
|
4834
|
-
/**
|
|
4835
|
-
* Name of scalar array `(gridIdx, arrayIdx)`, or empty string
|
|
4836
|
-
* if either index is out of range.
|
|
4837
|
-
* @param {number} grid_idx
|
|
4838
|
-
* @param {number} array_idx
|
|
4839
|
-
* @returns {string}
|
|
4840
|
-
*/
|
|
4841
|
-
gridArrayName(grid_idx, array_idx) {
|
|
4842
|
-
let deferred1_0;
|
|
4843
|
-
let deferred1_1;
|
|
4844
|
-
try {
|
|
4845
|
-
const ret = wasm.wasmlammpsdatastream_gridArrayName(this.__wbg_ptr, grid_idx, array_idx);
|
|
4846
|
-
deferred1_0 = ret[0];
|
|
4847
|
-
deferred1_1 = ret[1];
|
|
4848
|
-
return getStringFromWasm0(ret[0], ret[1]);
|
|
4849
|
-
} finally {
|
|
4850
|
-
wasm.__wbindgen_free_command_export(deferred1_0, deferred1_1, 1);
|
|
4851
|
-
}
|
|
4852
|
-
}
|
|
4853
|
-
/**
|
|
4854
|
-
* Pointer to the contiguous `f64` slice backing the grid
|
|
4855
|
-
* scalar field, or 0 (null) if either index is out of range.
|
|
4856
|
-
*
|
|
4857
|
-
* **Lifetime**: valid only until the next non-trivial wasm
|
|
4858
|
-
* call. See the module-level memory-grow contract.
|
|
4859
|
-
* @param {number} grid_idx
|
|
4860
|
-
* @param {number} array_idx
|
|
4861
|
-
* @returns {number}
|
|
4862
|
-
*/
|
|
4863
|
-
gridArrayPtrF64(grid_idx, array_idx) {
|
|
4864
|
-
const ret = wasm.wasmlammpsdatastream_gridArrayPtrF64(this.__wbg_ptr, grid_idx, array_idx);
|
|
4865
|
-
return ret >>> 0;
|
|
4866
|
-
}
|
|
4867
|
-
/**
|
|
4868
|
-
* Grid lattice cell as a length-9 `Float64Array` (column-major:
|
|
4869
|
-
* `[col0_x, col0_y, col0_z, col1_x, col1_y, col1_z, col2_x, col2_y, col2_z]`).
|
|
4870
|
-
* @param {number} grid_idx
|
|
4871
|
-
* @returns {Float64Array}
|
|
4872
|
-
*/
|
|
4873
|
-
gridCell(grid_idx) {
|
|
4874
|
-
const ret = wasm.wasmlammpsdatastream_gridCell(this.__wbg_ptr, grid_idx);
|
|
4875
|
-
var v1 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
|
|
4876
|
-
wasm.__wbindgen_free_command_export(ret[0], ret[1] * 8, 8);
|
|
4877
|
-
return v1;
|
|
4878
|
-
}
|
|
4879
|
-
/**
|
|
4880
|
-
* Number of named grids attached to the current frame.
|
|
4881
|
-
* @returns {number}
|
|
4882
|
-
*/
|
|
4883
|
-
gridCount() {
|
|
4884
|
-
const ret = wasm.wasmlammpsdatastream_gridCount(this.__wbg_ptr);
|
|
4885
|
-
return ret >>> 0;
|
|
4886
|
-
}
|
|
4887
|
-
/**
|
|
4888
|
-
* Name of grid `gridIdx`, or empty string if out of range.
|
|
4889
|
-
* @param {number} grid_idx
|
|
4890
|
-
* @returns {string}
|
|
4891
|
-
*/
|
|
4892
|
-
gridName(grid_idx) {
|
|
4893
|
-
let deferred1_0;
|
|
4894
|
-
let deferred1_1;
|
|
4895
|
-
try {
|
|
4896
|
-
const ret = wasm.wasmlammpsdatastream_gridName(this.__wbg_ptr, grid_idx);
|
|
4897
|
-
deferred1_0 = ret[0];
|
|
4898
|
-
deferred1_1 = ret[1];
|
|
4899
|
-
return getStringFromWasm0(ret[0], ret[1]);
|
|
4900
|
-
} finally {
|
|
4901
|
-
wasm.__wbindgen_free_command_export(deferred1_0, deferred1_1, 1);
|
|
4902
|
-
}
|
|
4903
|
-
}
|
|
4904
|
-
/**
|
|
4905
|
-
* Grid origin (Cartesian, Å) as a length-3 `Float64Array`.
|
|
4906
|
-
* @param {number} grid_idx
|
|
4907
|
-
* @returns {Float64Array}
|
|
4908
|
-
*/
|
|
4909
|
-
gridOrigin(grid_idx) {
|
|
4910
|
-
const ret = wasm.wasmlammpsdatastream_gridOrigin(this.__wbg_ptr, grid_idx);
|
|
4911
|
-
var v1 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
|
|
4912
|
-
wasm.__wbindgen_free_command_export(ret[0], ret[1] * 8, 8);
|
|
4913
|
-
return v1;
|
|
4914
|
-
}
|
|
4915
|
-
/**
|
|
4916
|
-
* Grid PBC flags as a length-3 `Uint8Array` (`1` = periodic,
|
|
4917
|
-
* `0` = open).
|
|
4918
|
-
* @param {number} grid_idx
|
|
4919
|
-
* @returns {Uint8Array}
|
|
4920
|
-
*/
|
|
4921
|
-
gridPbc(grid_idx) {
|
|
4922
|
-
const ret = wasm.wasmlammpsdatastream_gridPbc(this.__wbg_ptr, grid_idx);
|
|
4923
|
-
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
4924
|
-
wasm.__wbindgen_free_command_export(ret[0], ret[1] * 1, 1);
|
|
4925
|
-
return v1;
|
|
4926
|
-
}
|
|
4927
|
-
/**
|
|
4928
|
-
* Grid dimensions `[nx, ny, nz]` as a length-3 `Uint32Array`.
|
|
4929
|
-
* @param {number} grid_idx
|
|
4930
|
-
* @returns {Uint32Array}
|
|
4931
|
-
*/
|
|
4932
|
-
gridShape(grid_idx) {
|
|
4933
|
-
const ret = wasm.wasmlammpsdatastream_gridShape(this.__wbg_ptr, grid_idx);
|
|
4934
|
-
var v1 = getArrayU32FromWasm0(ret[0], ret[1]).slice();
|
|
4935
|
-
wasm.__wbindgen_free_command_export(ret[0], ret[1] * 4, 4);
|
|
4936
|
-
return v1;
|
|
4937
|
-
}
|
|
4938
4815
|
/**
|
|
4939
4816
|
* Current capacity (in bytes) of the reusable input buffer.
|
|
4940
4817
|
* @returns {number}
|
|
@@ -4970,7 +4847,7 @@ export class WasmLammpsDataStream {
|
|
|
4970
4847
|
}
|
|
4971
4848
|
/**
|
|
4972
4849
|
* Drop the cached output frame, releasing its memory and
|
|
4973
|
-
* invalidating any outstanding `columnPtr*`
|
|
4850
|
+
* invalidating any outstanding `columnPtr*` pointers.
|
|
4974
4851
|
* pointers. Subsequent extraction calls return 0 / empty
|
|
4975
4852
|
* until the next `parseRangeInInput`.
|
|
4976
4853
|
*/
|
|
@@ -5237,129 +5114,6 @@ export class WasmLammpsDumpStream {
|
|
|
5237
5114
|
wasm.__wbindgen_free_command_export(ret[0], ret[1] * 4, 4);
|
|
5238
5115
|
return v1;
|
|
5239
5116
|
}
|
|
5240
|
-
/**
|
|
5241
|
-
* Number of named scalar arrays in grid `gridIdx`.
|
|
5242
|
-
* @param {number} grid_idx
|
|
5243
|
-
* @returns {number}
|
|
5244
|
-
*/
|
|
5245
|
-
gridArrayCount(grid_idx) {
|
|
5246
|
-
const ret = wasm.wasmlammpsdumpstream_gridArrayCount(this.__wbg_ptr, grid_idx);
|
|
5247
|
-
return ret >>> 0;
|
|
5248
|
-
}
|
|
5249
|
-
/**
|
|
5250
|
-
* Length (number of `f64` elements) of the grid scalar field.
|
|
5251
|
-
* @param {number} grid_idx
|
|
5252
|
-
* @param {number} array_idx
|
|
5253
|
-
* @returns {number}
|
|
5254
|
-
*/
|
|
5255
|
-
gridArrayLen(grid_idx, array_idx) {
|
|
5256
|
-
const ret = wasm.wasmlammpsdumpstream_gridArrayLen(this.__wbg_ptr, grid_idx, array_idx);
|
|
5257
|
-
return ret >>> 0;
|
|
5258
|
-
}
|
|
5259
|
-
/**
|
|
5260
|
-
* Name of scalar array `(gridIdx, arrayIdx)`, or empty string
|
|
5261
|
-
* if either index is out of range.
|
|
5262
|
-
* @param {number} grid_idx
|
|
5263
|
-
* @param {number} array_idx
|
|
5264
|
-
* @returns {string}
|
|
5265
|
-
*/
|
|
5266
|
-
gridArrayName(grid_idx, array_idx) {
|
|
5267
|
-
let deferred1_0;
|
|
5268
|
-
let deferred1_1;
|
|
5269
|
-
try {
|
|
5270
|
-
const ret = wasm.wasmlammpsdumpstream_gridArrayName(this.__wbg_ptr, grid_idx, array_idx);
|
|
5271
|
-
deferred1_0 = ret[0];
|
|
5272
|
-
deferred1_1 = ret[1];
|
|
5273
|
-
return getStringFromWasm0(ret[0], ret[1]);
|
|
5274
|
-
} finally {
|
|
5275
|
-
wasm.__wbindgen_free_command_export(deferred1_0, deferred1_1, 1);
|
|
5276
|
-
}
|
|
5277
|
-
}
|
|
5278
|
-
/**
|
|
5279
|
-
* Pointer to the contiguous `f64` slice backing the grid
|
|
5280
|
-
* scalar field, or 0 (null) if either index is out of range.
|
|
5281
|
-
*
|
|
5282
|
-
* **Lifetime**: valid only until the next non-trivial wasm
|
|
5283
|
-
* call. See the module-level memory-grow contract.
|
|
5284
|
-
* @param {number} grid_idx
|
|
5285
|
-
* @param {number} array_idx
|
|
5286
|
-
* @returns {number}
|
|
5287
|
-
*/
|
|
5288
|
-
gridArrayPtrF64(grid_idx, array_idx) {
|
|
5289
|
-
const ret = wasm.wasmlammpsdumpstream_gridArrayPtrF64(this.__wbg_ptr, grid_idx, array_idx);
|
|
5290
|
-
return ret >>> 0;
|
|
5291
|
-
}
|
|
5292
|
-
/**
|
|
5293
|
-
* Grid lattice cell as a length-9 `Float64Array` (column-major:
|
|
5294
|
-
* `[col0_x, col0_y, col0_z, col1_x, col1_y, col1_z, col2_x, col2_y, col2_z]`).
|
|
5295
|
-
* @param {number} grid_idx
|
|
5296
|
-
* @returns {Float64Array}
|
|
5297
|
-
*/
|
|
5298
|
-
gridCell(grid_idx) {
|
|
5299
|
-
const ret = wasm.wasmlammpsdumpstream_gridCell(this.__wbg_ptr, grid_idx);
|
|
5300
|
-
var v1 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
|
|
5301
|
-
wasm.__wbindgen_free_command_export(ret[0], ret[1] * 8, 8);
|
|
5302
|
-
return v1;
|
|
5303
|
-
}
|
|
5304
|
-
/**
|
|
5305
|
-
* Number of named grids attached to the current frame.
|
|
5306
|
-
* @returns {number}
|
|
5307
|
-
*/
|
|
5308
|
-
gridCount() {
|
|
5309
|
-
const ret = wasm.wasmlammpsdumpstream_gridCount(this.__wbg_ptr);
|
|
5310
|
-
return ret >>> 0;
|
|
5311
|
-
}
|
|
5312
|
-
/**
|
|
5313
|
-
* Name of grid `gridIdx`, or empty string if out of range.
|
|
5314
|
-
* @param {number} grid_idx
|
|
5315
|
-
* @returns {string}
|
|
5316
|
-
*/
|
|
5317
|
-
gridName(grid_idx) {
|
|
5318
|
-
let deferred1_0;
|
|
5319
|
-
let deferred1_1;
|
|
5320
|
-
try {
|
|
5321
|
-
const ret = wasm.wasmlammpsdumpstream_gridName(this.__wbg_ptr, grid_idx);
|
|
5322
|
-
deferred1_0 = ret[0];
|
|
5323
|
-
deferred1_1 = ret[1];
|
|
5324
|
-
return getStringFromWasm0(ret[0], ret[1]);
|
|
5325
|
-
} finally {
|
|
5326
|
-
wasm.__wbindgen_free_command_export(deferred1_0, deferred1_1, 1);
|
|
5327
|
-
}
|
|
5328
|
-
}
|
|
5329
|
-
/**
|
|
5330
|
-
* Grid origin (Cartesian, Å) as a length-3 `Float64Array`.
|
|
5331
|
-
* @param {number} grid_idx
|
|
5332
|
-
* @returns {Float64Array}
|
|
5333
|
-
*/
|
|
5334
|
-
gridOrigin(grid_idx) {
|
|
5335
|
-
const ret = wasm.wasmlammpsdumpstream_gridOrigin(this.__wbg_ptr, grid_idx);
|
|
5336
|
-
var v1 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
|
|
5337
|
-
wasm.__wbindgen_free_command_export(ret[0], ret[1] * 8, 8);
|
|
5338
|
-
return v1;
|
|
5339
|
-
}
|
|
5340
|
-
/**
|
|
5341
|
-
* Grid PBC flags as a length-3 `Uint8Array` (`1` = periodic,
|
|
5342
|
-
* `0` = open).
|
|
5343
|
-
* @param {number} grid_idx
|
|
5344
|
-
* @returns {Uint8Array}
|
|
5345
|
-
*/
|
|
5346
|
-
gridPbc(grid_idx) {
|
|
5347
|
-
const ret = wasm.wasmlammpsdumpstream_gridPbc(this.__wbg_ptr, grid_idx);
|
|
5348
|
-
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
5349
|
-
wasm.__wbindgen_free_command_export(ret[0], ret[1] * 1, 1);
|
|
5350
|
-
return v1;
|
|
5351
|
-
}
|
|
5352
|
-
/**
|
|
5353
|
-
* Grid dimensions `[nx, ny, nz]` as a length-3 `Uint32Array`.
|
|
5354
|
-
* @param {number} grid_idx
|
|
5355
|
-
* @returns {Uint32Array}
|
|
5356
|
-
*/
|
|
5357
|
-
gridShape(grid_idx) {
|
|
5358
|
-
const ret = wasm.wasmlammpsdumpstream_gridShape(this.__wbg_ptr, grid_idx);
|
|
5359
|
-
var v1 = getArrayU32FromWasm0(ret[0], ret[1]).slice();
|
|
5360
|
-
wasm.__wbindgen_free_command_export(ret[0], ret[1] * 4, 4);
|
|
5361
|
-
return v1;
|
|
5362
|
-
}
|
|
5363
5117
|
/**
|
|
5364
5118
|
* Current capacity (in bytes) of the reusable input buffer.
|
|
5365
5119
|
* @returns {number}
|
|
@@ -5395,7 +5149,7 @@ export class WasmLammpsDumpStream {
|
|
|
5395
5149
|
}
|
|
5396
5150
|
/**
|
|
5397
5151
|
* Drop the cached output frame, releasing its memory and
|
|
5398
|
-
* invalidating any outstanding `columnPtr*`
|
|
5152
|
+
* invalidating any outstanding `columnPtr*` pointers.
|
|
5399
5153
|
* pointers. Subsequent extraction calls return 0 / empty
|
|
5400
5154
|
* until the next `parseRangeInInput`.
|
|
5401
5155
|
*/
|
|
@@ -5774,129 +5528,6 @@ export class WasmPdbStream {
|
|
|
5774
5528
|
wasm.__wbindgen_free_command_export(ret[0], ret[1] * 4, 4);
|
|
5775
5529
|
return v1;
|
|
5776
5530
|
}
|
|
5777
|
-
/**
|
|
5778
|
-
* Number of named scalar arrays in grid `gridIdx`.
|
|
5779
|
-
* @param {number} grid_idx
|
|
5780
|
-
* @returns {number}
|
|
5781
|
-
*/
|
|
5782
|
-
gridArrayCount(grid_idx) {
|
|
5783
|
-
const ret = wasm.wasmpdbstream_gridArrayCount(this.__wbg_ptr, grid_idx);
|
|
5784
|
-
return ret >>> 0;
|
|
5785
|
-
}
|
|
5786
|
-
/**
|
|
5787
|
-
* Length (number of `f64` elements) of the grid scalar field.
|
|
5788
|
-
* @param {number} grid_idx
|
|
5789
|
-
* @param {number} array_idx
|
|
5790
|
-
* @returns {number}
|
|
5791
|
-
*/
|
|
5792
|
-
gridArrayLen(grid_idx, array_idx) {
|
|
5793
|
-
const ret = wasm.wasmpdbstream_gridArrayLen(this.__wbg_ptr, grid_idx, array_idx);
|
|
5794
|
-
return ret >>> 0;
|
|
5795
|
-
}
|
|
5796
|
-
/**
|
|
5797
|
-
* Name of scalar array `(gridIdx, arrayIdx)`, or empty string
|
|
5798
|
-
* if either index is out of range.
|
|
5799
|
-
* @param {number} grid_idx
|
|
5800
|
-
* @param {number} array_idx
|
|
5801
|
-
* @returns {string}
|
|
5802
|
-
*/
|
|
5803
|
-
gridArrayName(grid_idx, array_idx) {
|
|
5804
|
-
let deferred1_0;
|
|
5805
|
-
let deferred1_1;
|
|
5806
|
-
try {
|
|
5807
|
-
const ret = wasm.wasmpdbstream_gridArrayName(this.__wbg_ptr, grid_idx, array_idx);
|
|
5808
|
-
deferred1_0 = ret[0];
|
|
5809
|
-
deferred1_1 = ret[1];
|
|
5810
|
-
return getStringFromWasm0(ret[0], ret[1]);
|
|
5811
|
-
} finally {
|
|
5812
|
-
wasm.__wbindgen_free_command_export(deferred1_0, deferred1_1, 1);
|
|
5813
|
-
}
|
|
5814
|
-
}
|
|
5815
|
-
/**
|
|
5816
|
-
* Pointer to the contiguous `f64` slice backing the grid
|
|
5817
|
-
* scalar field, or 0 (null) if either index is out of range.
|
|
5818
|
-
*
|
|
5819
|
-
* **Lifetime**: valid only until the next non-trivial wasm
|
|
5820
|
-
* call. See the module-level memory-grow contract.
|
|
5821
|
-
* @param {number} grid_idx
|
|
5822
|
-
* @param {number} array_idx
|
|
5823
|
-
* @returns {number}
|
|
5824
|
-
*/
|
|
5825
|
-
gridArrayPtrF64(grid_idx, array_idx) {
|
|
5826
|
-
const ret = wasm.wasmpdbstream_gridArrayPtrF64(this.__wbg_ptr, grid_idx, array_idx);
|
|
5827
|
-
return ret >>> 0;
|
|
5828
|
-
}
|
|
5829
|
-
/**
|
|
5830
|
-
* Grid lattice cell as a length-9 `Float64Array` (column-major:
|
|
5831
|
-
* `[col0_x, col0_y, col0_z, col1_x, col1_y, col1_z, col2_x, col2_y, col2_z]`).
|
|
5832
|
-
* @param {number} grid_idx
|
|
5833
|
-
* @returns {Float64Array}
|
|
5834
|
-
*/
|
|
5835
|
-
gridCell(grid_idx) {
|
|
5836
|
-
const ret = wasm.wasmpdbstream_gridCell(this.__wbg_ptr, grid_idx);
|
|
5837
|
-
var v1 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
|
|
5838
|
-
wasm.__wbindgen_free_command_export(ret[0], ret[1] * 8, 8);
|
|
5839
|
-
return v1;
|
|
5840
|
-
}
|
|
5841
|
-
/**
|
|
5842
|
-
* Number of named grids attached to the current frame.
|
|
5843
|
-
* @returns {number}
|
|
5844
|
-
*/
|
|
5845
|
-
gridCount() {
|
|
5846
|
-
const ret = wasm.wasmpdbstream_gridCount(this.__wbg_ptr);
|
|
5847
|
-
return ret >>> 0;
|
|
5848
|
-
}
|
|
5849
|
-
/**
|
|
5850
|
-
* Name of grid `gridIdx`, or empty string if out of range.
|
|
5851
|
-
* @param {number} grid_idx
|
|
5852
|
-
* @returns {string}
|
|
5853
|
-
*/
|
|
5854
|
-
gridName(grid_idx) {
|
|
5855
|
-
let deferred1_0;
|
|
5856
|
-
let deferred1_1;
|
|
5857
|
-
try {
|
|
5858
|
-
const ret = wasm.wasmpdbstream_gridName(this.__wbg_ptr, grid_idx);
|
|
5859
|
-
deferred1_0 = ret[0];
|
|
5860
|
-
deferred1_1 = ret[1];
|
|
5861
|
-
return getStringFromWasm0(ret[0], ret[1]);
|
|
5862
|
-
} finally {
|
|
5863
|
-
wasm.__wbindgen_free_command_export(deferred1_0, deferred1_1, 1);
|
|
5864
|
-
}
|
|
5865
|
-
}
|
|
5866
|
-
/**
|
|
5867
|
-
* Grid origin (Cartesian, Å) as a length-3 `Float64Array`.
|
|
5868
|
-
* @param {number} grid_idx
|
|
5869
|
-
* @returns {Float64Array}
|
|
5870
|
-
*/
|
|
5871
|
-
gridOrigin(grid_idx) {
|
|
5872
|
-
const ret = wasm.wasmpdbstream_gridOrigin(this.__wbg_ptr, grid_idx);
|
|
5873
|
-
var v1 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
|
|
5874
|
-
wasm.__wbindgen_free_command_export(ret[0], ret[1] * 8, 8);
|
|
5875
|
-
return v1;
|
|
5876
|
-
}
|
|
5877
|
-
/**
|
|
5878
|
-
* Grid PBC flags as a length-3 `Uint8Array` (`1` = periodic,
|
|
5879
|
-
* `0` = open).
|
|
5880
|
-
* @param {number} grid_idx
|
|
5881
|
-
* @returns {Uint8Array}
|
|
5882
|
-
*/
|
|
5883
|
-
gridPbc(grid_idx) {
|
|
5884
|
-
const ret = wasm.wasmpdbstream_gridPbc(this.__wbg_ptr, grid_idx);
|
|
5885
|
-
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
5886
|
-
wasm.__wbindgen_free_command_export(ret[0], ret[1] * 1, 1);
|
|
5887
|
-
return v1;
|
|
5888
|
-
}
|
|
5889
|
-
/**
|
|
5890
|
-
* Grid dimensions `[nx, ny, nz]` as a length-3 `Uint32Array`.
|
|
5891
|
-
* @param {number} grid_idx
|
|
5892
|
-
* @returns {Uint32Array}
|
|
5893
|
-
*/
|
|
5894
|
-
gridShape(grid_idx) {
|
|
5895
|
-
const ret = wasm.wasmpdbstream_gridShape(this.__wbg_ptr, grid_idx);
|
|
5896
|
-
var v1 = getArrayU32FromWasm0(ret[0], ret[1]).slice();
|
|
5897
|
-
wasm.__wbindgen_free_command_export(ret[0], ret[1] * 4, 4);
|
|
5898
|
-
return v1;
|
|
5899
|
-
}
|
|
5900
5531
|
/**
|
|
5901
5532
|
* Current capacity (in bytes) of the reusable input buffer.
|
|
5902
5533
|
* @returns {number}
|
|
@@ -5932,7 +5563,7 @@ export class WasmPdbStream {
|
|
|
5932
5563
|
}
|
|
5933
5564
|
/**
|
|
5934
5565
|
* Drop the cached output frame, releasing its memory and
|
|
5935
|
-
* invalidating any outstanding `columnPtr*`
|
|
5566
|
+
* invalidating any outstanding `columnPtr*` pointers.
|
|
5936
5567
|
* pointers. Subsequent extraction calls return 0 / empty
|
|
5937
5568
|
* until the next `parseRangeInInput`.
|
|
5938
5569
|
*/
|
|
@@ -6199,129 +5830,6 @@ export class WasmSdfStream {
|
|
|
6199
5830
|
wasm.__wbindgen_free_command_export(ret[0], ret[1] * 4, 4);
|
|
6200
5831
|
return v1;
|
|
6201
5832
|
}
|
|
6202
|
-
/**
|
|
6203
|
-
* Number of named scalar arrays in grid `gridIdx`.
|
|
6204
|
-
* @param {number} grid_idx
|
|
6205
|
-
* @returns {number}
|
|
6206
|
-
*/
|
|
6207
|
-
gridArrayCount(grid_idx) {
|
|
6208
|
-
const ret = wasm.wasmsdfstream_gridArrayCount(this.__wbg_ptr, grid_idx);
|
|
6209
|
-
return ret >>> 0;
|
|
6210
|
-
}
|
|
6211
|
-
/**
|
|
6212
|
-
* Length (number of `f64` elements) of the grid scalar field.
|
|
6213
|
-
* @param {number} grid_idx
|
|
6214
|
-
* @param {number} array_idx
|
|
6215
|
-
* @returns {number}
|
|
6216
|
-
*/
|
|
6217
|
-
gridArrayLen(grid_idx, array_idx) {
|
|
6218
|
-
const ret = wasm.wasmsdfstream_gridArrayLen(this.__wbg_ptr, grid_idx, array_idx);
|
|
6219
|
-
return ret >>> 0;
|
|
6220
|
-
}
|
|
6221
|
-
/**
|
|
6222
|
-
* Name of scalar array `(gridIdx, arrayIdx)`, or empty string
|
|
6223
|
-
* if either index is out of range.
|
|
6224
|
-
* @param {number} grid_idx
|
|
6225
|
-
* @param {number} array_idx
|
|
6226
|
-
* @returns {string}
|
|
6227
|
-
*/
|
|
6228
|
-
gridArrayName(grid_idx, array_idx) {
|
|
6229
|
-
let deferred1_0;
|
|
6230
|
-
let deferred1_1;
|
|
6231
|
-
try {
|
|
6232
|
-
const ret = wasm.wasmsdfstream_gridArrayName(this.__wbg_ptr, grid_idx, array_idx);
|
|
6233
|
-
deferred1_0 = ret[0];
|
|
6234
|
-
deferred1_1 = ret[1];
|
|
6235
|
-
return getStringFromWasm0(ret[0], ret[1]);
|
|
6236
|
-
} finally {
|
|
6237
|
-
wasm.__wbindgen_free_command_export(deferred1_0, deferred1_1, 1);
|
|
6238
|
-
}
|
|
6239
|
-
}
|
|
6240
|
-
/**
|
|
6241
|
-
* Pointer to the contiguous `f64` slice backing the grid
|
|
6242
|
-
* scalar field, or 0 (null) if either index is out of range.
|
|
6243
|
-
*
|
|
6244
|
-
* **Lifetime**: valid only until the next non-trivial wasm
|
|
6245
|
-
* call. See the module-level memory-grow contract.
|
|
6246
|
-
* @param {number} grid_idx
|
|
6247
|
-
* @param {number} array_idx
|
|
6248
|
-
* @returns {number}
|
|
6249
|
-
*/
|
|
6250
|
-
gridArrayPtrF64(grid_idx, array_idx) {
|
|
6251
|
-
const ret = wasm.wasmsdfstream_gridArrayPtrF64(this.__wbg_ptr, grid_idx, array_idx);
|
|
6252
|
-
return ret >>> 0;
|
|
6253
|
-
}
|
|
6254
|
-
/**
|
|
6255
|
-
* Grid lattice cell as a length-9 `Float64Array` (column-major:
|
|
6256
|
-
* `[col0_x, col0_y, col0_z, col1_x, col1_y, col1_z, col2_x, col2_y, col2_z]`).
|
|
6257
|
-
* @param {number} grid_idx
|
|
6258
|
-
* @returns {Float64Array}
|
|
6259
|
-
*/
|
|
6260
|
-
gridCell(grid_idx) {
|
|
6261
|
-
const ret = wasm.wasmsdfstream_gridCell(this.__wbg_ptr, grid_idx);
|
|
6262
|
-
var v1 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
|
|
6263
|
-
wasm.__wbindgen_free_command_export(ret[0], ret[1] * 8, 8);
|
|
6264
|
-
return v1;
|
|
6265
|
-
}
|
|
6266
|
-
/**
|
|
6267
|
-
* Number of named grids attached to the current frame.
|
|
6268
|
-
* @returns {number}
|
|
6269
|
-
*/
|
|
6270
|
-
gridCount() {
|
|
6271
|
-
const ret = wasm.wasmsdfstream_gridCount(this.__wbg_ptr);
|
|
6272
|
-
return ret >>> 0;
|
|
6273
|
-
}
|
|
6274
|
-
/**
|
|
6275
|
-
* Name of grid `gridIdx`, or empty string if out of range.
|
|
6276
|
-
* @param {number} grid_idx
|
|
6277
|
-
* @returns {string}
|
|
6278
|
-
*/
|
|
6279
|
-
gridName(grid_idx) {
|
|
6280
|
-
let deferred1_0;
|
|
6281
|
-
let deferred1_1;
|
|
6282
|
-
try {
|
|
6283
|
-
const ret = wasm.wasmsdfstream_gridName(this.__wbg_ptr, grid_idx);
|
|
6284
|
-
deferred1_0 = ret[0];
|
|
6285
|
-
deferred1_1 = ret[1];
|
|
6286
|
-
return getStringFromWasm0(ret[0], ret[1]);
|
|
6287
|
-
} finally {
|
|
6288
|
-
wasm.__wbindgen_free_command_export(deferred1_0, deferred1_1, 1);
|
|
6289
|
-
}
|
|
6290
|
-
}
|
|
6291
|
-
/**
|
|
6292
|
-
* Grid origin (Cartesian, Å) as a length-3 `Float64Array`.
|
|
6293
|
-
* @param {number} grid_idx
|
|
6294
|
-
* @returns {Float64Array}
|
|
6295
|
-
*/
|
|
6296
|
-
gridOrigin(grid_idx) {
|
|
6297
|
-
const ret = wasm.wasmsdfstream_gridOrigin(this.__wbg_ptr, grid_idx);
|
|
6298
|
-
var v1 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
|
|
6299
|
-
wasm.__wbindgen_free_command_export(ret[0], ret[1] * 8, 8);
|
|
6300
|
-
return v1;
|
|
6301
|
-
}
|
|
6302
|
-
/**
|
|
6303
|
-
* Grid PBC flags as a length-3 `Uint8Array` (`1` = periodic,
|
|
6304
|
-
* `0` = open).
|
|
6305
|
-
* @param {number} grid_idx
|
|
6306
|
-
* @returns {Uint8Array}
|
|
6307
|
-
*/
|
|
6308
|
-
gridPbc(grid_idx) {
|
|
6309
|
-
const ret = wasm.wasmsdfstream_gridPbc(this.__wbg_ptr, grid_idx);
|
|
6310
|
-
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
6311
|
-
wasm.__wbindgen_free_command_export(ret[0], ret[1] * 1, 1);
|
|
6312
|
-
return v1;
|
|
6313
|
-
}
|
|
6314
|
-
/**
|
|
6315
|
-
* Grid dimensions `[nx, ny, nz]` as a length-3 `Uint32Array`.
|
|
6316
|
-
* @param {number} grid_idx
|
|
6317
|
-
* @returns {Uint32Array}
|
|
6318
|
-
*/
|
|
6319
|
-
gridShape(grid_idx) {
|
|
6320
|
-
const ret = wasm.wasmsdfstream_gridShape(this.__wbg_ptr, grid_idx);
|
|
6321
|
-
var v1 = getArrayU32FromWasm0(ret[0], ret[1]).slice();
|
|
6322
|
-
wasm.__wbindgen_free_command_export(ret[0], ret[1] * 4, 4);
|
|
6323
|
-
return v1;
|
|
6324
|
-
}
|
|
6325
5833
|
/**
|
|
6326
5834
|
* Current capacity (in bytes) of the reusable input buffer.
|
|
6327
5835
|
* @returns {number}
|
|
@@ -6357,7 +5865,7 @@ export class WasmSdfStream {
|
|
|
6357
5865
|
}
|
|
6358
5866
|
/**
|
|
6359
5867
|
* Drop the cached output frame, releasing its memory and
|
|
6360
|
-
* invalidating any outstanding `columnPtr*`
|
|
5868
|
+
* invalidating any outstanding `columnPtr*` pointers.
|
|
6361
5869
|
* pointers. Subsequent extraction calls return 0 / empty
|
|
6362
5870
|
* until the next `parseRangeInInput`.
|
|
6363
5871
|
*/
|
|
@@ -6624,129 +6132,6 @@ export class WasmXyzStream {
|
|
|
6624
6132
|
wasm.__wbindgen_free_command_export(ret[0], ret[1] * 4, 4);
|
|
6625
6133
|
return v1;
|
|
6626
6134
|
}
|
|
6627
|
-
/**
|
|
6628
|
-
* Number of named scalar arrays in grid `gridIdx`.
|
|
6629
|
-
* @param {number} grid_idx
|
|
6630
|
-
* @returns {number}
|
|
6631
|
-
*/
|
|
6632
|
-
gridArrayCount(grid_idx) {
|
|
6633
|
-
const ret = wasm.wasmxyzstream_gridArrayCount(this.__wbg_ptr, grid_idx);
|
|
6634
|
-
return ret >>> 0;
|
|
6635
|
-
}
|
|
6636
|
-
/**
|
|
6637
|
-
* Length (number of `f64` elements) of the grid scalar field.
|
|
6638
|
-
* @param {number} grid_idx
|
|
6639
|
-
* @param {number} array_idx
|
|
6640
|
-
* @returns {number}
|
|
6641
|
-
*/
|
|
6642
|
-
gridArrayLen(grid_idx, array_idx) {
|
|
6643
|
-
const ret = wasm.wasmxyzstream_gridArrayLen(this.__wbg_ptr, grid_idx, array_idx);
|
|
6644
|
-
return ret >>> 0;
|
|
6645
|
-
}
|
|
6646
|
-
/**
|
|
6647
|
-
* Name of scalar array `(gridIdx, arrayIdx)`, or empty string
|
|
6648
|
-
* if either index is out of range.
|
|
6649
|
-
* @param {number} grid_idx
|
|
6650
|
-
* @param {number} array_idx
|
|
6651
|
-
* @returns {string}
|
|
6652
|
-
*/
|
|
6653
|
-
gridArrayName(grid_idx, array_idx) {
|
|
6654
|
-
let deferred1_0;
|
|
6655
|
-
let deferred1_1;
|
|
6656
|
-
try {
|
|
6657
|
-
const ret = wasm.wasmxyzstream_gridArrayName(this.__wbg_ptr, grid_idx, array_idx);
|
|
6658
|
-
deferred1_0 = ret[0];
|
|
6659
|
-
deferred1_1 = ret[1];
|
|
6660
|
-
return getStringFromWasm0(ret[0], ret[1]);
|
|
6661
|
-
} finally {
|
|
6662
|
-
wasm.__wbindgen_free_command_export(deferred1_0, deferred1_1, 1);
|
|
6663
|
-
}
|
|
6664
|
-
}
|
|
6665
|
-
/**
|
|
6666
|
-
* Pointer to the contiguous `f64` slice backing the grid
|
|
6667
|
-
* scalar field, or 0 (null) if either index is out of range.
|
|
6668
|
-
*
|
|
6669
|
-
* **Lifetime**: valid only until the next non-trivial wasm
|
|
6670
|
-
* call. See the module-level memory-grow contract.
|
|
6671
|
-
* @param {number} grid_idx
|
|
6672
|
-
* @param {number} array_idx
|
|
6673
|
-
* @returns {number}
|
|
6674
|
-
*/
|
|
6675
|
-
gridArrayPtrF64(grid_idx, array_idx) {
|
|
6676
|
-
const ret = wasm.wasmxyzstream_gridArrayPtrF64(this.__wbg_ptr, grid_idx, array_idx);
|
|
6677
|
-
return ret >>> 0;
|
|
6678
|
-
}
|
|
6679
|
-
/**
|
|
6680
|
-
* Grid lattice cell as a length-9 `Float64Array` (column-major:
|
|
6681
|
-
* `[col0_x, col0_y, col0_z, col1_x, col1_y, col1_z, col2_x, col2_y, col2_z]`).
|
|
6682
|
-
* @param {number} grid_idx
|
|
6683
|
-
* @returns {Float64Array}
|
|
6684
|
-
*/
|
|
6685
|
-
gridCell(grid_idx) {
|
|
6686
|
-
const ret = wasm.wasmxyzstream_gridCell(this.__wbg_ptr, grid_idx);
|
|
6687
|
-
var v1 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
|
|
6688
|
-
wasm.__wbindgen_free_command_export(ret[0], ret[1] * 8, 8);
|
|
6689
|
-
return v1;
|
|
6690
|
-
}
|
|
6691
|
-
/**
|
|
6692
|
-
* Number of named grids attached to the current frame.
|
|
6693
|
-
* @returns {number}
|
|
6694
|
-
*/
|
|
6695
|
-
gridCount() {
|
|
6696
|
-
const ret = wasm.wasmxyzstream_gridCount(this.__wbg_ptr);
|
|
6697
|
-
return ret >>> 0;
|
|
6698
|
-
}
|
|
6699
|
-
/**
|
|
6700
|
-
* Name of grid `gridIdx`, or empty string if out of range.
|
|
6701
|
-
* @param {number} grid_idx
|
|
6702
|
-
* @returns {string}
|
|
6703
|
-
*/
|
|
6704
|
-
gridName(grid_idx) {
|
|
6705
|
-
let deferred1_0;
|
|
6706
|
-
let deferred1_1;
|
|
6707
|
-
try {
|
|
6708
|
-
const ret = wasm.wasmxyzstream_gridName(this.__wbg_ptr, grid_idx);
|
|
6709
|
-
deferred1_0 = ret[0];
|
|
6710
|
-
deferred1_1 = ret[1];
|
|
6711
|
-
return getStringFromWasm0(ret[0], ret[1]);
|
|
6712
|
-
} finally {
|
|
6713
|
-
wasm.__wbindgen_free_command_export(deferred1_0, deferred1_1, 1);
|
|
6714
|
-
}
|
|
6715
|
-
}
|
|
6716
|
-
/**
|
|
6717
|
-
* Grid origin (Cartesian, Å) as a length-3 `Float64Array`.
|
|
6718
|
-
* @param {number} grid_idx
|
|
6719
|
-
* @returns {Float64Array}
|
|
6720
|
-
*/
|
|
6721
|
-
gridOrigin(grid_idx) {
|
|
6722
|
-
const ret = wasm.wasmxyzstream_gridOrigin(this.__wbg_ptr, grid_idx);
|
|
6723
|
-
var v1 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
|
|
6724
|
-
wasm.__wbindgen_free_command_export(ret[0], ret[1] * 8, 8);
|
|
6725
|
-
return v1;
|
|
6726
|
-
}
|
|
6727
|
-
/**
|
|
6728
|
-
* Grid PBC flags as a length-3 `Uint8Array` (`1` = periodic,
|
|
6729
|
-
* `0` = open).
|
|
6730
|
-
* @param {number} grid_idx
|
|
6731
|
-
* @returns {Uint8Array}
|
|
6732
|
-
*/
|
|
6733
|
-
gridPbc(grid_idx) {
|
|
6734
|
-
const ret = wasm.wasmxyzstream_gridPbc(this.__wbg_ptr, grid_idx);
|
|
6735
|
-
var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
6736
|
-
wasm.__wbindgen_free_command_export(ret[0], ret[1] * 1, 1);
|
|
6737
|
-
return v1;
|
|
6738
|
-
}
|
|
6739
|
-
/**
|
|
6740
|
-
* Grid dimensions `[nx, ny, nz]` as a length-3 `Uint32Array`.
|
|
6741
|
-
* @param {number} grid_idx
|
|
6742
|
-
* @returns {Uint32Array}
|
|
6743
|
-
*/
|
|
6744
|
-
gridShape(grid_idx) {
|
|
6745
|
-
const ret = wasm.wasmxyzstream_gridShape(this.__wbg_ptr, grid_idx);
|
|
6746
|
-
var v1 = getArrayU32FromWasm0(ret[0], ret[1]).slice();
|
|
6747
|
-
wasm.__wbindgen_free_command_export(ret[0], ret[1] * 4, 4);
|
|
6748
|
-
return v1;
|
|
6749
|
-
}
|
|
6750
6135
|
/**
|
|
6751
6136
|
* Current capacity (in bytes) of the reusable input buffer.
|
|
6752
6137
|
* @returns {number}
|
|
@@ -6782,7 +6167,7 @@ export class WasmXyzStream {
|
|
|
6782
6167
|
}
|
|
6783
6168
|
/**
|
|
6784
6169
|
* Drop the cached output frame, releasing its memory and
|
|
6785
|
-
* invalidating any outstanding `columnPtr*`
|
|
6170
|
+
* invalidating any outstanding `columnPtr*` pointers.
|
|
6786
6171
|
* pointers. Subsequent extraction calls return 0 / empty
|
|
6787
6172
|
* until the next `parseRangeInInput`.
|
|
6788
6173
|
*/
|
|
@@ -7164,18 +6549,18 @@ export function writeFrame(frame, format) {
|
|
|
7164
6549
|
wasm.__wbindgen_free_command_export(deferred3_0, deferred3_1, 1);
|
|
7165
6550
|
}
|
|
7166
6551
|
}
|
|
7167
|
-
export function
|
|
6552
|
+
export function __wbg___wbindgen_debug_string_edece8177ad01481(arg0, arg1) {
|
|
7168
6553
|
const ret = debugString(arg1);
|
|
7169
6554
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
|
|
7170
6555
|
const len1 = WASM_VECTOR_LEN;
|
|
7171
6556
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
7172
6557
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
7173
6558
|
}
|
|
7174
|
-
export function
|
|
6559
|
+
export function __wbg___wbindgen_memory_9544558992fc5400() {
|
|
7175
6560
|
const ret = wasm.memory;
|
|
7176
6561
|
return ret;
|
|
7177
6562
|
}
|
|
7178
|
-
export function
|
|
6563
|
+
export function __wbg___wbindgen_string_get_d109740c0d18f4d7(arg0, arg1) {
|
|
7179
6564
|
const obj = arg1;
|
|
7180
6565
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
7181
6566
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
|
|
@@ -7183,10 +6568,10 @@ export function __wbg___wbindgen_string_get_965592073e5d848c(arg0, arg1) {
|
|
|
7183
6568
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
7184
6569
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
7185
6570
|
}
|
|
7186
|
-
export function
|
|
6571
|
+
export function __wbg___wbindgen_throw_9c31b086c2b26051(arg0, arg1) {
|
|
7187
6572
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
7188
6573
|
}
|
|
7189
|
-
export function
|
|
6574
|
+
export function __wbg_done_54b8da57023b7ed2(arg0) {
|
|
7190
6575
|
const ret = arg0.done;
|
|
7191
6576
|
return ret;
|
|
7192
6577
|
}
|
|
@@ -7208,35 +6593,35 @@ export function __wbg_frameindexentry_new(arg0) {
|
|
|
7208
6593
|
export function __wbg_getRandomValues_3f44b700395062e5() { return handleError(function (arg0, arg1) {
|
|
7209
6594
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
7210
6595
|
}, arguments); }
|
|
7211
|
-
export function
|
|
6596
|
+
export function __wbg_get_9573a5d891e60573(arg0, arg1) {
|
|
7212
6597
|
const ret = arg0.get(arg1);
|
|
7213
6598
|
return ret;
|
|
7214
6599
|
}
|
|
7215
|
-
export function
|
|
6600
|
+
export function __wbg_get_unchecked_1dfe6d05ad91d9b7(arg0, arg1) {
|
|
7216
6601
|
const ret = arg0[arg1 >>> 0];
|
|
7217
6602
|
return ret;
|
|
7218
6603
|
}
|
|
7219
|
-
export function
|
|
6604
|
+
export function __wbg_keys_3905d699258a1ee0(arg0) {
|
|
7220
6605
|
const ret = arg0.keys();
|
|
7221
6606
|
return ret;
|
|
7222
6607
|
}
|
|
7223
|
-
export function
|
|
6608
|
+
export function __wbg_length_2591a0f4f659a55c(arg0) {
|
|
7224
6609
|
const ret = arg0.length;
|
|
7225
6610
|
return ret;
|
|
7226
6611
|
}
|
|
7227
|
-
export function
|
|
6612
|
+
export function __wbg_length_3a1b902b6cde9e2c(arg0) {
|
|
7228
6613
|
const ret = arg0.length;
|
|
7229
6614
|
return ret;
|
|
7230
6615
|
}
|
|
7231
|
-
export function
|
|
6616
|
+
export function __wbg_length_56fcd3e2b7e0299d(arg0) {
|
|
7232
6617
|
const ret = arg0.length;
|
|
7233
6618
|
return ret;
|
|
7234
6619
|
}
|
|
7235
|
-
export function
|
|
6620
|
+
export function __wbg_length_911750a64e2f4f88(arg0) {
|
|
7236
6621
|
const ret = arg0.length;
|
|
7237
6622
|
return ret;
|
|
7238
6623
|
}
|
|
7239
|
-
export function
|
|
6624
|
+
export function __wbg_length_c7ce929623e7a230(arg0) {
|
|
7240
6625
|
const ret = arg0.length;
|
|
7241
6626
|
return ret;
|
|
7242
6627
|
}
|
|
@@ -7248,72 +6633,72 @@ export function __wbg_new_227d7c05414eb861() {
|
|
|
7248
6633
|
const ret = new Error();
|
|
7249
6634
|
return ret;
|
|
7250
6635
|
}
|
|
7251
|
-
export function
|
|
6636
|
+
export function __wbg_new_310879b66b6e95e1() {
|
|
7252
6637
|
const ret = new Array();
|
|
7253
6638
|
return ret;
|
|
7254
6639
|
}
|
|
7255
|
-
export function
|
|
6640
|
+
export function __wbg_new_7ddec6de44ff8f5d(arg0) {
|
|
7256
6641
|
const ret = new Uint8Array(arg0);
|
|
7257
6642
|
return ret;
|
|
7258
6643
|
}
|
|
7259
|
-
export function
|
|
6644
|
+
export function __wbg_new_from_slice_02962bf7778cf945(arg0, arg1) {
|
|
7260
6645
|
const ret = new Float64Array(getArrayF64FromWasm0(arg0, arg1));
|
|
7261
6646
|
return ret;
|
|
7262
6647
|
}
|
|
7263
|
-
export function
|
|
7264
|
-
const ret = new
|
|
6648
|
+
export function __wbg_new_from_slice_53b9575cecde0d9e(arg0, arg1) {
|
|
6649
|
+
const ret = new Int32Array(getArrayI32FromWasm0(arg0, arg1));
|
|
7265
6650
|
return ret;
|
|
7266
6651
|
}
|
|
7267
|
-
export function
|
|
7268
|
-
const ret = new
|
|
6652
|
+
export function __wbg_new_from_slice_f92bf65e9a895613(arg0, arg1) {
|
|
6653
|
+
const ret = new Uint32Array(getArrayU32FromWasm0(arg0, arg1));
|
|
7269
6654
|
return ret;
|
|
7270
6655
|
}
|
|
7271
|
-
export function
|
|
6656
|
+
export function __wbg_new_with_length_1278c16a5c5b497f(arg0) {
|
|
7272
6657
|
const ret = new Float64Array(arg0 >>> 0);
|
|
7273
6658
|
return ret;
|
|
7274
6659
|
}
|
|
7275
|
-
export function
|
|
7276
|
-
const ret = new
|
|
6660
|
+
export function __wbg_new_with_length_78398b95fa59feae(arg0) {
|
|
6661
|
+
const ret = new Int32Array(arg0 >>> 0);
|
|
7277
6662
|
return ret;
|
|
7278
6663
|
}
|
|
7279
|
-
export function
|
|
7280
|
-
const ret = new
|
|
6664
|
+
export function __wbg_new_with_length_99887c91eae4abab(arg0) {
|
|
6665
|
+
const ret = new Uint8Array(arg0 >>> 0);
|
|
7281
6666
|
return ret;
|
|
7282
6667
|
}
|
|
7283
|
-
export function
|
|
7284
|
-
const ret = new
|
|
6668
|
+
export function __wbg_new_with_length_f128f2c16ad4f906(arg0) {
|
|
6669
|
+
const ret = new Uint32Array(arg0 >>> 0);
|
|
7285
6670
|
return ret;
|
|
7286
6671
|
}
|
|
7287
|
-
export function
|
|
6672
|
+
export function __wbg_next_6429a146bf756f93() { return handleError(function (arg0) {
|
|
7288
6673
|
const ret = arg0.next();
|
|
7289
6674
|
return ret;
|
|
7290
6675
|
}, arguments); }
|
|
7291
|
-
export function
|
|
7292
|
-
Uint32Array.prototype.set.call(getArrayU32FromWasm0(arg0, arg1), arg2);
|
|
7293
|
-
}
|
|
7294
|
-
export function __wbg_prototypesetcall_442370bc228f2c6b(arg0, arg1, arg2) {
|
|
6676
|
+
export function __wbg_prototypesetcall_272875b350b1e49b(arg0, arg1, arg2) {
|
|
7295
6677
|
Float64Array.prototype.set.call(getArrayF64FromWasm0(arg0, arg1), arg2);
|
|
7296
6678
|
}
|
|
7297
|
-
export function
|
|
7298
|
-
|
|
6679
|
+
export function __wbg_prototypesetcall_303283bf37c9f014(arg0, arg1, arg2) {
|
|
6680
|
+
Uint32Array.prototype.set.call(getArrayU32FromWasm0(arg0, arg1), arg2);
|
|
7299
6681
|
}
|
|
7300
|
-
export function
|
|
6682
|
+
export function __wbg_prototypesetcall_5f9bdc8d75e07276(arg0, arg1, arg2) {
|
|
7301
6683
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
7302
6684
|
}
|
|
7303
|
-
export function
|
|
6685
|
+
export function __wbg_prototypesetcall_e8325bfb1e498d1c(arg0, arg1, arg2) {
|
|
6686
|
+
Int32Array.prototype.set.call(getArrayI32FromWasm0(arg0, arg1), arg2);
|
|
6687
|
+
}
|
|
6688
|
+
export function __wbg_push_b77c476b01548d0a(arg0, arg1) {
|
|
7304
6689
|
const ret = arg0.push(arg1);
|
|
7305
6690
|
return ret;
|
|
7306
6691
|
}
|
|
7307
|
-
export function
|
|
7308
|
-
arg0.set(getArrayI32FromWasm0(arg1, arg2));
|
|
7309
|
-
}
|
|
7310
|
-
export function __wbg_set_e307b0b9eac6f966(arg0, arg1, arg2) {
|
|
6692
|
+
export function __wbg_set_5bffd0c00e65c280(arg0, arg1, arg2) {
|
|
7311
6693
|
arg0.set(getArrayF64FromWasm0(arg1, arg2));
|
|
7312
6694
|
}
|
|
7313
|
-
export function
|
|
6695
|
+
export function __wbg_set_943e5a384dda27eb(arg0, arg1, arg2) {
|
|
6696
|
+
arg0.set(getArrayI32FromWasm0(arg1, arg2));
|
|
6697
|
+
}
|
|
6698
|
+
export function __wbg_set_index_6216eb6926d2fbc6(arg0, arg1, arg2) {
|
|
7314
6699
|
arg0[arg1 >>> 0] = arg2;
|
|
7315
6700
|
}
|
|
7316
|
-
export function
|
|
6701
|
+
export function __wbg_set_index_b93fd9d797d1ff98(arg0, arg1, arg2) {
|
|
7317
6702
|
arg0[arg1 >>> 0] = arg2 >>> 0;
|
|
7318
6703
|
}
|
|
7319
6704
|
export function __wbg_stack_3b0d974bbf31e44f(arg0, arg1) {
|
|
@@ -7323,7 +6708,7 @@ export function __wbg_stack_3b0d974bbf31e44f(arg0, arg1) {
|
|
|
7323
6708
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
7324
6709
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
7325
6710
|
}
|
|
7326
|
-
export function
|
|
6711
|
+
export function __wbg_value_9cc0518af87a489c(arg0) {
|
|
7327
6712
|
const ret = arg0.value;
|
|
7328
6713
|
return ret;
|
|
7329
6714
|
}
|
package/molrs_bg.wasm
CHANGED
|
Binary file
|