diff options
Diffstat (limited to 'Source/Particles/MultiParticleContainer.cpp')
-rw-r--r-- | Source/Particles/MultiParticleContainer.cpp | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/Source/Particles/MultiParticleContainer.cpp b/Source/Particles/MultiParticleContainer.cpp index f7e990c34..ea8e58ee7 100644 --- a/Source/Particles/MultiParticleContainer.cpp +++ b/Source/Particles/MultiParticleContainer.cpp @@ -371,7 +371,8 @@ MultiParticleContainer::ReadParameters () #if (AMREX_SPACEDIM == 2) getWithParser(pp_qed_schwinger, "y_size",m_qed_schwinger_y_size); #endif - pp_qed_schwinger.query("threshold_poisson_gaussian", m_qed_schwinger_threshold_poisson_gaussian); + queryWithParser(pp_qed_schwinger, "threshold_poisson_gaussian", + m_qed_schwinger_threshold_poisson_gaussian); queryWithParser(pp_qed_schwinger, "xmin", m_qed_schwinger_xmin); queryWithParser(pp_qed_schwinger, "xmax", m_qed_schwinger_xmax); #if (AMREX_SPACEDIM == 3) @@ -1139,7 +1140,7 @@ MultiParticleContainer::QuantumSyncGenerateTable () getWithParser(pp_qed_qs, "tab_dndt_chi_max", ctrl.dndt_params.chi_part_max); //How many points should be used for chi in the table - pp_qed_qs.get("tab_dndt_how_many", ctrl.dndt_params.chi_part_how_many); + getWithParser(pp_qed_qs, "tab_dndt_how_many", ctrl.dndt_params.chi_part_how_many); //------ //--- sub-table 2 (2D) @@ -1156,7 +1157,7 @@ MultiParticleContainer::QuantumSyncGenerateTable () getWithParser(pp_qed_qs, "tab_em_chi_max", ctrl.phot_em_params.chi_part_max); //How many points should be used for chi in the table - pp_qed_qs.get("tab_em_chi_how_many", ctrl.phot_em_params.chi_part_how_many); + getWithParser(pp_qed_qs, "tab_em_chi_how_many", ctrl.phot_em_params.chi_part_how_many); //The other axis of the table is the ratio between the quantum //parameter of the emitted photon and the quantum parameter of the @@ -1165,7 +1166,7 @@ MultiParticleContainer::QuantumSyncGenerateTable () //This parameter is the number of different points to consider for the second //axis - pp_qed_qs.get("tab_em_frac_how_many", ctrl.phot_em_params.frac_how_many); + getWithParser(pp_qed_qs, "tab_em_frac_how_many", ctrl.phot_em_params.frac_how_many); //==================== m_shr_p_qs_engine->compute_lookup_tables(ctrl, qs_minimum_chi_part); @@ -1220,7 +1221,7 @@ MultiParticleContainer::BreitWheelerGenerateTable () getWithParser(pp_qed_bw, "tab_dndt_chi_max", ctrl.dndt_params.chi_phot_max); //How many points should be used for chi in the table - pp_qed_bw.get("tab_dndt_how_many", ctrl.dndt_params.chi_phot_how_many); + getWithParser(pp_qed_bw, "tab_dndt_how_many", ctrl.dndt_params.chi_phot_how_many); //------ //--- sub-table 2 (2D) @@ -1237,12 +1238,12 @@ MultiParticleContainer::BreitWheelerGenerateTable () getWithParser(pp_qed_bw, "tab_pair_chi_max", ctrl.pair_prod_params.chi_phot_max); //How many points should be used for chi in the table - pp_qed_bw.get("tab_pair_chi_how_many", ctrl.pair_prod_params.chi_phot_how_many); + getWithParser(pp_qed_bw, "tab_pair_chi_how_many", ctrl.pair_prod_params.chi_phot_how_many); //The other axis of the table is the fraction of the initial energy //'taken away' by the most energetic particle of the pair. //This parameter is the number of different fractions to consider - pp_qed_bw.get("tab_pair_frac_how_many", ctrl.pair_prod_params.frac_how_many); + getWithParser(pp_qed_bw, "tab_pair_frac_how_many", ctrl.pair_prod_params.frac_how_many); //==================== m_shr_p_bw_engine->compute_lookup_tables(ctrl, bw_minimum_chi_part); |