view timeTask.m @ 1115:0e5dc5dfa559 feature/laplace_curvilinear_test

Temporary ugly fix for reversing direction of boundary in interface coupling
author Martin Almquist <malmquist@stanford.edu>
date Mon, 29 Apr 2019 12:55:51 -0700
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