3.4.8. Consistency with MPI
The removal or addition of a task that is a boundary task is reflected in the nbor list of nbors that are virtual tasks. The sequence of events is:
A thread always sends a boundary task to rank nbors, after updating or creating it. At that time, a bit (
bits%init_nbors) is set, which triggers the receiving rank to update the nbor lists of the task.As a consequnce of that, all nbors of that (virtual) task on the rank nbor also have their nbor lists renewed.