What is the meaning of the 4 return values of create_nonmatching_meshes_interpolation_data
?
+----------------------+---------------------------+---------------------------------+
| C++ pybind11 m.def() | determine_point_ownership | interpolate_nonmatching_meshes |
+----------------------+---------------------------+---------------------------------+
| src_owner | point_owners | dest_ranks |
| dest_owner | owned_recv_ranks | src_ranks |
| dest_points | owned_recv_points | recv_points |
| dest_cells | owned_recv_cells | evaluation_cells |
+----------------------+---------------------------+---------------------------------+
I found them in different places as tabulated above and I guess the meaning based on the context:
(1) src_owner
: the remote process rank with those points whose values are evaluated on the current process.
(2) dest_owner
: a process rank, no clue…
(3) dest_points
: coordinates of those points received from remote processes in (1).
(4) dest_cells
: the cell indices of what dest_points
belong to on the current process.
The relation between dest_points
is dest_cell
is len(dest_points) = 3 * len(dest_cells)
. And I obseved that len(dest_owner) = len(dest_cells)
.