aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/PhysicalParticleContainer.cpp
diff options
context:
space:
mode:
authorGravatar MaxThevenet <mthevenet@lbl.gov> 2019-08-12 09:56:33 -0700
committerGravatar MaxThevenet <mthevenet@lbl.gov> 2019-08-12 09:56:33 -0700
commit1cc426d477fd160c0b59bf777a8be715527ccfb8 (patch)
tree0f5cd7dff2718d085ea5fa1ef2deab6fe63f8cd0 /Source/Particles/PhysicalParticleContainer.cpp
parent1b9682b5d2705369a8a3c7da6ea1a00b9eb824d2 (diff)
downloadWarpX-1cc426d477fd160c0b59bf777a8be715527ccfb8.tar.gz
WarpX-1cc426d477fd160c0b59bf777a8be715527ccfb8.tar.zst
WarpX-1cc426d477fd160c0b59bf777a8be715527ccfb8.zip
use ionization_initial_level
Diffstat (limited to 'Source/Particles/PhysicalParticleContainer.cpp')
-rw-r--r--Source/Particles/PhysicalParticleContainer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Particles/PhysicalParticleContainer.cpp b/Source/Particles/PhysicalParticleContainer.cpp
index 69d7fa686..a92f36a3c 100644
--- a/Source/Particles/PhysicalParticleContainer.cpp
+++ b/Source/Particles/PhysicalParticleContainer.cpp
@@ -584,7 +584,7 @@ PhysicalParticleContainer::AddPlasma (int lev, RealBox part_realbox)
}
if (do_field_ionization) {
- pi[ip] = species_ionization_level;
+ pi[ip] = ionization_initial_level;
}
u.x *= PhysConst::c;
@@ -1966,7 +1966,7 @@ void PhysicalParticleContainer::InitIonizationModule ()
{
if (!do_field_ionization) return;
ParmParse pp(species_name);
- pp.query("ionization_level", species_ionization_level);
+ pp.query("ionization_level", ionization_initial_level);
pp.get("ionization_product_species", ionization_product_name);
pp.get("physical_element", physical_element);
// Add Real component for ionization level