Mercurial > repos > public > sbplib
view +scheme/errorRelative.m @ 663:b45ec2b28cc2 feature/poroelastic
First implementation of elastic shear operator with free boundary BC.
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Thu, 14 Dec 2017 13:54:20 -0800 |
parents | ed6a704b028d |
children |
line wrap: on
line source
function e = errorRelative(~,v1,v2) e = sqrt(sum((v1-v2).^2)/sum(v2.^2)); end