Structure to hold pencil decomposition info
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer(kind=int8), | public | :: | dim |
Aligned dimension id |
|||
integer(kind=int8), | public | :: | ndims | = | 0 |
Number of dimensions |
|
integer(kind=int32), | public, | allocatable | :: | starts(:) |
Local starts, starting from 0 for both C and Fortran |
||
integer(kind=int32), | public, | allocatable | :: | counts(:) |
Local counts of data, in elements |
||
integer(kind=int64), | public | :: | size |
Total number of elements in a pencil |
|||
logical, | private | :: | is_created | = | .false. |
Is pencil created |
Type bound constuctor for dtfft_pencil_t
Creates pencil object, that can be used to create dtFFT plans
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int32), | intent(in) | :: | starts(:) |
Local starts, starting from 0 for both C and Fortran |
||
integer(kind=int32), | intent(in) | :: | counts(:) |
Local counts of data, in elements |
Destroys pencil
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(dtfft_pencil_t), | intent(inout) | :: | self |
Public pencil |
Destroys pencil
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(dtfft_pencil_t), | intent(inout) | :: | self |
Public pencil |