view benchmark.m @ 1264:066fdfaa2411 feature/poroelastic

Add staggered Lebedev scheme for Cartesian anisotropic. Traction BC work!
author Martin Almquist <malmquist@stanford.edu>
date Wed, 29 Apr 2020 21:05:01 -0700
parents f9a65e62c5e5
children
line wrap: on
line source

function benchmark(func, N)
    default_arg('N',100);

    tic
    profile on

    for i = 1:N
        func();
    end

    profile viewer
end