Initialize the communication buffers for a single level
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_communication_type) | :: | send | Communication structure to initialize |
|||
type(tem_communication_type) | :: | recv | Communication structure to initialize |
|||
type(pdf_data_type), | intent(in) | :: | iLevel pdf info with neigh array |
|||
type(tem_commPattern_type), | intent(in) | :: | pattern | communication pattern |
||
integer, | intent(in) | :: | offset(2,eT_minRelevant:eT_maxRelevant) | |||
logical, | intent(in) | :: | requireAll | different place to take values from for interpolation |
||
type(mus_scheme_type), | intent(in) | :: | scheme | fluid, bnd and flow info |
||
type(mus_statistics_type), | intent(inout) | :: | stat | Statistics |
||
integer, | intent(in) | :: | comm | mpi communication enviroment with mpi communicator |
||
logical, | intent(in) | :: | haloRequired(:) |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
type(halo_commBitmask_type), | private, | allocatable | :: | myHalos(:) | |||
type(halo_commBitmask_type), | private, | allocatable | :: | remoteHalos(:) |
Initialize myHalos and remoteHalos bitmasks. myHalos bitmask are from my halo elements which are to be received from remote process and remoteHalos bitmask are remote process halos which are requested by remote process.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(halo_commBitmask_type), | intent(out), | allocatable | :: | halos(:) | contains bitmask of my halos with array size of recv%nProcs |
|
type(tem_communication_type), | intent(in) | :: | comm | Communication structure to initialize |
||
integer, | intent(in) | :: | nScalars | number of scalars in variable system to communicate |
Destroy allocated send and recv bitmask buffer
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(halo_commBitmask_type), | intent(inout), | allocatable | :: | Halos(:) | contains bitmask of my halos with array size of recv%nProcs |
|
integer, | intent(in) | :: | nProcs | Communication structure to initialize |