One sided implementation
This commit is contained in:
@@ -94,7 +94,7 @@ Interaction_Channel_Base* Interaction_Builder::build_electron(Population_Manager
|
|||||||
|
|
||||||
|
|
||||||
if (load_parameter("eT2_ROT") == 2) {
|
if (load_parameter("eT2_ROT") == 2) {
|
||||||
eInteraction->add(new Exp_Excitation_Precomputed_Base(T2Population, rngUni, me_eV, 4.41e-4, exc_dcs, "rot_exc_j02.dat"));
|
eInteraction->add(new Exp_Excitation_Precomputed_Base(T2Population, rngUni, me_eV, 4.41e-2, exc_dcs, "rot_exc_j02.dat"));
|
||||||
} else if (load_parameter("eT2_ROT") != 0) {
|
} else if (load_parameter("eT2_ROT") != 0) {
|
||||||
throw MyException ("eT2_ROT invalid.");
|
throw MyException ("eT2_ROT invalid.");
|
||||||
}
|
}
|
||||||
@@ -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