view +scheme/errorRelative.m @ 1271:b5025bd67be1 feature/poroelastic

Allow using D1 D1 in VariableAnisotropicUpwind
author Martin Almquist <malmquist@stanford.edu>
date Sun, 31 May 2020 21:58:40 -0700
parents ed6a704b028d
children
line wrap: on
line source

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