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.

Arguments

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

Return Value integer, (3)