@@ -22,7 +22,7 @@ def test_integration_matrix2D(nx, nz, variant, axes, useMPI=False, **kwargs):
2222 helper .add_axis (base = 'cheby' , N = nz )
2323 helper .setup_fft ()
2424
25- Z , X = helper .get_grid ()
25+ X , Z = helper .get_grid ()
2626
2727 conv = helper .get_basis_change_matrix ()
2828 S = helper .get_integration_matrix (axes = axes )
@@ -68,7 +68,7 @@ def test_differentiation_matrix2D(nx, nz, variant, axes, bx, bz, useMPI=False, *
6868 helper .add_axis (base = bz , N = nz )
6969 helper .setup_fft ()
7070
71- Z , X = helper .get_grid ()
71+ X , Z = helper .get_grid ()
7272 conv = helper .get_basis_change_matrix ()
7373 D = helper .get_differentiation_matrix (axes )
7474
@@ -123,7 +123,7 @@ def test_identity_matrix2D(nx, nz, variant, bx, useMPI=False, **kwargs):
123123 helper .add_axis (base = 'cheby' , N = nz )
124124 helper .setup_fft ()
125125
126- Z , X = helper .get_grid ()
126+ X , Z = helper .get_grid ()
127127 conv = helper .get_basis_change_matrix ()
128128 I = helper .get_Id ()
129129
@@ -215,9 +215,9 @@ def _test_transform_dealias(
215215 u2_hat_expect = helper .u_init_forward
216216 u_expect = helper .u_init
217217 u_expect_pad = helper_pad .u_init
218- Kz , Kx = helper .get_wavenumbers ()
219- Z , X = helper .get_grid ()
220- Z_pad , X_pad = helper_pad .get_grid ()
218+ Kx , Kz = helper .get_wavenumbers ()
219+ X , Z = helper .get_grid ()
220+ X_pad , Z_pad = helper_pad .get_grid ()
221221
222222 if axis == - 2 :
223223 f = nx // 3
@@ -476,7 +476,7 @@ def test_tau_method2D(variant, nz, nx, bc_val, bc=-1, useMPI=False, plotting=Fal
476476 helper .add_component (['u' ])
477477 helper .setup_fft ()
478478
479- Z , X = helper .get_grid ()
479+ X , Z = helper .get_grid ()
480480 x = X [:, 0 ]
481481 z = Z [0 , :]
482482 shape = helper .init [0 ][1 :]
0 commit comments