diff options
author | 2020-04-23 17:44:23 -0700 | |
---|---|---|
committer | 2020-04-23 17:44:23 -0700 | |
commit | 9338081099d27c8a0ea8ddb8101ebfdfda118709 (patch) | |
tree | 5fc008cfcda00156872074f342f5af16118d6cbd /Source/Particles/MultiParticleContainer.cpp | |
parent | cafcb6bd5902fc72a4d6fa51b99fe837f5eb5381 (diff) | |
download | WarpX-9338081099d27c8a0ea8ddb8101ebfdfda118709.tar.gz WarpX-9338081099d27c8a0ea8ddb8101ebfdfda118709.tar.zst WarpX-9338081099d27c8a0ea8ddb8101ebfdfda118709.zip |
New diags also handle particle (#938)
* new class for particle diagnostics
* copy all diag properties from WarpXParticleContainer to ParticleDiag
* revert change of input example
* add some comments
* eol
* OpenPMD flush format for new diags
* eol
* fix compilation for new diags with QED
* fix bug when QED off
* fix typo and include suggestion from review
* Remove Dead Code, Add TODO
Co-Authored-By: MaxThevenet <mthevenet@lbl.gov>
* changes due to code review
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
Diffstat (limited to 'Source/Particles/MultiParticleContainer.cpp')
-rw-r--r-- | Source/Particles/MultiParticleContainer.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Particles/MultiParticleContainer.cpp b/Source/Particles/MultiParticleContainer.cpp index 13390168f..a3b5d256e 100644 --- a/Source/Particles/MultiParticleContainer.cpp +++ b/Source/Particles/MultiParticleContainer.cpp @@ -581,7 +581,7 @@ MultiParticleContainer::mapSpeciesProduct () /* \brief Given a species name, return its ID. */ int -MultiParticleContainer::getSpeciesID (std::string product_str) +MultiParticleContainer::getSpeciesID (std::string product_str) const { int i_product; bool found = 0; @@ -1153,5 +1153,4 @@ void MultiParticleContainer::CheckQEDProductSpecies() } } - #endif |