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.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/Particles/PhotonParticleContainer.cpp b/Source/Particles/PhotonParticleContainer.cpp
index b0bbf406a..b440b7990 100644
--- a/Source/Particles/PhotonParticleContainer.cpp
+++ b/Source/Particles/PhotonParticleContainer.cpp
@@ -36,6 +36,7 @@ PhotonParticleContainer::PhotonParticleContainer (AmrCore* amr_core, int ispecie
void PhotonParticleContainer::InitData()
{
AddParticles(0); // Note - add on level 0
+
if (maxLevel() > 0) {
Redistribute(); // We then redistribute
}
@@ -102,3 +103,10 @@ PhotonParticleContainer::Evolve (int lev,
cBx, cBy, cBz,
t, dt);
}
+
+
+#ifdef WARPX_QED
+ void InitOpticalDepth(){
+
+ }
+#endif