Mercurial > repos > public > sbplib
view +scheme/errorRelative.m @ 572:4a73b2aab91f feature/utux2D
Edit scheme.Utux: Add interface function. Compatible with new grids. Works with Utux_1D_interface.
author | Martin Almquist <martin.almquist@it.uu.se> |
---|---|
date | Thu, 31 Aug 2017 14:57:34 +0200 |
parents | ed6a704b028d |
children |
line wrap: on
line source
function e = errorRelative(~,v1,v2) e = sqrt(sum((v1-v2).^2)/sum(v2.^2)); end