Please post to the list, not to me.
Myloc refers to the mapping of procs to the 3d grid.
Each proc has a location in 3d within that grid.
I suggest for Qs like this, you try running on
a few procs and printing out the values.
Then things will make more sense.
Steve