Skip to content

Commit f5dd614

Browse files
Fix method name
`ipjp()` -> `ip_jp()`
1 parent 150b4d3 commit f5dd614

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

mesh/mesh-examples.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -428,11 +428,11 @@
428428
"cell_type": "markdown",
429429
"metadata": {},
430430
"source": [
431-
"We we access the data, an `ArrayIndexer` object is returned. The `ArrayIndexer` sub-classes the NumPy `ndarray`, so it can do all of the methods that a NumPy array can, but in addition, we can use the `ip()`, `jp()`, or `ipjp()` methods to the `ArrayIndexer` object shift our view in the x, y, or x & y directions.\n",
431+
"We we access the data, an `ArrayIndexer` object is returned. The `ArrayIndexer` sub-classes the NumPy `ndarray`, so it can do all of the methods that a NumPy array can, but in addition, we can use the `ip()`, `jp()`, or `ip_jp()` methods to the `ArrayIndexer` object shift our view in the x, y, or x & y directions.\n",
432432
"\n",
433433
"To make this clearer, we'll change our data set to be nicely ordered numbers. We index the `ArrayIndex` the same way we would a NumPy array. The index space includes ghost cells, so the `ilo` and `ihi` attributes from the grid object are useful to index just the valid region. The `.v()` method is a shortcut that also gives a view into just the valid data.\n",
434434
"\n",
435-
"Note: when we use one of the `ip()`, `jp()`, `ipjp()`, or `v()` methods, the result is a regular NumPy `ndarray`, not an `ArrayIndexer` object. This is because it only spans part of the domain (e.g., no ghost cells), and therefore cannot be associated with the `Grid2d` object that the `ArrayIndexer` is built from."
435+
"Note: when we use one of the `ip()`, `jp()`, `ip_jp()`, or `v()` methods, the result is a regular NumPy `ndarray`, not an `ArrayIndexer` object. This is because it only spans part of the domain (e.g., no ghost cells), and therefore cannot be associated with the `Grid2d` object that the `ArrayIndexer` is built from."
436436
]
437437
},
438438
{

0 commit comments

Comments
 (0)