The entries in the Ppat_array and Px_array data types (where x is one of colrv, colrv_ctrl_point, ctrl_point3, data_ctrl_point, edge_flag, facet, float, vertex and vertex3) shall be stored such that the (i,j)th element in the array is given by the following expression:
i + j*dx
where
i=0 to dim.size_x-1
j=0 to dim.size_y-1