Mercurial > repos > public > sbplib
comparison +scheme/Utux2d.m @ 1036:8a9393084b30 feature/burgers1d
Change argument order to the "correct" order, i.e providing diffOp specific parameters before the opSet.
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Fri, 18 Jan 2019 08:58:26 +0100 |
parents | ac80bedc8df7 |
children | 433c89bf19e0 |
comparison
equal
deleted
inserted
replaced
1035:2b9bdb22baec | 1036:8a9393084b30 |
---|---|
21 D % Total discrete operator | 21 D % Total discrete operator |
22 end | 22 end |
23 | 23 |
24 | 24 |
25 methods | 25 methods |
26 function obj = Utux2d(g ,order, opSet, a, fluxSplitting) | 26 function obj = Utux2d(g ,order, a, fluxSplitting, opSet) |
27 | 27 |
28 default_arg('a',1/sqrt(2)*[1, 1]); | 28 default_arg('a',1/sqrt(2)*[1, 1]); |
29 default_arg('opSet',@sbp.D2Standard); | 29 default_arg('opSet',@sbp.D2Standard); |
30 default_arg('fluxSplitting',[]); | 30 default_arg('fluxSplitting',[]); |
31 | 31 |