This function is used to support ghost region, it update the halo area of the global array from neighboring processes when is called.