Mercurial > repos > public > sbplib
view +scheme/errorRelative.m @ 726:37d5d69b1a0d feature/poroelastic
Refactor BC code in Elastic2dVariable
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Thu, 19 Apr 2018 17:06:27 -0700 |
parents | ed6a704b028d |
children |
line wrap: on
line source
function e = errorRelative(~,v1,v2) e = sqrt(sum((v1-v2).^2)/sum(v2.^2)); end