From a0d4cb42266e8e3c6140138e718e11a10f8f58d4 Mon Sep 17 00:00:00 2001 From: Luca Fedeli Date: Thu, 12 Sep 2019 14:33:31 +0200 Subject: Optical depth correctly initialized. Now BW engine wrapper is a class --- Source/Particles/PhotonParticleContainer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Particles/PhotonParticleContainer.cpp') diff --git a/Source/Particles/PhotonParticleContainer.cpp b/Source/Particles/PhotonParticleContainer.cpp index e6712657a..5fecaf525 100644 --- a/Source/Particles/PhotonParticleContainer.cpp +++ b/Source/Particles/PhotonParticleContainer.cpp @@ -137,7 +137,7 @@ for (int lev=0; lev < num_levels; ++lev) amrex::ParallelFor( pti.numParticles(), [=] AMREX_GPU_DEVICE (long i) { - taus[i] = warpx_breit_wheeler_get_optical_depth(); + taus[i] = warpx_breit_wheeler_engine::get_optical_depth(); } ); } -- cgit v1.2.3