Slight changes in Driftapproximation:

1) Spectrometer will reflect electrons.
2) Taking into account radial movement leading to smaller delta z.
This commit is contained in:
Christian
2019-03-11 16:00:49 +01:00
parent 57fc377d7c
commit 0c722147f5
9 changed files with 86 additions and 91 deletions
+3 -8
View File
@@ -14,20 +14,15 @@ using namespace std;
int main(int argc, const char * argv[]) {
//runTests();
clock_t start;
double duration;
start = clock();
clock_t start = clock();
try {
Simulation Sim;
Sim.doit();
} catch (MyException& caught) {
cout<<caught.what()<<endl;
exit(1);
}
duration = ( clock() - start ) / (double) CLOCKS_PER_SEC;
cout<<"Duration: "<< duration <<'\n';
cout<<"Duration: "<< ( clock() - start ) / (double) CLOCKS_PER_SEC <<'\n';
}