@@ -28,75 +28,63 @@ namespace ntt {
2828 }
2929
3030 if (extra.at (" synchrotron_emission" )) {
31- synchrotron_gamma_rad = toml::find_or (toml_data,
31+ synchrotron_gamma_rad = toml::find_or (toml_data,
3232 " radiation" ,
3333 " drag" ,
3434 " synchrotron" ,
3535 " gamma_rad" ,
3636 defaults::synchrotron::gamma_rad);
37- synchrotron_gamma_qed = toml::find_or (toml_data,
37+ synchrotron_gamma_qed = toml::find_or (toml_data,
3838 " radiation" ,
3939 " emission" ,
4040 " synchrotron" ,
4141 " gamma_qed" ,
4242 defaults::synchrotron::gamma_qed);
43- synchrotron_energy_min = toml::find_or (toml_data,
43+ synchrotron_energy_min = toml::find_or (toml_data,
4444 " radiation" ,
4545 " emission" ,
4646 " synchrotron" ,
4747 " photon_energy_min" ,
4848 defaults::synchrotron::energy_min);
49- synchrotron_photon_weight = toml::find_or (toml_data,
49+ synchrotron_photon_weight = toml::find_or (toml_data,
5050 " radiation" ,
5151 " emission" ,
5252 " synchrotron" ,
5353 " photon_weight" ,
5454 ONE);
55- synchrotron_photon_sampling_rate = toml::find_or (toml_data,
56- " radiation" ,
57- " emission" ,
58- " synchrotron" ,
59- " photon_sampling" ,
60- ONE);
61- synchrotron_photon_species = toml::find<spidx_t >(toml_data,
55+ synchrotron_photon_species = toml::find<spidx_t >(toml_data,
6256 " radiation" ,
6357 " emission" ,
6458 " synchrotron" ,
6559 " photon_species" );
6660 }
6761
6862 if (extra.at (" compton_emission" )) {
69- compton_gamma_rad = toml::find_or (toml_data,
63+ compton_gamma_rad = toml::find_or (toml_data,
7064 " radiation" ,
7165 " drag" ,
7266 " compton" ,
7367 " gamma_rad" ,
7468 defaults::compton::gamma_rad);
75- compton_gamma_qed = toml::find_or (toml_data,
69+ compton_gamma_qed = toml::find_or (toml_data,
7670 " radiation" ,
7771 " emission" ,
7872 " compton" ,
7973 " gamma_qed" ,
8074 defaults::compton::gamma_qed);
81- compton_energy_min = toml::find_or (toml_data,
75+ compton_energy_min = toml::find_or (toml_data,
8276 " radiation" ,
8377 " emission" ,
8478 " compton" ,
8579 " photon_energy_min" ,
8680 defaults::compton::energy_min);
87- compton_photon_weight = toml::find_or (toml_data,
81+ compton_photon_weight = toml::find_or (toml_data,
8882 " radiation" ,
8983 " emission" ,
9084 " compton" ,
9185 " photon_weight" ,
9286 ONE);
93- compton_photon_sampling_rate = toml::find_or (toml_data,
94- " radiation" ,
95- " emission" ,
96- " compton" ,
97- " photon_sampling" ,
98- ONE);
99- compton_photon_species = toml::find<spidx_t >(toml_data,
87+ compton_photon_species = toml::find<spidx_t >(toml_data,
10088 " radiation" ,
10189 " emission" ,
10290 " compton" ,
@@ -122,8 +110,6 @@ namespace ntt {
122110 synchrotron_energy_min);
123111 params->set (" radiation.emission.synchrotron.photon_weight" ,
124112 synchrotron_photon_weight);
125- params->set (" radiation.emission.synchrotron.photon_sampling" ,
126- synchrotron_photon_sampling_rate);
127113 params->set (" radiation.emission.synchrotron.photon_species" ,
128114 synchrotron_photon_species);
129115 }
@@ -135,8 +121,6 @@ namespace ntt {
135121 compton_energy_min);
136122 params->set (" radiation.emission.compton.photon_weight" ,
137123 compton_photon_weight);
138- params->set (" radiation.emission.compton.photon_sampling" ,
139- compton_photon_sampling_rate);
140124 params->set (" radiation.emission.compton.photon_species" ,
141125 compton_photon_species);
142126 }
0 commit comments