Reactivated recombination for ions
This commit is contained in:
@@ -182,7 +182,7 @@ Interaction_Channel_Base* Interaction_Builder::build_tritium2I(Population_Manage
|
|||||||
Population_Base *ePopulation = Populations->find(electron);
|
Population_Base *ePopulation = Populations->find(electron);
|
||||||
|
|
||||||
if (load_parameter("e_REC") == 1) {
|
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) {
|
} else if (load_parameter("e_REC") != 0) {
|
||||||
throw MyException ("e_REC invalid.");
|
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));
|
T3I_Interaction->add(new T3IT2_TerAsc(T2Population, rngUni));
|
||||||
|
|
||||||
if (load_parameter("e_REC") == 1) {
|
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) {
|
} else if (load_parameter("e_REC") != 0) {
|
||||||
throw MyException ("e_REC invalid.");
|
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));
|
T5I_Interaction->add(new T5IT2_Elastic(T2Population, rngUni));
|
||||||
|
|
||||||
if (load_parameter("e_REC") == 1) {
|
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) {
|
} else if (load_parameter("e_REC") != 0) {
|
||||||
throw MyException ("e_REC invalid.");
|
throw MyException ("e_REC invalid.");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user