view +scheme/error1d.m @ 260:b4116ce49ac4 operator_remake

Removed incomplete periodic class.
author Martin Almquist <martin.almquist@it.uu.se>
date Thu, 08 Sep 2016 14:36:06 +0200
parents ed6a704b028d
children
line wrap: on
line source

function e = error1d(discr, v1, v2)
    h = discr.h;
    e = sqrt(h*sum((v1-v2).^2));
end