Computes local portions of data based on global count and position inside grid communicator
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int32), | intent(in) | :: | n_global |
Global number of points |
||
type(MPI_Comm), | intent(in) | :: | comm |
Grid communicator |
||
integer(kind=int32), | intent(out) | :: | start |
Local start |
||
integer(kind=int32), | intent(out) | :: | count |
Local count |
||
integer(kind=int32), | intent(in), | optional | :: | start_to_keep |
Start to keep in case of user defined decomposition |
|
integer(kind=int32), | intent(in), | optional | :: | size_to_keep |
Size to keep in case of user defined decomposition |