Mercurial > repos > public > sbplib
changeset 944:a35ed1d124d3 feature/utux2D
Change from opts to type in a few schemes
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Wed, 05 Dec 2018 10:52:37 +0100 |
parents | 21394c78c72e |
children | af397cc35239 |
files | +scheme/Beam.m +scheme/Beam2d.m +scheme/Euler1d.m |
diffstat | 3 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/+scheme/Beam.m Tue Dec 04 15:24:36 2018 -0800 +++ b/+scheme/Beam.m Wed Dec 05 10:52:37 2018 +0100 @@ -19,7 +19,7 @@ alphaII alphaIII - opt + opt % TODO: Get rid of this and use the interface type instead end methods @@ -170,7 +170,7 @@ end end - function [closure, penalty] = interface(obj,boundary,neighbour_scheme,neighbour_boundary,opts) + function [closure, penalty] = interface(obj,boundary,neighbour_scheme,neighbour_boundary, type) % u denotes the solution in the own domain % v denotes the solution in the neighbour domain [e_u,d1_u,d2_u,d3_u,s_u] = obj.get_boundary_ops(boundary);
--- a/+scheme/Beam2d.m Tue Dec 04 15:24:36 2018 -0800 +++ b/+scheme/Beam2d.m Wed Dec 05 10:52:37 2018 +0100 @@ -161,7 +161,7 @@ end end - function [closure, penalty] = interface(obj,boundary,neighbour_scheme,neighbour_boundary,opts) + function [closure, penalty] = interface(obj,boundary,neighbour_scheme,neighbour_boundary, type) % u denotes the solution in the own domain % v denotes the solution in the neighbour domain [e_u,d1_u,d2_u,d3_u,s_u,gamm_u,delt_u, halfnorm_inv] = obj.get_boundary_ops(boundary);
--- a/+scheme/Euler1d.m Tue Dec 04 15:24:36 2018 -0800 +++ b/+scheme/Euler1d.m Wed Dec 05 10:52:37 2018 +0100 @@ -446,7 +446,7 @@ closure = @closure_fun; end - function [closure, penalty] = interface(obj,boundary,neighbour_scheme,neighbour_boundary,opts) + function [closure, penalty] = interface(obj, boundary, neighbour_scheme, neighbour_boundary, type) error('NOT DONE') % u denotes the solution in the own domain % v denotes the solution in the neighbour domain