From ff7e9502b6cb196702eb9d81585430ad9539d6c6 Mon Sep 17 00:00:00 2001 From: Weiqun Zhang Date: Tue, 15 Oct 2024 12:24:20 -0700 Subject: [PATCH] wip --- Src/FFT/AMReX_FFT.H | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Src/FFT/AMReX_FFT.H b/Src/FFT/AMReX_FFT.H index 34efcb5442..0a2f4874a3 100644 --- a/Src/FFT/AMReX_FFT.H +++ b/Src/FFT/AMReX_FFT.H @@ -134,7 +134,7 @@ void R2C::post_forward_doit (F const& post_forward) auto const& a = spectral_fab.array(); ParallelFor(spectral_fab.box(), [=] AMREX_GPU_DEVICE (int i, int j, int k) { - post_forward(i,j,k,a(i,j,k)); + post_forward(j,k,i,a(i,j,k)); // m_cz's ordering is z,x,y }); }