warp.fem.utils.grid_to_quads# warp.fem.utils.grid_to_quads(Nx, Ny)[source]# Construct a quadrilateral mesh topology from a dense 2D grid. The resulting quads will be indexed counter-clockwise. Parameters: Nx (int) – Resolution of the grid along x dimension Ny (int) – Resolution of the grid along y dimension Returns: Array of shape (Nx * Ny, 4) containing vertex indices for each quadrilateral