Copy data between x3d2 padded arrays and cuFFTMp descriptors
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=dp), | intent(inout), | device, dimension(:, :, :) | :: | dst | ||
| real(kind=dp), | intent(in), | device, dimension(:, :, :) | :: | src | ||
| integer, | intent(in), | value | :: | nx | ||
| integer, | intent(in), | value | :: | ny | ||
| integer, | intent(in), | value | :: | nz | 
Post-processes the divergence of velocity in spectral space, including scaling w.r.t. grid size.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| complex(kind=dp), | intent(inout), | device, dimension(:, :, :) | :: | div_u | 
 Divergence of velocity in spectral space  | 
        |
| complex(kind=dp), | intent(in), | device, dimension(:, :, :) | :: | waves | 
 Spectral equivalence constants  | 
        |
| integer, | intent(in), | value | :: | nx_spec | 
 Grid size in spectral space  | 
        |
| integer, | intent(in), | value | :: | ny_spec | 
 Grid size in spectral space  | 
        |
| integer, | intent(in), | value | :: | y_sp_st | 
 Offset in y direction in the permuted slabs in spectral space  | 
        |
| integer, | intent(in), | value | :: | nx | 
 Grid size  | 
        |
| integer, | intent(in), | value | :: | ny | 
 Grid size  | 
        |
| integer, | intent(in), | value | :: | nz | 
 Grid size  | 
        |
| real(kind=dp), | intent(in), | device, dimension(:) | :: | ax | ||
| real(kind=dp), | intent(in), | device, dimension(:) | :: | bx | ||
| real(kind=dp), | intent(in), | device, dimension(:) | :: | ay | ||
| real(kind=dp), | intent(in), | device, dimension(:) | :: | by | ||
| real(kind=dp), | intent(in), | device, dimension(:) | :: | az | ||
| real(kind=dp), | intent(in), | device, dimension(:) | :: | bz | 
Post-processes the divergence of velocity in spectral space, including scaling w.r.t. grid size.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| complex(kind=dp), | intent(inout), | device, dimension(:, :, :) | :: | div_u | 
 Divergence of velocity in spectral space  | 
        |
| complex(kind=dp), | intent(in), | device, dimension(:, :, :) | :: | waves | 
 Spectral equivalence constants  | 
        |
| integer, | intent(in), | value | :: | nx_spec | 
 Grid size in spectral space  | 
        |
| integer, | intent(in), | value | :: | ny_spec | 
 Grid size in spectral space  | 
        |
| integer, | intent(in), | value | :: | y_sp_st | 
 Offset in y direction in the permuted slabs in spectral space  | 
        |
| integer, | intent(in), | value | :: | nx | 
 Grid size  | 
        |
| integer, | intent(in), | value | :: | ny | 
 Grid size  | 
        |
| integer, | intent(in), | value | :: | nz | 
 Grid size  | 
        |
| real(kind=dp), | intent(in), | device, dimension(:) | :: | ax | ||
| real(kind=dp), | intent(in), | device, dimension(:) | :: | bx | ||
| real(kind=dp), | intent(in), | device, dimension(:) | :: | ay | ||
| real(kind=dp), | intent(in), | device, dimension(:) | :: | by | ||
| real(kind=dp), | intent(in), | device, dimension(:) | :: | az | ||
| real(kind=dp), | intent(in), | device, dimension(:) | :: | bz | 
Post-processes the divergence of velocity in spectral space, including scaling w.r.t. grid size.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| complex(kind=dp), | intent(inout), | device, dimension(:, :, :) | :: | div_u | 
 Divergence of velocity in spectral space  | 
        |
| integer, | intent(in), | value | :: | nx_spec | 
 Grid size in spectral space  | 
        |
| integer, | intent(in), | value | :: | ny_spec | 
 Grid size in spectral space  | 
        |
| integer, | intent(in), | value | :: | y_sp_st | 
 Offset in y direction in the permuted slabs in spectral space  | 
        |
| integer, | intent(in), | value | :: | nx | 
 Grid size  | 
        |
| integer, | intent(in), | value | :: | ny | 
 Grid size  | 
        |
| integer, | intent(in), | value | :: | nz | 
 Grid size  | 
        |
| real(kind=dp), | intent(in), | device, dimension(:) | :: | ax | 
 Spectral equivalence constants  | 
        |
| real(kind=dp), | intent(in), | device, dimension(:) | :: | bx | 
 Spectral equivalence constants  | 
        |
| real(kind=dp), | intent(in), | device, dimension(:) | :: | ay | 
 Spectral equivalence constants  | 
        |
| real(kind=dp), | intent(in), | device, dimension(:) | :: | by | 
 Spectral equivalence constants  | 
        |
| real(kind=dp), | intent(in), | device, dimension(:) | :: | az | 
 Spectral equivalence constants  | 
        |
| real(kind=dp), | intent(in), | device, dimension(:) | :: | bz | 
 Spectral equivalence constants  | 
        
Solve the Poisson equation at cell centres with non-perioic BC along y
| 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  | 
        
Post-processes the divergence of velocity in spectral space, including scaling w.r.t. grid size.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| complex(kind=dp), | intent(inout), | device, dimension(:, :, :) | :: | div_u | 
 Divergence of velocity in spectral space  | 
        |
| integer, | intent(in), | value | :: | nx_spec | 
 Grid size in spectral space  | 
        |
| integer, | intent(in), | value | :: | ny_spec | 
 Grid size in spectral space  | 
        |
| integer, | intent(in), | value | :: | y_sp_st | 
 Offset in y direction in the permuted slabs in spectral space  | 
        |
| integer, | intent(in), | value | :: | nx | 
 Grid size  | 
        |
| integer, | intent(in), | value | :: | ny | 
 Grid size  | 
        |
| integer, | intent(in), | value | :: | nz | 
 Grid size  | 
        |
| real(kind=dp), | intent(in), | device, dimension(:) | :: | ax | 
 Spectral equivalence constants  | 
        |
| real(kind=dp), | intent(in), | device, dimension(:) | :: | bx | 
 Spectral equivalence constants  | 
        |
| real(kind=dp), | intent(in), | device, dimension(:) | :: | ay | 
 Spectral equivalence constants  | 
        |
| real(kind=dp), | intent(in), | device, dimension(:) | :: | by | 
 Spectral equivalence constants  | 
        |
| real(kind=dp), | intent(in), | device, dimension(:) | :: | az | 
 Spectral equivalence constants  | 
        |
| real(kind=dp), | intent(in), | device, dimension(:) | :: | bz | 
 Spectral equivalence constants  | 
        
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=dp), | intent(out), | device, dimension(:, :, :) | :: | f_out | ||
| real(kind=dp), | intent(in), | device, dimension(:, :, :) | :: | f_in | ||
| integer, | intent(in), | value | :: | ny | 
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=dp), | intent(out), | device, dimension(:, :, :) | :: | f_out | ||
| real(kind=dp), | intent(in), | device, dimension(:, :, :) | :: | f_in | ||
| integer, | intent(in), | value | :: | ny |