view +scheme/error1d.m @ 972:104f0af001e0 feature/poroelastic

Clean up Elastic2dVariable.interfaceStandard
author Martin Almquist <malmquist@stanford.edu>
date Tue, 25 Dec 2018 08:33:35 +0100
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