view +scheme/error1d.m @ 1272:15865fbda16e feature/poroelastic

Set default stiffness tensors to 0 in CurvilinearAnisotropic schemes
author Martin Almquist <malmquist@stanford.edu>
date Sun, 31 May 2020 21:59:09 -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