Mercurial > repos > public > sbplib
view +scheme/error1d.m @ 1168:af3c4eb0cbbd feature/rv
Add method for constructing diffops to multistage approach of computing the residual viscosity. Differentiate between constructDiffOpsMultiGrid and constructDiffOpsMultiStage
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Fri, 28 Jun 2019 13:12:29 +0200 |
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