fft_forward_110_omp Subroutine

public subroutine fft_forward_110_omp(self, f_in)

Forward FFT for the non-periodic x and y case. Transposes the physical field (nx, ny, nz) to (nz, nx, ny) so that the r2c transform runs along z, then transforms with the plan set up in init. The transpose places z through z_dst, which folds a non-periodic z (111) at no extra cost.

On multiple ranks the solver field's x-pencil is redistributed through the cell-dims decomposition dc to reach the FFT's x-pencil. When y is split (p_row > 1), enforce_periodicity_xy_omp could only fold x locally, so the y fold happens here instead, in the y-pencil of dc where the whole y range is local.

Type Bound

omp_poisson_11x_t

Arguments

Type IntentOptional Attributes Name
class(omp_poisson_11x_t) :: self
class(field_t), intent(in) :: f_in

Calls

proc~~fft_forward_110_omp~~CallsGraph proc~fft_forward_110_omp m_omp_poisson_fft::omp_poisson_11x_t%fft_forward_110_omp decomp_2d_fft_3d decomp_2d_fft_3d proc~fft_forward_110_omp->decomp_2d_fft_3d transpose_x_to_y transpose_x_to_y proc~fft_forward_110_omp->transpose_x_to_y transpose_y_to_z transpose_y_to_z proc~fft_forward_110_omp->transpose_y_to_z ysz ysz proc~fft_forward_110_omp->ysz zsz zsz proc~fft_forward_110_omp->zsz