view +scheme/error1d.m @ 1123:ff39d6692489 feature/poroelastic

Merge heads
author Martin Almquist <malmquist@stanford.edu>
date Sat, 11 May 2019 16:36:33 -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