fft_mesh Derived Type

type, public :: fft_mesh

Twiddle factors for the transforms along the three mesh directions


Components

Type Visibility Attributes Name Initial
integer, public :: mesh(3) = 0

Number of points along each direction

complex(kind=wp), public, allocatable :: tw(:,:)

Roots of unity for each direction, whose lengths need not divide each other


Source Code

   type :: fft_mesh

      !> Number of points along each direction
      integer :: mesh(3) = 0

      !> Roots of unity for each direction, whose lengths need not divide each other
      complex(wp), allocatable :: tw(:, :)

   end type fft_mesh