16 int max_num_vertices_per_cell = 0;
17 for (
size_t i = 0; i < grid.
num_cells; ++i)
27 (
size_t)max_num_vertices_per_cell *
sizeof(*(cell.
edge_type))),
28 .num_corners = (size_t)max_num_vertices_per_cell,
29 .
array_size = (
size_t)max_num_vertices_per_cell};
32 for (
size_t cell_idx = 0; cell_idx < grid.
num_cells; ++cell_idx) {
36 size_t * cell_to_vertex =
38 size_t * cell_to_edge =
40 for (
size_t i = 0; i < num_vertices; ++i) {
42 size_t vertex_idx = cell_to_vertex[i];
46 size_t edge_idx = cell_to_edge[i];