Mercurial > repos > public > sbplib
view timeTask.m @ 1331:60c875c18de3 feature/D2_boundary_opt
Merge with feature/poroelastic for Elastic schemes
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Thu, 10 Mar 2022 16:54:26 +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