@@ -185,17 +185,17 @@ class RRSpatialLookup {
185
185
e_side side = SIDES[0 ]);
186
186
187
187
/* *
188
- * @brief Mirror the last dimension of a look-up, i.e., a list of nodes, from a source coordinate to
188
+ * @brief Mirror the last dimension of a look-up, i.e., a list of nodes, from a source coordinate to
189
189
* a destination coordinate.
190
190
*
191
- * This function is mostly need by SOURCE and SINK nodes which are indexable in multiple locations.
191
+ * This function is mostly need by SOURCE nodes which are indexable in multiple locations.
192
192
* Considering a bounding box (layer, x, y)->(layer, x + width, y + height) of a multi-height and multi-width grid,
193
- * SOURCE and SINK nodes are indexable in any location inside the boundry .
193
+ * SOURCE nodes are indexable in any location inside the boundary .
194
194
*
195
- * An example of usage:
195
+ * An example of usage:
196
196
*
197
197
*
198
- * ```
198
+ * ```
199
199
* // Create a empty lookup
200
200
* RRSpatialLookup rr_lookup;
201
201
* // Adding other nodes ...
@@ -206,21 +206,21 @@ class RRSpatialLookup {
206
206
* TOP);
207
207
* ```
208
208
*
209
- * @note currently this function only accepts SOURCE/SINK nodes. May unlock for the other types
209
+ * @note currently this function only accepts SOURCE nodes. May unlock for the other types
210
210
* depending on needs
211
211
*/
212
212
/*
213
- * TODO: Consider to make a high-level API to duplicate the nodes for large blocks.
213
+ * TODO: Consider to make a high-level API to duplicate the nodes for large blocks.
214
214
* Then this API can become a private one
215
- * For example,
215
+ * For example,
216
216
*
217
217
*
218
218
* ```
219
219
* expand_nodes(source_coordinate, bounding_box_coordinate, type, side);
220
220
* ```
221
221
*
222
- * Alternatively, we can rework the ``find_node()`` API so that we always search the lowest (x,y)
223
- * corner when dealing with large blocks. But this may require the data structure to be dependent
222
+ * Alternatively, we can rework the ``find_node()`` API so that we always search the lowest (x,y)
223
+ * corner when dealing with large blocks. But this may require the data structure to be dependent
224
224
* on DeviceGrid information (it needs to identify if a grid has height > 1 as well as width > 1)
225
225
*/
226
226
void mirror_nodes (const int layer,
0 commit comments