
function [gidout] = routGxGy_to_routGid ( gx, gy, max_clm_idx)


gidout = gx * max_clm_idx + gy ;