Skip to content

Commit 9c1070b

Browse files
fix: remove broken unique cell ids check
1 parent 1318dea commit 9c1070b

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

libs/coupldyn_yac/yac_cartesian_dynamics.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,14 +143,12 @@ void create_grid_and_points_definitions(const Config& config, const std::array<s
143143

144144
std::vector<double> edge_centers_longitudes;
145145
std::vector<double> edge_centers_latitudes;
146-
int* global_cell_ids = nullptr;
147146
create_vertex_coordinates(config, partition_size, gridbox_bounds, domain_bounds,
148147
vertex_longitudes, vertex_latitudes);
149148

150149
// Defines a regular 2D grid
151150
yac_cdef_grid_reg2d(grid_name.c_str(), total_vertices, cyclic_dimension, vertex_longitudes.data(),
152151
vertex_latitudes.data(), &grid_id);
153-
yac_cset_global_index(global_cell_ids, YAC_LOCATION_CELL, grid_id);
154152
// --- Point definitions ---
155153
// Defines the cell center longitude and latitude values in radians
156154
// The values are later permuted by YAC to generate all cell center coordinates

0 commit comments

Comments
 (0)