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
@@ -37,7 +37,7 @@ void Logger::log_Electron(Electron *logElectron, blitz::TinyVector<double,3> old
outStream[0]<<*logElectron<<endl;
} else {
double zold = oldLoc_m[2];
double znew = logElectron->getLoc_m()[2];
double znew = logElectron->get_Location_m()[2];
double zmin = min(zold,znew);
double zmax = max(zold,znew);