aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/MultiParticleContainer.cpp
diff options
context:
space:
mode:
authorGravatar David Grote <grote1@llnl.gov> 2021-02-05 10:09:27 -0800
committerGravatar GitHub <noreply@github.com> 2021-02-05 10:09:27 -0800
commitbaff5bbecff492e969df1cd89f8c00d45318bd3d (patch)
tree133aab2b3d454c86b91d5830bd915eb5d67b1aa4 /Source/Particles/MultiParticleContainer.cpp
parent4dad73885c78a0d025da623ff5aba92bbbb0be2b (diff)
downloadWarpX-baff5bbecff492e969df1cd89f8c00d45318bd3d.tar.gz
WarpX-baff5bbecff492e969df1cd89f8c00d45318bd3d.tar.zst
WarpX-baff5bbecff492e969df1cd89f8c00d45318bd3d.zip
Fix photon species error message (#1681)
Diffstat (limited to '')
-rw-r--r--Source/Particles/MultiParticleContainer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Particles/MultiParticleContainer.cpp b/Source/Particles/MultiParticleContainer.cpp
index 931825d3c..5a09c30df 100644
--- a/Source/Particles/MultiParticleContainer.cpp
+++ b/Source/Particles/MultiParticleContainer.cpp
@@ -228,7 +228,7 @@ MultiParticleContainer::ReadParameters ()
WarpXUtilMsg::AlwaysAssert(
it != species_names.end(),
"ERROR: species '" + name
- + "' in particles.rigid_injected_species must be part of particles.species_names"
+ + "' in particles.photon_species must be part of particles.species_names"
);
int i = std::distance(species_names.begin(), it);
species_types[i] = PCTypes::Photon;