thomaspeugeot / tkv

10 000
MIT License
0 stars 0 forks source link

Automatic shutdown of the simulation #24

Closed thomaspeugeot closed 5 years ago

thomaspeugeot commented 5 years ago

Situation:

Expected enhancment:

thomaspeugeot commented 5 years ago

For france, it is OK around step 3600 INFO: 2018/11/07 19:28:47 barnes-hut.go:491: step 3706 nbComp 437365727 dur/comp 0.021048 speedup 1995.149626 Dur 9.205856e+00 E 3.636770e+16 MinD 6.750657e-04 MaxMinD 7.149808e-04 MaxV 3.208759e+03 Dt Opt 8.896711e-08 Dt 8.896711e-08 F/A 0.000000e+00 stirring 0.731889 nils 0.000000 INFO: 2018/11/07 19:28:57 barnes-hut.go:491: step 3707 nbComp 437358396 dur/comp 0.021028 speedup 1995.183068 Dur 9.196862e+00 E 3.636753e+16 MinD 6.799395e-04 MaxMinD 7.149808e-04 MaxV 3.012118e+03 Dt Opt 9.321107e-08 Dt 9.321107e-08 F/A 0.000000e+00 stirring 0.731888 nils 0.000000

so it is approx a 10-5 decrease

thomaspeugeot commented 5 years ago

added a -shutdownCriteria with 0.0001 default value