| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real(kind=dp), | public, | parameter | :: | eps_wave | = | epsilon(1._dp) |
Post-process div U* in spectral space for all periodic BCs.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| complex(kind=dp), | intent(inout), | dimension(:, :, :) | :: | div_u |
Divergence of velocity in spectral space |
|
| complex(kind=dp), | intent(in), | dimension(:, :, :) | :: | waves |
Spectral equivalence constants |
|
| integer, | intent(in) | :: | nx_spec |
Grid size in spectral space |
||
| integer, | intent(in) | :: | ny_spec |
Grid size in spectral space |
||
| integer, | intent(in) | :: | nz_spec |
Grid size in spectral space |
||
| integer, | intent(in) | :: | x_sp_st |
Offsets in the permuted pencils in spectral space |
||
| integer, | intent(in) | :: | y_sp_st |
Offsets in the permuted pencils in spectral space |
||
| integer, | intent(in) | :: | z_sp_st |
Offsets in the permuted pencils in spectral space |
||
| integer, | intent(in) | :: | nx |
Global cell size |
||
| integer, | intent(in) | :: | ny |
Global cell size |
||
| integer, | intent(in) | :: | nz |
Global cell size |
||
| real(kind=dp), | intent(in), | dimension(:) | :: | ax | ||
| real(kind=dp), | intent(in), | dimension(:) | :: | bx | ||
| real(kind=dp), | intent(in), | dimension(:) | :: | ay | ||
| real(kind=dp), | intent(in), | dimension(:) | :: | by | ||
| real(kind=dp), | intent(in), | dimension(:) | :: | az | ||
| real(kind=dp), | intent(in), | dimension(:) | :: | bz |
Post-process div U* in spectral space, for non-periodic BC in y-dir.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| complex(kind=dp), | intent(inout), | dimension(:, :, :) | :: | div_u |
Divergence of velocity in spectral space |
|
| complex(kind=dp), | intent(in), | dimension(:, :, :) | :: | waves |
Spectral equivalence constants |
|
| integer, | intent(in) | :: | nx_spec |
Grid size in spectral space |
||
| integer, | intent(in) | :: | ny_spec |
Grid size in spectral space |
||
| integer, | intent(in) | :: | nz_spec |
Grid size in spectral space |
||
| integer, | intent(in) | :: | x_sp_st |
Offsets in the permuted pencils in spectral space |
||
| integer, | intent(in) | :: | y_sp_st |
Offsets in the permuted pencils in spectral space |
||
| integer, | intent(in) | :: | z_sp_st |
Offsets in the permuted pencils in spectral space |
||
| integer, | intent(in) | :: | nx |
Global cell size |
||
| integer, | intent(in) | :: | ny |
Global cell size |
||
| integer, | intent(in) | :: | nz |
Global cell size |
||
| real(kind=dp), | intent(in), | dimension(:) | :: | ax | ||
| real(kind=dp), | intent(in), | dimension(:) | :: | bx | ||
| real(kind=dp), | intent(in), | dimension(:) | :: | ay | ||
| real(kind=dp), | intent(in), | dimension(:) | :: | by | ||
| real(kind=dp), | intent(in), | dimension(:) | :: | az | ||
| real(kind=dp), | intent(in), | dimension(:) | :: | bz |
Post-process div U* in spectral space, for non-periodic BC in x-dir.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| complex(kind=dp), | intent(inout), | dimension(:, :, :) | :: | div_u |
Divergence of velocity in spectral space |
|
| complex(kind=dp), | intent(in), | dimension(:, :, :) | :: | waves |
Spectral equivalence constants |
|
| integer, | intent(in) | :: | nx_spec |
Grid size in spectral space |
||
| integer, | intent(in) | :: | ny_spec |
Grid size in spectral space |
||
| integer, | intent(in) | :: | nz_spec |
Grid size in spectral space |
||
| integer, | intent(in) | :: | x_sp_st |
Offsets in the permuted pencils in spectral space |
||
| integer, | intent(in) | :: | y_sp_st |
Offsets in the permuted pencils in spectral space |
||
| integer, | intent(in) | :: | z_sp_st |
Offsets in the permuted pencils in spectral space |
||
| integer, | intent(in) | :: | nx |
Global cell size |
||
| integer, | intent(in) | :: | ny |
Global cell size |
||
| integer, | intent(in) | :: | nz |
Global cell size |
||
| real(kind=dp), | intent(in), | dimension(:) | :: | ax | ||
| real(kind=dp), | intent(in), | dimension(:) | :: | bx | ||
| real(kind=dp), | intent(in), | dimension(:) | :: | ay | ||
| real(kind=dp), | intent(in), | dimension(:) | :: | by | ||
| real(kind=dp), | intent(in), | dimension(:) | :: | az | ||
| real(kind=dp), | intent(in), | dimension(:) | :: | bz |
Forward third of the spectral post-process for the 110 case (non-periodic x and y, periodic z, R2C Z-transpose layout): normalise, Z periodic post-process forward, then the X paired even/odd split.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| complex(kind=dp), | intent(inout), | dimension(:, :, :) | :: | div_u |
Divergence of velocity in spectral space, (nz/2+1, nx, ny) layout |
|
| integer, | intent(in) | :: | n1 |
Local extents of div_u |
||
| integer, | intent(in) | :: | n2 |
Local extents of div_u |
||
| integer, | intent(in) | :: | n3 |
Local extents of div_u |
||
| integer, | intent(in) | :: | st1 |
Offsets of the local block within the global spectral array |
||
| integer, | intent(in) | :: | st2 |
Offsets of the local block within the global spectral array |
||
| integer, | intent(in) | :: | nx |
Global cell size |
||
| integer, | intent(in) | :: | ny |
Global cell size |
||
| integer, | intent(in) | :: | nz |
Global cell size |
||
| real(kind=dp), | intent(in), | dimension(:) | :: | ax | ||
| real(kind=dp), | intent(in), | dimension(:) | :: | bx | ||
| real(kind=dp), | intent(in), | dimension(:) | :: | az | ||
| real(kind=dp), | intent(in), | dimension(:) | :: | bz |
Middle third of the spectral post-process for the 110 case: the Y paired even/odd split, the Poisson divide, and the Y paired even/odd recombine.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| complex(kind=dp), | intent(inout), | dimension(:, :, :) | :: | div_u |
Divergence of velocity in spectral space, (nz/2+1, nx, ny) layout |
|
| complex(kind=dp), | intent(in), | dimension(:, :, :) | :: | waves |
Spectral equivalence constants, (nz/2+1, nx, ny) layout |
|
| integer, | intent(in) | :: | n1 |
Local extents of div_u |
||
| integer, | intent(in) | :: | n2 |
Local extents of div_u |
||
| integer, | intent(in) | :: | n3 |
Local extents of div_u |
||
| integer, | intent(in) | :: | st1 |
Offsets of the local block within the global spectral array |
||
| integer, | intent(in) | :: | st2 |
Offsets of the local block within the global spectral array |
||
| integer, | intent(in) | :: | st3 |
Offsets of the local block within the global spectral array |
||
| integer, | intent(in) | :: | nx |
Global cell size |
||
| integer, | intent(in) | :: | ny |
Global cell size |
||
| integer, | intent(in) | :: | nz |
Global cell size |
||
| real(kind=dp), | intent(in), | dimension(:) | :: | ay | ||
| real(kind=dp), | intent(in), | dimension(:) | :: | by |
Backward third of the spectral post-process for the 110 case: the X paired even/odd recombine, then the Z periodic post-process backward.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| complex(kind=dp), | intent(inout), | dimension(:, :, :) | :: | div_u |
Divergence of velocity in spectral space, (nz/2+1, nx, ny) layout |
|
| integer, | intent(in) | :: | n1 |
Local extents of div_u |
||
| integer, | intent(in) | :: | n2 |
Local extents of div_u |
||
| integer, | intent(in) | :: | n3 |
Local extents of div_u |
||
| integer, | intent(in) | :: | st1 |
Offsets of the local block within the global spectral array |
||
| integer, | intent(in) | :: | st2 |
Offsets of the local block within the global spectral array |
||
| integer, | intent(in) | :: | nx |
Global cell size |
||
| integer, | intent(in) | :: | ny |
Global cell size |
||
| integer, | intent(in) | :: | nz |
Global cell size |
||
| real(kind=dp), | intent(in), | dimension(:) | :: | ax | ||
| real(kind=dp), | intent(in), | dimension(:) | :: | bx | ||
| real(kind=dp), | intent(in), | dimension(:) | :: | az | ||
| real(kind=dp), | intent(in), | dimension(:) | :: | bz |
Post-process div U* in spectral space, for non-periodic BC in both x- and y-directions (R2C Z-transpose layout: dim1 = Z r2c modes, dim2 = X modes, dim3 = Y modes).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| complex(kind=dp), | intent(inout), | dimension(:, :, :) | :: | div_u |
Divergence of velocity in spectral space, (nz/2+1, nx, ny) layout |
|
| complex(kind=dp), | intent(in), | dimension(:, :, :) | :: | waves |
Spectral equivalence constants, (nz/2+1, nx, ny) layout |
|
| integer, | intent(in) | :: | n1 |
Local extents of div_u |
||
| integer, | intent(in) | :: | n2 |
Local extents of div_u |
||
| integer, | intent(in) | :: | n3 |
Local extents of div_u |
||
| integer, | intent(in) | :: | st1 |
Offsets of the local block within the global spectral array |
||
| integer, | intent(in) | :: | st2 |
Offsets of the local block within the global spectral array |
||
| integer, | intent(in) | :: | st3 |
Offsets of the local block within the global spectral array |
||
| integer, | intent(in) | :: | nx |
Global cell size |
||
| integer, | intent(in) | :: | ny |
Global cell size |
||
| integer, | intent(in) | :: | nz |
Global cell size |
||
| real(kind=dp), | intent(in), | dimension(:) | :: | ax | ||
| real(kind=dp), | intent(in), | dimension(:) | :: | bx | ||
| real(kind=dp), | intent(in), | dimension(:) | :: | ay | ||
| real(kind=dp), | intent(in), | dimension(:) | :: | by | ||
| real(kind=dp), | intent(in), | dimension(:) | :: | az | ||
| real(kind=dp), | intent(in), | dimension(:) | :: | bz |