Utility
This module provides some utility subroutines.
NumericalEFT.Utility — ModuleUtility data structures and functions
NumericalEFT.Utility.StopWatch — TypeStopWatch(start, interval, callback)Initialize a stopwatch.
Arguments
start::Float64: initial time (in seconds)interval::Float64: interval to click (in seconds)callback: callback function after each click (interval seconds)
NumericalEFT.Utility.check — Methodcheck(stopwatch, parameter...)Check stopwatch. If it clicks, call the callback function with the unpacked parameter
NumericalEFT.Utility.progressBar — MethodprogressBar(step, total)Return string of progressBar (step/total*100%)