'Shared indices' is not accurate terminology when referring to boundary padding.  The padding here can be either communication padding or boundary padding, depending on the location of the processor within the processor grid, and the periodic flag.