Skip to content

pygeos-tools: implement gatherField method to collect a field across all rank with correct ghostRank and localToGlobalMap #91

@alexbenedicto

Description

@alexbenedicto

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.

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions