Mercurial > repos > public > sbplib
view +scheme/error1d.m @ 678:06676c40e77f feature/poroelastic
Add scheme for complete elastic operator. Traction BC working with MMS variable coefficient.
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Mon, 05 Feb 2018 11:06:15 -0800 |
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