spirit-code / spirit

Atomistic Spin Simulation Framework
http://spirit-code.github.io
MIT License
117 stars 52 forks source link

Core: print percentages of heavy pre-calculation steps? #518

Open GPMueller opened 5 years ago

GPMueller commented 5 years ago

The only example I can think of is the calculation of matrices for the dipolar interactions, which can take some time. For the sake of a clean log, it might be best to print in steps of 10%.

Note: it only makes sense to do this for large systems (or many periodical images in the case of DDI). Since the number of spins etc. are known, reasonable defaults can be set. If the calculation can be expected to be performed within less than 10s, output is probably not needed.