Mercurial > repos > public > sbplib
view +scheme/error1d.m @ 966:4a85cff53107 feature/poroelastic
Fix bug in Elastic2dVariable that caused crash for m_x neq m_y
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Sat, 22 Dec 2018 18:08:51 +0100 |
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