aboutsummaryrefslogtreecommitdiff
path: root/Source/WarpX.cpp
diff options
context:
space:
mode:
authorGravatar Edoardo Zoni <ezoni@lbl.gov> 2020-02-06 17:48:42 -0800
committerGravatar Edoardo Zoni <ezoni@lbl.gov> 2020-02-06 17:48:42 -0800
commitcf2b07b447f4c47e436cc9512ce73e0fd2dd1cf0 (patch)
treec536448094e008b355ae1018fcf6fa0e9e897293 /Source/WarpX.cpp
parent76ae5e84dfa06f3396cc9f08864c50094db8ef85 (diff)
downloadWarpX-cf2b07b447f4c47e436cc9512ce73e0fd2dd1cf0.tar.gz
WarpX-cf2b07b447f4c47e436cc9512ce73e0fd2dd1cf0.tar.zst
WarpX-cf2b07b447f4c47e436cc9512ce73e0fd2dd1cf0.zip
Fix typos in comments.
Diffstat (limited to 'Source/WarpX.cpp')
-rw-r--r--Source/WarpX.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WarpX.cpp b/Source/WarpX.cpp
index 71bd86070..bcfab9a69 100644
--- a/Source/WarpX.cpp
+++ b/Source/WarpX.cpp
@@ -1309,7 +1309,7 @@ WarpX::BuildBufferMasksInBox ( const amrex::Box tbx, amrex::IArrayBox &buffer_ma
for (int j = lo.y; j <= hi.y; ++j) {
for (int i = lo.x; i <= hi.x; ++i) {
setnull = false;
- // If gmsk=0 for any neighbor with ng cells, current cell is in the buffer region
+ // If gmsk=0 for any neighbor within ng cells, current cell is in the buffer region
for (int jj = j-ng; jj <= j+ng; ++jj) {
for (int ii = i-ng; ii <= i+ng; ++ii) {
if ( gmsk(ii,jj,k) == 0 ) setnull = true;
@@ -1324,7 +1324,7 @@ WarpX::BuildBufferMasksInBox ( const amrex::Box tbx, amrex::IArrayBox &buffer_ma
for (int j = lo.y; j <= hi.y; ++j) {
for (int i = lo.x; i <= hi.x; ++i) {
setnull = false;
- // If gmsk=0 for any neighbor with ng cells, current cell is in the buffer region
+ // If gmsk=0 for any neighbor within ng cells, current cell is in the buffer region
for (int kk = k-ng; kk <= k+ng; ++kk) {
for (int jj = j-ng; jj <= j+ng; ++jj) {
for (int ii = i-ng; ii <= i+ng; ++ii) {