Mercurial > repos > public > sbplib
diff +rv/ResidualViscosity.m @ 1161:856bd6291d17 feature/rv
Use same order for both time derivative and flux term when computing the residual
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Tue, 25 Jun 2019 17:00:27 +0200 |
parents | 1ad7da049b50 |
children | fc2631ba4da5 |
line wrap: on
line diff
--- a/+rv/ResidualViscosity.m Tue Jun 25 16:52:54 2019 +0200 +++ b/+rv/ResidualViscosity.m Tue Jun 25 17:00:27 2019 +0200 @@ -18,7 +18,7 @@ % wrapping it in a function. function obj = ResidualViscosity(grid, Df, waveSpeed, Cmax, Cres, h, normalization, postProcess) default_arg('normalization',@(v)abs(obj.minmaxDiffNeighborhood1d(v)-norm(v-mean(v),inf))); - default_arg('postProcess','none'); + default_arg('postProcess','maximum neighbors'); obj.Df = Df; obj.waveSpeed = waveSpeed; obj.h = h;