From 11a7ecf9b75620475638db475aa056afec06d0d7 Mon Sep 17 00:00:00 2001 From: Weiqun Zhang Date: Sat, 19 Oct 2024 15:51:07 -0700 Subject: [PATCH] Minor edits --- Docs/sphinx_documentation/source/FFT.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Docs/sphinx_documentation/source/FFT.rst b/Docs/sphinx_documentation/source/FFT.rst index 1e29884109..44d8f427b3 100644 --- a/Docs/sphinx_documentation/source/FFT.rst +++ b/Docs/sphinx_documentation/source/FFT.rst @@ -21,12 +21,12 @@ data containers (e.g., :cpp:`MultiFab` and :cpp:`FabArray>>`. For local FFT, the users can use FFTW, cuFFT, rocFFT, or oneMKL directly. -The scaling follows the FFTW convention, where applying the forward -transform followed by the backward transform scales the original data by the -size of the input array. The layout of the complex data also follows the -FFTW convention, where the complex Hermitian output array has -`(nx/2+1,ny,nz)` elements. Here `nx`, `ny` and `nz` are the sizes of the -real array and the division is rounded down. +Other than using column-majored order, AMReX follows the convention of +FFTW. Applying the forward transform followed by the backward transform +scales the original data by the size of the input array. The layout of the +complex data also follows the FFTW convention, where the complex Hermitian +output array has `(nx/2+1,ny,nz)` elements. Here `nx`, `ny` and `nz` are the +sizes of the real array and the division is rounded down. Below are examples of using :cpp:`FFT:R2C`.