spectral_dirs Function

public pure function spectral_dirs(bc_code) result(dirs)

The physical direction held in each dimension of the spectral array. The r2c transform runs along dim1, so a case with x non-periodic permutes a periodic direction into dim1 ahead of the FFT: 100 swaps x and y, 110 brings z to the front. 111 has no periodic direction and keeps the 110 layout, with z folded so that the r2c transform stands in for a cosine transform (see waves_set).

Arguments

Type IntentOptional Attributes Name
character(len=3), intent(in) :: bc_code

Return Value integer, (3)


Called by

proc~~spectral_dirs~~CalledByGraph proc~spectral_dirs m_poisson_fft::spectral_dirs proc~waves_set m_poisson_fft::poisson_fft_t%waves_set proc~waves_set->proc~spectral_dirs proc~base_init m_poisson_fft::poisson_fft_t%base_init proc~base_init->proc~waves_set