Mercurial > repos > public > sbplib
diff +scheme/Scheme.m @ 945:af397cc35239 feature/utux2D
Update abstract scheme class
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Wed, 05 Dec 2018 10:55:50 +0100 |
parents | b9c98661ff5d |
children | 514a98f9f90d c12b84fe9b00 |
line wrap: on
line diff
--- a/+scheme/Scheme.m Wed Dec 05 10:52:37 2018 +0100 +++ b/+scheme/Scheme.m Wed Dec 05 10:55:50 2018 +0100 @@ -27,12 +27,9 @@ % 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 - % opts multiblock.InterfaceOptions object that specifies - % the details of the interface coupling. - % The format of opts is different for every scheme. - % Some schemes may only have one interface treatment - % implemented, in which case opts is a dummy. - [closure, penalty] = interface(obj,boundary,neighbour_scheme,neighbour_boundary,opts) + % type -- sets the type of interface, could be a string or a struct or something else + % depending on the particular scheme implementation + [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