Documentation for HEC_Grid
A better example for HEC_Grid. This one show how the float[][] array maps onto the vertices. That wasn't the case with a grid with an equal amount of cells in each direction.