Minior Changes on new structure, exported elastic cross section to seperate file.

Please enter the commit message for your changes. Lines starting
This commit is contained in:
Christian
2019-05-02 13:29:21 +02:00
parent e07c03c888
commit 649c278084
33 changed files with 631 additions and 595 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ Particle Injector::injectElectron (const int &newId) {
throw MyException("Katrin::injectElectron: Invalid Injection Method.");
break;
}
vec3 speed_ms = roll_uniform_direction(rngUni) * get_Speed_from_Ekin_eV(Ekin_eV,me_eV);
vec3 speed_ms = roll_uniform_direction(rngUni) * calc_Speed_from_Ekin_eV(Ekin_eV,me_eV);
return ( PartFac.createElectron(loc_m, speed_ms,newId,newId) );
}