cache_location
identify_code_path(rank, partitioner, *, single_code_path=False)
Determine which code path your rank will hit.
If single_code_path is True, only one code path exists, e.g. in case of a doubly periodic grid. If single_code_path is False, we are in the case of the cube-sphere and we will look at our position on the tile.