view +scheme/error1d.m @ 1200:d9da4c1cdaa0 feature/poroelastic

Fix spelling mistake in comments.
author Martin Almquist <malmquist@stanford.edu>
date Thu, 22 Aug 2019 11:55:35 -0700
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