Solve the Poisson equation at cell centres with non-perioic BC along y
Ref. JCP 228 (2009), 5989–6015, Sec 4
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| complex(kind=dp), | intent(inout), | device, dimension(:, :, :) | :: | div_u | 
                 Divergence of velocity in spectral space  | 
        |
| real(kind=dp), | intent(inout), | device, dimension(:, :, :, :) | :: | a_re | 
                 Spectral equivalence constants  | 
        |
| real(kind=dp), | intent(inout), | device, dimension(:, :, :, :) | :: | a_im | 
                 Spectral equivalence constants  | 
        |
| integer, | intent(in), | value | :: | off | 
                 offset and increment. increment is 2 when considering only odd or even  | 
        |
| integer, | intent(in), | value | :: | inc | 
                 offset and increment. increment is 2 when considering only odd or even  | 
        |
| integer, | intent(in), | value | :: | nx_spec | 
                 Grid size in spectral space  | 
        |
| integer, | intent(in), | value | :: | n | 
                 Grid size in spectral space  | 
        |
| integer, | intent(in), | value | :: | nx | 
                 Grid size in spectral space  | 
        |
| integer, | intent(in), | value | :: | ny | 
                 Grid size in spectral space  | 
        |
| integer, | intent(in), | value | :: | nz | 
                 Grid size in spectral space  |