In pygeos-tools, when working with multiple ranks, no method is able yet to gather fields across all ranks wrt ghostRank and localToGlobalMap.
Currently, the closest method to perform this task is:
|
def get_wrapper_par( problem: pygeosx.Group, target_key: str, allgather=False, ghost_key: str = '' ) -> np.ndarray: |
The issue is that the fields are concatenated in the order of the ranks and not by taking into account the localToGlobalMap.
The goal would be to use that localToGlobalMap in a new improved method.