view +scheme/errorRelative.m @ 355:69b078cf8072 feature/hypsyst

Upwind doed not work in the non curve-linear case.
author Ylva Rydin <ylva.rydin@telia.com>
date Thu, 08 Dec 2016 10:42:11 +0100
parents ed6a704b028d
children
line wrap: on
line source

function e = errorRelative(~,v1,v2)
    e = sqrt(sum((v1-v2).^2)/sum(v2.^2));
end