From fb8cc64738e6f49d8afb05b00fd4126b233138f3 Mon Sep 17 00:00:00 2001 From: RevathiJambunathan Date: Mon, 22 Jan 2024 18:10:31 -0800 Subject: [PATCH] compilation in 3D --- Tests/Particles/Mapped/AMReX_TracerParticle_mod_K.H | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/Particles/Mapped/AMReX_TracerParticle_mod_K.H b/Tests/Particles/Mapped/AMReX_TracerParticle_mod_K.H index 92c9df8bfc..8c87e68d8b 100644 --- a/Tests/Particles/Mapped/AMReX_TracerParticle_mod_K.H +++ b/Tests/Particles/Mapped/AMReX_TracerParticle_mod_K.H @@ -702,12 +702,12 @@ void linear_interpolate_to_particle_mapped (const P& p, amrex::Real f = b*x + c*y + d*x*y; + val[comp-start_comp] = f1 + f; #elif (AMREX_SPACEDIM == 3) int k = p.idata(2); amrex::Abort("This is not implemented yet"); -#endif - val[comp-start_comp] = f1 + f; +#endif } // comp }