diff options
author | 2019-06-03 12:01:13 +0200 | |
---|---|---|
committer | 2019-06-03 12:01:13 +0200 | |
commit | eb61eabea96c7fe4dfdbc890053f52f0548d3ed4 (patch) | |
tree | 3591144b53731617299dce1b066c235f1260f959 /Source/Particles/PhotonParticleContainer.cpp | |
parent | cf3b3e52e484eca8c5640f65863186ba47137cad (diff) | |
download | WarpX-eb61eabea96c7fe4dfdbc890053f52f0548d3ed4.tar.gz WarpX-eb61eabea96c7fe4dfdbc890053f52f0548d3ed4.tar.zst WarpX-eb61eabea96c7fe4dfdbc890053f52f0548d3ed4.zip |
initial work for a function to initialize optical depth
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 |