j

vertical mode number


Discussion

This is simply an ordered enumeration of modes, starting with the zero-th (barotropic) mode.

j = (0:(self.Nj-1))';