Skip to content

Commit

Permalink
Fix comments in tests/test_multifab.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgrote committed Oct 15, 2024
1 parent fdd9c8c commit ffb160e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_multifab.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def test_mfab_numpy(mfab):
# Config = sim.extension.Config

# Using global indexing
# Set all valid cells
# Set all valid cells (and internal ghost cells)
mfab[...] = 42.0

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

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

0 comments on commit ffb160e

Please sign in to comment.