diff options
Diffstat (limited to 'Source/Particles/PhotonParticleContainer.cpp')
-rw-r--r-- | Source/Particles/PhotonParticleContainer.cpp | 8 |
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 |