integer ig,jg,tn,iunit
integer ig, jg
jg = myYGlobalLo-1+(bj-1)*sNy+j
if ((ig .eq. iLocOut) .and. (jg .eq. jLocOut)) then
& 'COST ',ig,jg,kLocOut,' TILE ',i,j,bi,bj
print *, 'ph-cost ', ig, jg, kLocOut,
if (jg .eq. jsec) then
if ((jg .ge. jsecbeg) .and. (jg .le. jsecend)) then
integer ig,jg