Mercurial > repos > public > sbplib
diff +scheme/Scheme.m @ 905:459eeb99130f feature/utux2D
Include type as (optional) input parameter in the interface method of all schemes.
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Thu, 22 Nov 2018 22:03:44 -0800 |
parents | 12ee11893453 |
children | b9c98661ff5d |
line wrap: on
line diff
--- a/+scheme/Scheme.m Thu Nov 22 22:03:06 2018 -0800 +++ b/+scheme/Scheme.m Thu Nov 22 22:03:44 2018 -0800 @@ -26,7 +26,12 @@ % interface to. % penalty may be a cell array if there are several penalties with different weights [closure, penalty] = boundary_condition(obj,boundary,type) % TODO: Change name to boundaryCondition - [closure, penalty] = interface(obj,boundary,neighbour_scheme,neighbour_boundary) + + % type Specifies the type of interface coupling. + % The format of type is different for every scheme. + % Some schemes may only have one type implemented, in which case + % the input argument is a dummy. + [closure, penalty] = interface(obj,boundary,neighbour_scheme,neighbour_boundary,type) % TODO: op = getBoundaryOperator()?? % makes sense to have it available through a method instead of random properties