view +scheme/error1d.m @ 1268:af9e52e97154 feature/poroelastic

Add Elastic2dVariableAnisotropicMixedStencil
author Martin Almquist <malmquist@stanford.edu>
date Wed, 27 May 2020 16:44:19 -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