exchange the requested treeIDs between all MPI processs
Now each process knows, which halos are requested. Continue with identifying the actual leaf elements, which are then communicated
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(treelmesh_type), | intent(in) | :: | tree | the global tree |
||
type(tem_comm_env_type), | intent(in) | :: | proc | Process description to use. |
||
type(tem_levelDesc_type), | intent(inout) | :: | me(tree%global%minlevel:) | the level descriptor to be filled |
||
type(tem_commPattern_type), | intent(in) | :: | commPattern | the communication pattern used |
||
type(tem_path_type), | intent(in) | :: | pathFirst(:) | first and last treeID path in every process |
||
type(tem_path_type), | intent(in) | :: | pathLast(:) | first and last treeID path in every process |
||
type(tem_stencilHeader_type), | intent(in) | :: | computeStencil(:) | stencil definition |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | private | :: | iLevel | ||||
integer, | private | :: | iErr | ||||
integer, | private | :: | nProcs | ||||
integer, | private | :: | iProc | ||||
integer, | private, | allocatable | :: | nHalos(:) | |||
integer, | private | :: | nIterations | ||||
logical, | private | :: | redo | ||||
logical, | private | :: | redo_global |