Mercurial > repos > public > sbplib
diff +scheme/Scheme.m @ 1033:037f203b9bf5 feature/burgers1d
Merge with branch feature/advectioRV to utilize the +rv package
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Thu, 17 Jan 2019 10:44:12 +0100 |
parents | af397cc35239 |
children | 514a98f9f90d c12b84fe9b00 |
line wrap: on
line diff
--- a/+scheme/Scheme.m Fri Oct 12 08:50:25 2018 +0200 +++ b/+scheme/Scheme.m Thu Jan 17 10:44:12 2019 +0100 @@ -26,7 +26,10 @@ % 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 -- 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