Mercurial > repos > public > sbplib
view convergence.m @ 1145:1f0f2276e678 feature/advectionRV
closing branch. Changes merged to feature/rv
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Mon, 05 Aug 2019 10:51:33 +0200 |
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