aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/PhotonParticleContainer.cpp
diff options
context:
space:
mode:
authorGravatar Luca Fedeli <luca.fedeli@cea.fr> 2019-09-12 14:33:31 +0200
committerGravatar Luca Fedeli <luca.fedeli@cea.fr> 2019-09-12 14:33:31 +0200
commita0d4cb42266e8e3c6140138e718e11a10f8f58d4 (patch)
treea304c72c3af8008135be982a30730a35dc88aa9f /Source/Particles/PhotonParticleContainer.cpp
parentd48db8b433b165a7822e914b8fda7636924f1c32 (diff)
downloadWarpX-a0d4cb42266e8e3c6140138e718e11a10f8f58d4.tar.gz
WarpX-a0d4cb42266e8e3c6140138e718e11a10f8f58d4.tar.zst
WarpX-a0d4cb42266e8e3c6140138e718e11a10f8f58d4.zip
Optical depth correctly initialized. Now BW engine wrapper is a class
Diffstat (limited to 'Source/Particles/PhotonParticleContainer.cpp')
-rw-r--r--Source/Particles/PhotonParticleContainer.cpp2
1 files changed, 1 insertions, 1 deletions
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();
}
);
}