From 22304cae4d10efe5da6b0f8cdc6313f5c985b8d5 Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Thu, 26 Sep 2024 00:34:41 -0700 Subject: [PATCH] Skip Guard in IGF Solver (Revert #5284) This reverts the inclusion of the guard cells when copying rho. We could not yet determine why, but with this change the FFT 3D solver in ImpactX does not converge to the analytical solutions anymore. --- Source/ablastr/fields/IntegratedGreenFunctionSolver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/ablastr/fields/IntegratedGreenFunctionSolver.cpp b/Source/ablastr/fields/IntegratedGreenFunctionSolver.cpp index ae11ad5087d..40b36740ae5 100644 --- a/Source/ablastr/fields/IntegratedGreenFunctionSolver.cpp +++ b/Source/ablastr/fields/IntegratedGreenFunctionSolver.cpp @@ -121,7 +121,7 @@ computePhiIGF ( amrex::MultiFab const & rho, BL_PROFILE_VAR_START(timer_pcopies); // Copy from rho including its ghost cells to tmp_rho - tmp_rho.ParallelCopy( rho, 0, 0, 1, rho.nGrowVect(), amrex::IntVect::TheZeroVector() ); + tmp_rho.ParallelCopy( rho, 0, 0, 1, amrex::IntVect::TheZeroVector(), amrex::IntVect::TheZeroVector() ); BL_PROFILE_VAR_STOP(timer_pcopies); #if !defined(ABLASTR_USE_HEFFTE)