diff --git a/Partitioner.cpp b/Partitioner.cpp index 6bf0602..5b3ceaf 100644 --- a/Partitioner.cpp +++ b/Partitioner.cpp @@ -181,9 +181,9 @@ void Partitioner::save_metadata(const std::string& filename) const NC_CHECK(nc_def_var(bbox_gid, "domain_x", NC_INT, 1, &dimid, &top_x_vid)); NC_CHECK(nc_def_var(bbox_gid, "domain_y", NC_INT, 1, &dimid, &top_y_vid)); NC_CHECK( - nc_def_var(bbox_gid, "local_extent_x", NC_INT, 1, &dimid, &cnt_x_vid)); + nc_def_var(bbox_gid, "domain_extent_x", NC_INT, 1, &dimid, &cnt_x_vid)); NC_CHECK( - nc_def_var(bbox_gid, "local_extent_y", NC_INT, 1, &dimid, &cnt_y_vid)); + nc_def_var(bbox_gid, "domain_extent_y", NC_INT, 1, &dimid, &cnt_y_vid)); // Connectivity group NC_CHECK(nc_def_var(connectivity_gid, "top_neighbors", NC_INT, 1, &dimid, &top_num_vid)); diff --git a/Partitioner.hpp b/Partitioner.hpp index 754e0f5..fa9a61e 100644 --- a/Partitioner.hpp +++ b/Partitioner.hpp @@ -104,9 +104,9 @@ class LIB_EXPORT Partitioner * Saves the boxes and connectivity information of the latest 2D domain * decomposition in a NetCDF file. The NetCDF file contains a dimension P * equal to the number of partitions and integer variables domain_x(P), - * domain_y(P), local_extent_x(P) and local_extent_y(P). Variables domain_x + * domain_y(P), domain_extent_x(P) and domain_extent_y(P). Variables domain_x * and domain_y are defined as the coordinates of the upper left corner of the - * box for each partition, while the local_extent_x and local_extent_y + * box for each partition, while the domain_extent_x and domain_extent_y * variables define the local extent of the x and y dimensions respectively. * The file also defines the variables X_neighbors(P), X_neighbor_ids(X_dim) * and X_neighbor_halos(X_dim), where X is top/bottom/left/right, which