Commit 4e09408
committed
test(fft): Use 1D grid notation for FFT basic tests
Changed from single-value initializers {N} to proper 1D grid
format {N, 1, 1} for GridSize, PhysicalOrigin, and GridSpacing.
This ensures all three dimensions are explicitly initialized.
Single-value initializers like GridSpacing({1}) only set the
first dimension, leaving y=0 and z=0, which fails coordinate
system validation requiring spacing > 0 in all dimensions.
Fixed in three test cases:
- FFT basic functionality: {8, 1, 1}
- FFT forward transformation: {8, 1, 1}
- FFT backward transformation: {2, 1, 1}
Fixes "Spacing must be positive" test failures.1 parent 8b277f1 commit 4e09408
1 file changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
28 | | - | |
| 29 | + | |
| 30 | + | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
| |||
46 | 48 | | |
47 | 49 | | |
48 | 50 | | |
49 | | - | |
| 51 | + | |
| 52 | + | |
50 | 53 | | |
51 | 54 | | |
52 | 55 | | |
| |||
0 commit comments