view prof.m @ 644:dc2918fb104d feature/d1_staggered

Switch to staggered-upwind staggered operators in Staggered1DAcoustics scheme.
author Martin Almquist <malmquist@stanford.edu>
date Mon, 13 Nov 2017 11:49:49 -0800
parents cb65c81d6c87
children
line wrap: on
line source

function prof(f)
    profile on
    try
        f();
        profile viewer
    catch e
        fprintf(2, '\n%s', getReport(e));
        profile clear
    end
end