Skip to content

Commit

Permalink
Skip Guard in IGF Solver (Revert ECP-WarpX#5284)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ax3l committed Sep 26, 2024
1 parent d9935f4 commit 22304ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/ablastr/fields/IntegratedGreenFunctionSolver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 22304ca

Please sign in to comment.