Solve the Poisson equation with the pentadiagonal matrices of the stretched 010 case, along y.
The matrices are factored once at init by factor_spectral_010_poisson, so this routine only substitutes into div_u.
Ref. JCP 228 (2009), 5989–6015, Sec 4
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| complex(kind=dp), | intent(inout), | dimension(:, :, :) | :: | div_u |
Divergence of velocity in spectral space |
|
| real(kind=dp), | intent(in), | dimension(:, :, :, :) | :: | a_re |
Factored pentadiagonal matrices |
|
| real(kind=dp), | intent(in), | dimension(:, :, :, :) | :: | a_im |
Factored pentadiagonal matrices |
|
| integer, | intent(in) | :: | off |
Offset and increment. The increment is 2 for only the odd or even rows |
||
| integer, | intent(in) | :: | inc |
Offset and increment. The increment is 2 for only the odd or even rows |
||
| integer, | intent(in) | :: | nx_spec |
Grid size in spectral space. n is the number of rows of the matrix |
||
| integer, | intent(in) | :: | n |
Grid size in spectral space. n is the number of rows of the matrix |
||
| integer, | intent(in) | :: | nz_spec |
Grid size in spectral space. n is the number of rows of the matrix |
||
| integer, | intent(in) | :: | x_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) | :: | nz |
Global cell size |