view labelTask.m @ 1066:d64062bed5fb feature/laplace_curvilinear_test

Clean up getBoundarOperator/Quadrature as was done on feature/getBoundaryOp. Temporarily re-add lambda so that old interface method works.
author Martin Almquist <malmquist@stanford.edu>
date Tue, 22 Jan 2019 12:53:13 -0800
parents 1f5f988e9682
children
line wrap: on
line source

function o = labelTask(in)

    switch class(in)
        case 'char'
            fprintf(in);
            o = tic();
        case 'uint64'
            o = toc(in);
            fprintf(' - done %fs\n', o);
        otherwise
            error('Unknow input type: %s', class(in))
    end