Skip to content

Commit ffb160e

Browse files
committed
Fix comments in tests/test_multifab.py
1 parent fdd9c8c commit ffb160e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_multifab.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def test_mfab_numpy(mfab):
7777
# Config = sim.extension.Config
7878

7979
# Using global indexing
80-
# Set all valid cells
80+
# Set all valid cells (and internal ghost cells)
8181
mfab[...] = 42.0
8282

8383
# Set a range of cells. Indices are in Fortran order.
@@ -91,8 +91,8 @@ def test_mfab_numpy(mfab):
9191

9292
# Get a range of cells
9393
# Get the data along the valid cells in the first dimension (gathering data across blocks
94-
# and processors), at the first upper guard cell in the second dimensionn, and cell 16 of
95-
# the third (with 16 being relative to 0 which is the lower end of the full domain).
94+
# and processors), at the first upper guard cell in the second dimensionn, and cell 2 of
95+
# the third (with 2 being relative to 0 which is the lower end of the valid cells of the full domain).
9696
# Note that in an MPI context, this is a global operation, so caution is required when
9797
# scaling to large numbers of processors.
9898
if mfab.n_grow_vect.max > 0:

0 commit comments

Comments
 (0)