Mercurial > repos > public > sbplib
view timeTask.m @ 1258:74eec7e69b63 feature/FMMlabb
Speed up computations using RungeKuttaSecondOrder when only the source term is time dependent.
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Fri, 13 Mar 2020 12:07:00 +0100 |
parents | 1afd33f719df |
children |
line wrap: on
line source
function done = timeTask(fmt, varargin) fprintf(fmt, varargin{:}); tStart = tic; function done_fun() fprintf(' - done %fs\n', toc(tStart)); end done = @done_fun; end