aboutsummaryrefslogtreecommitdiff
path: root/Source/Parallelization/WarpXComm.cpp
diff options
context:
space:
mode:
authorGravatar MaxThevenet <mthevenet@lbl.gov> 2019-09-14 12:14:08 -0700
committerGravatar MaxThevenet <mthevenet@lbl.gov> 2019-09-14 12:14:08 -0700
commit2cde7b74687cc2e3e1448da6d04ae3c128942168 (patch)
treee172e6679e6051aaecd35d0bece75f4c9275611f /Source/Parallelization/WarpXComm.cpp
parentf46cdc9485ddf20a41bfcfd8a3081dcbecd435b9 (diff)
parent6232f62665f4b5897ff6e779824e2ea4565054b8 (diff)
downloadWarpX-2cde7b74687cc2e3e1448da6d04ae3c128942168.tar.gz
WarpX-2cde7b74687cc2e3e1448da6d04ae3c128942168.tar.zst
WarpX-2cde7b74687cc2e3e1448da6d04ae3c128942168.zip
Merge branch 'dev' into qed_phys_part_with_lambda
Diffstat (limited to 'Source/Parallelization/WarpXComm.cpp')
-rw-r--r--Source/Parallelization/WarpXComm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Parallelization/WarpXComm.cpp b/Source/Parallelization/WarpXComm.cpp
index ea939cef3..1c8c37cad 100644
--- a/Source/Parallelization/WarpXComm.cpp
+++ b/Source/Parallelization/WarpXComm.cpp
@@ -582,7 +582,7 @@ WarpX::AddCurrentFromFineLevelandSumBoundary (int lev)
}
else if (current_buf[lev+1][idim]) // but no filter
{
- MultiFab::Copy(*current_buf[lev+1][idim],
+ MultiFab::Add(*current_buf[lev+1][idim],
*current_cp [lev+1][idim], 0, 0, current_buf[lev+1][idim]->nComp(),
current_cp[lev+1][idim]->nGrow());
mf.ParallelAdd(*current_buf[lev+1][idim], 0, 0, current_buf[lev+1][idim]->nComp(),