diff options
Diffstat (limited to 'Source/BoundaryConditions/PML.cpp')
-rw-r--r-- | Source/BoundaryConditions/PML.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/BoundaryConditions/PML.cpp b/Source/BoundaryConditions/PML.cpp index 572030f73..f6d5e05ae 100644 --- a/Source/BoundaryConditions/PML.cpp +++ b/Source/BoundaryConditions/PML.cpp @@ -844,11 +844,10 @@ PML::Exchange (MultiFab& pml, MultiFab& reg, const Geometry& geom, void PML::CopyToPML (MultiFab& pml, MultiFab& reg, const Geometry& geom) { - const IntVect& ngr = reg.nGrowVect(); const IntVect& ngp = pml.nGrowVect(); const auto& period = geom.periodicity(); - pml.ParallelCopy(reg, 0, 0, 1, ngr, ngp, period); + pml.ParallelCopy(reg, 0, 0, 1, IntVect(0), ngp, period); } void |