When a component of the coupled system is a parallel code, each coupling field is usually scattered among the different processes. With the PSMILe library, each process can send directly its partition to OASIS3 interpolation executable, or directly to the other component model if no transformation and no repartition are required. To do so, each process exchanging coupling data has to define its local partition in the global index space.
Module to be used by the component model to call prism_def_partition_proto.
The vector of integers describing the process local partition, ig_paral, has a different expression depending on the type of the partition. In OASIS3, 4 types of partition are supported: Serial (no partition), Apple, Box, and Orange.