no integration

no integration
This commit is contained in:
Christian
2019-12-01 16:21:31 +01:00
parent 9eef8c3140
commit 608b870b65
6 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ inline double TI_e_Interaction_Base::calc_macro_sigma_m(const double &E_eV, cons
}
inline double TI_e_Interaction_Base::calc_microSigma_m2(const double &E2_eV, const int &Ee_bin) {
//return get_microSigma_m2(Ee_mids[Ee_bin]); No Integration... ONly e- energy
return get_microSigma_m2(Ee_mids[Ee_bin]); // No Integration... Only e- energy
double v1_ms = ve_mids[Ee_bin];
double v2_ms = calc_v_ms_from_E_eV(E2_eV, m2_eV);
+1 -1
View File
@@ -30,7 +30,7 @@ inline InteractionOut eT2I_Recombination::do_Interaction (Particle *interPart) {
InteractionOut res;
res.set_delete_current(true);
//std::cout<<"eT2I:\t"<<*interPart<<"\n";
Population->decrease_denisty(interPart->get_x_m(), 0);
//Population->decrease_denisty(interPart->get_x_m(), 0);
return res;
}
+1 -1
View File
@@ -28,7 +28,7 @@ inline InteractionOut eT3I_Recombination::do_Interaction (Particle *interPart) {
InteractionOut res;
res.set_delete_current(true);
//std::cout<<"eT3I:\t"<<*interPart<<"\n";
Population->decrease_denisty(interPart->get_x_m(), 0);
//Population->decrease_denisty(interPart->get_x_m(), 0);
return res;
}
+1 -1
View File
@@ -30,7 +30,7 @@ inline InteractionOut eT5I_Recombination::do_Interaction (Particle *interPart) {
InteractionOut res;
//std::cout<<"eT5I:\t"<<*interPart<<"\n";
res.set_delete_current(true);
Population->decrease_denisty(interPart->get_x_m(), 0);
//Population->decrease_denisty(interPart->get_x_m(), 0);
return res;
}
+1 -1
View File
@@ -50,7 +50,7 @@ inline double e_thermal_Interaction_Base::calc_macro_sigma_m(const double &E_eV,
}
inline double e_thermal_Interaction_Base::calc_microSigma_m2(const double &E_eV) {
//return get_microSigma_m2(E_eV); No Integration... ONly e- energy
return get_microSigma_m2(E_eV); //No Integration... Only e- energy
if (E_eV > E_limit) {
return get_microSigma_m2(E_eV);
} else {
+3 -3
View File
@@ -182,7 +182,7 @@ Interaction_Channel_Base* Interaction_Builder::build_tritium2I(Population_Manage
Population_Base *ePopulation = Populations->find(electron);
if (load_parameter("e_REC") == 1) {
//T2I_Interaction->add(new T2Ie_Recombination(ePopulation, rngUni));
T2I_Interaction->add(new T2Ie_Recombination(ePopulation, rngUni));
} else if (load_parameter("e_REC") != 0) {
throw MyException ("e_REC invalid.");
}
@@ -201,7 +201,7 @@ Interaction_Channel_Base* Interaction_Builder::build_tritium3I(Population_Manage
T3I_Interaction->add(new T3IT2_TerAsc(T2Population, rngUni));
if (load_parameter("e_REC") == 1) {
//T3I_Interaction->add(new T3Ie_Recombination(ePopulation, rngUni));
T3I_Interaction->add(new T3Ie_Recombination(ePopulation, rngUni));
} else if (load_parameter("e_REC") != 0) {
throw MyException ("e_REC invalid.");
}
@@ -217,7 +217,7 @@ Interaction_Channel_Base* Interaction_Builder::build_tritium5I(Population_Manage
T5I_Interaction->add(new T5IT2_Elastic(T2Population, rngUni));
if (load_parameter("e_REC") == 1) {
//T5I_Interaction->add(new T5Ie_Recombination(ePopulation, rngUni));
T5I_Interaction->add(new T5Ie_Recombination(ePopulation, rngUni));
} else if (load_parameter("e_REC") != 0) {
throw MyException ("e_REC invalid.");
}