view +scheme/errorRelative.m @ 738:aa4ef495f1fd feature/poroelastic

Set Dirichlet tuning as parameter in BC function in Elastic2dVariable.
author Martin Almquist <malmquist@stanford.edu>
date Tue, 01 May 2018 14:19:08 -0700
parents ed6a704b028d
children
line wrap: on
line source

function e = errorRelative(~,v1,v2)
    e = sqrt(sum((v1-v2).^2)/sum(v2.^2));
end