aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/PhotonParticleContainer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Particles/PhotonParticleContainer.cpp')
-rw-r--r--Source/Particles/PhotonParticleContainer.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/Particles/PhotonParticleContainer.cpp b/Source/Particles/PhotonParticleContainer.cpp
index 67efb127f..39a5cd5d2 100644
--- a/Source/Particles/PhotonParticleContainer.cpp
+++ b/Source/Particles/PhotonParticleContainer.cpp
@@ -124,7 +124,7 @@ void
PhotonParticleContainer::EvolveOpticalDepth(
WarpXParIter& pti,amrex::Real dt)
{
- if(!has_breit_wheeler())
+ if(!has_breit_wheeler())
return;
auto& attribs = pti.GetAttribs();
@@ -141,8 +141,8 @@ PhotonParticleContainer::EvolveOpticalDepth(
BreitWheelerEvolveOpticalDepth evolve_opt =
m_shr_p_bw_engine->build_evolve_functor();
- amrex::Real* AMREX_RESTRICT p_tau =
- pti.GetAttribs(particle_comps["tau"]).dataPtr();
+ amrex::Real* AMREX_RESTRICT p_optical_depth_BW =
+ pti.GetAttribs(particle_comps["optical_depth_BW"]).dataPtr();
const auto me = PhysConst::m_e;
@@ -157,8 +157,8 @@ PhotonParticleContainer::EvolveOpticalDepth(
px, py, pz,
Ex[i], Ey[i], Ez[i],
Bx[i], By[i], Bz[i],
- dt, p_tau[i]);
+ dt, p_optical_depth_BW[i]);
}
- );
+ );
}
#endif