In the nonperiodic case, a neighbor may not exist. This is indicated by a rank of MPI_PROC_NULL.
This rank may be used in send and receive calls in MPI. The action in both cases is as if the call was not made.