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:
@@ -15,7 +15,7 @@ using namespace std;
|
||||
|
||||
int main(int argc, const char * argv[]) {
|
||||
clock_t start = clock();
|
||||
|
||||
/*
|
||||
try {
|
||||
Simulation Sim;
|
||||
Sim.doit();
|
||||
@@ -23,6 +23,8 @@ int main(int argc, const char * argv[]) {
|
||||
cout<<caught.what()<<endl;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
*/
|
||||
Simulation Sim;
|
||||
Sim.doit();
|
||||
cout<<"Duration: "<< ( clock() - start ) / (double) CLOCKS_PER_SEC <<'\n';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user