view convergence.m @ 1212:5c5815af4b7a feature/poroelastic

Add new implementation of Laplace curvilinear
author Martin Almquist <malmquist@stanford.edu>
date Mon, 14 Oct 2019 13:49:50 -0700
parents ad1a41d135a1
children
line wrap: on
line source

function q = convergence(e,h)
    for i = 1:length(e)-1
        q(i) = log(e(i)/e(i+1))/log(h(i+1)/h(i));
    end
end