Hello, I want to ask a question about the IndexMap.
I’m a little bit confused about this function:
I can understand that “ghosts” stores the global index of all ghost nodes, and “src” stores the process rank that each ghost nodes belong to. But for “dest” and “owner”, I’m not sure I understand it in the right way.
Does “dest” corresponds to the local index of ghost nodes in their own process. And what does “Owner” contain? Sorry I don’t really get it.
/// @param[in] comm The MPI communicator
/// @param[in] local_size Local size of the index map, i.e. the number
/// of owned entries
/// @param[in] ghosts The global indices of ghost entries
/// @param[in] owners Owner rank (on global communicator) of each
/// entry in `ghosts`
The MPI communicator, how many entries you own, what global indices from other processes you need, and who owns each of the ghosts indices.