Skip to content

ENG: new LoggingCalculator to record and plot number of calls to calculator

username-removed-131198 requested to merge jameskermode/ase:loggingcalc into master

This enhancement allows any calculator to be wrapped with a LoggingCalcualtor which then keeps track of the number of force and energy calls and the walltime. This is useful e.g. for benchmarking optimisation algorithms. Results can be plotted as in the attached image, generated with the test included with this MR.

logcalc

Merge request reports