Mercurial > repos > public > sbplib
comparison +scheme/Schrodinger2d.m @ 910:b9c98661ff5d feature/utux2D
Change the name of the last interface method argument from type to opts in all schemes.
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Fri, 23 Nov 2018 20:39:40 -0800 |
parents | 459eeb99130f |
children | 1cdf5ead2a16 |
comparison
equal
deleted
inserted
replaced
909:ab1759166a8c | 910:b9c98661ff5d |
---|---|
200 otherwise | 200 otherwise |
201 error('No such boundary condition: type = %s',type); | 201 error('No such boundary condition: type = %s',type); |
202 end | 202 end |
203 end | 203 end |
204 | 204 |
205 function [closure, penalty] = interface(obj,boundary,neighbour_scheme,neighbour_boundary,type) | 205 function [closure, penalty] = interface(obj,boundary,neighbour_scheme,neighbour_boundary,opts) |
206 % u denotes the solution in the own domain | 206 % u denotes the solution in the own domain |
207 % v denotes the solution in the neighbour domain | 207 % v denotes the solution in the neighbour domain |
208 % Get neighbour boundary operator | 208 % Get neighbour boundary operator |
209 | 209 |
210 [coord_nei, n_nei] = get_boundary_number(obj, neighbour_boundary); | 210 [coord_nei, n_nei] = get_boundary_number(obj, neighbour_boundary); |