Multiple Changes:

Conceptional Change, where terminated Particles were set to Energy = 0. Now Particles are just moved within mover and termination detects, position and starts Interaction only if particle remains in tank.

Added function_container: Filled with anker points and get values corresponding to input by interpolation. 2D Interpolation needs improvement. CSV-Read in function needs error checks of input file.
Changes in katrin class: Boris Push and Drift Approximation improved.
Minor Renamings.
This commit is contained in:
Christian
2019-03-18 13:51:41 +01:00
parent 698eb8e7b2
commit e77176cc76
21 changed files with 503 additions and 186 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ using namespace std;
Parameter::Parameter() {
// Simulation Specs
seed = (int)getValue("seed");
seed = (int)getValue("seed");
numTotalElectrons = (long int)getValue("numTotalElectrons");
dt_s = getValue("dt_s");
injectionMethod = (int)getValue("injectionMethod");