aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/PhotonParticleContainer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Particles/PhotonParticleContainer.cpp')
-rw-r--r--Source/Particles/PhotonParticleContainer.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/Particles/PhotonParticleContainer.cpp b/Source/Particles/PhotonParticleContainer.cpp
index 71d5488ac..cb9119a06 100644
--- a/Source/Particles/PhotonParticleContainer.cpp
+++ b/Source/Particles/PhotonParticleContainer.cpp
@@ -31,22 +31,22 @@ PhotonParticleContainer::PhotonParticleContainer (AmrCore* amr_core, int ispecie
const std::string& name)
: PhysicalParticleContainer(amr_core, ispecies, name)
{
- ParmParse pp(species_name);
+ ParmParse pp_species_name(species_name);
#ifdef WARPX_QED
//Find out if Breit Wheeler process is enabled
- pp.query("do_qed_breit_wheeler", m_do_qed_breit_wheeler);
+ pp_species_name.query("do_qed_breit_wheeler", m_do_qed_breit_wheeler);
//If Breit Wheeler process is enabled, look for the target electron and positron
//species
if(m_do_qed_breit_wheeler){
- pp.get("qed_breit_wheeler_ele_product_species", m_qed_breit_wheeler_ele_product_name);
- pp.get("qed_breit_wheeler_pos_product_species", m_qed_breit_wheeler_pos_product_name);
+ pp_species_name.get("qed_breit_wheeler_ele_product_species", m_qed_breit_wheeler_ele_product_name);
+ pp_species_name.get("qed_breit_wheeler_pos_product_species", m_qed_breit_wheeler_pos_product_name);
}
//Check for processes which do not make sense for photons
bool test_quantum_sync = false;
- pp.query("do_qed_quantum_sync", test_quantum_sync);
+ pp_species_name.query("do_qed_quantum_sync", test_quantum_sync);
AMREX_ALWAYS_ASSERT_WITH_MESSAGE(
test_quantum_sync == 0,
"ERROR: do_qed_quantum_sync can be 1 for species NOT listed in particles.photon_species only!");