From f013b1f8601bfd883ae142f5fdf8054eecbaefb1 Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Wed, 3 Apr 2024 19:34:52 -0700 Subject: [PATCH] Fix: ABLASTR FFT Poisson Solver (#4821) Small compile issues seen in ImpactX. --- Source/ablastr/fields/PoissonSolver.H | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/ablastr/fields/PoissonSolver.H b/Source/ablastr/fields/PoissonSolver.H index 3489991671c..da0078f8b5a 100644 --- a/Source/ablastr/fields/PoissonSolver.H +++ b/Source/ablastr/fields/PoissonSolver.H @@ -13,6 +13,7 @@ #include #include #include +#include #if defined(WARPX_USE_PSATD) && defined(WARPX_DIM_3D) #include @@ -178,7 +179,7 @@ computePhi (amrex::Vector const & rho, // Use the Multigrid (MLMG) solver if selected or on refined patches // but first scale rho appropriately using namespace ablastr::constant::SI; - rho[lev]->mult(-1._rt/PhysConst::ep0); // TODO: when do we "un-multiply" this? We need to document this side-effect! + rho[lev]->mult(-1._rt/ep0); // TODO: when do we "un-multiply" this? We need to document this side-effect! #if !(defined(AMREX_USE_EB) || defined(WARPX_DIM_RZ)) // Determine whether to use semi-coarsening