Fixed Bug: Ionization near threashold and sampling near maximum secondary energy could lead to negative energy. Since energy was small, setting it to 0.
This commit is contained in:
@@ -13,11 +13,8 @@ using namespace std;
|
||||
|
||||
|
||||
int main(int argc, const char * argv[]) {
|
||||
|
||||
clock_t start = clock();
|
||||
Simulation Sim;
|
||||
Sim.doit();
|
||||
cout<<"Duration: "<< ( clock() - start ) / (double) CLOCKS_PER_SEC <<"\n";
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user