In principle, you are ready to write your code in parallel using domain
You now know the basic issues to consider when writing a parallel code using
domain decomposition. Together with basic MPI communication routines
(e.g. mpi_send mpi_recv, etc) you have all the tools you need to write your
If you ask:
Do I have to design a "map" of neighbors for each
The answer is: Not Necessarily.
You can use MPI_CART routines to manage domain decomposition for you.
Minimal set of routines:
Very Useful MPI_CART routines: