Mercurial > repos > public > sbplib
view +scheme/errorRelative.m @ 741:5a9acf282b34 feature/poroelastic
Add scheme Heat2Dcurvilinear. Neumann and Dirichlet seem to work. Only tested for stretched Cartesian grids though.
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Wed, 09 May 2018 19:29:12 -0700 |
parents | ed6a704b028d |
children |
line wrap: on
line source
function e = errorRelative(~,v1,v2) e = sqrt(sum((v1-v2).^2)/sum(v2.^2)); end