diff options
author | 2019-06-03 10:55:56 +0200 | |
---|---|---|
committer | 2019-06-03 10:55:56 +0200 | |
commit | e52a1bb390e665dcf3f8a7f6e2790fa8200672a3 (patch) | |
tree | 95138b1ca83d5b96b8b42ccebebe26f238a003ce /Source/Particles/MultiParticleContainer.cpp | |
parent | 679156e73e537284b97e642ef13f9d784b44f264 (diff) | |
download | WarpX-e52a1bb390e665dcf3f8a7f6e2790fa8200672a3.tar.gz WarpX-e52a1bb390e665dcf3f8a7f6e2790fa8200672a3.tar.zst WarpX-e52a1bb390e665dcf3f8a7f6e2790fa8200672a3.zip |
can't add a tau component to photons (it crashes :-( )
Diffstat (limited to 'Source/Particles/MultiParticleContainer.cpp')
-rw-r--r-- | Source/Particles/MultiParticleContainer.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/Particles/MultiParticleContainer.cpp b/Source/Particles/MultiParticleContainer.cpp index d8ccb36c6..c53ddceac 100644 --- a/Source/Particles/MultiParticleContainer.cpp +++ b/Source/Particles/MultiParticleContainer.cpp @@ -72,6 +72,13 @@ MultiParticleContainer::MultiParticleContainer (AmrCore* amr_core) pc_tmp->AddRealComp("uyold"); pc_tmp->AddRealComp("uzold"); } + +#ifdef WARPX_QED + //Add a tau field (optical depth) for all photon species + //for (int i = 0; i < nspecies; ++i) + //allcontainers[i]->AddRealComp("tau"); +#endif + } void |