Mercurial > repos > public > sbplib
comparison +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 |
comparison
equal
deleted
inserted
replaced
904:14b093a344eb | 905:459eeb99130f |
---|---|
24 % interfaced to. | 24 % interfaced to. |
25 % neighbour_boundary is a string specifying which boundary to | 25 % neighbour_boundary is a string specifying which boundary to |
26 % interface to. | 26 % interface to. |
27 % penalty may be a cell array if there are several penalties with different weights | 27 % penalty may be a cell array if there are several penalties with different weights |
28 [closure, penalty] = boundary_condition(obj,boundary,type) % TODO: Change name to boundaryCondition | 28 [closure, penalty] = boundary_condition(obj,boundary,type) % TODO: Change name to boundaryCondition |
29 [closure, penalty] = interface(obj,boundary,neighbour_scheme,neighbour_boundary) | 29 |
30 % type Specifies the type of interface coupling. | |
31 % The format of type is different for every scheme. | |
32 % Some schemes may only have one type implemented, in which case | |
33 % the input argument is a dummy. | |
34 [closure, penalty] = interface(obj,boundary,neighbour_scheme,neighbour_boundary,type) | |
30 | 35 |
31 % TODO: op = getBoundaryOperator()?? | 36 % TODO: op = getBoundaryOperator()?? |
32 % makes sense to have it available through a method instead of random properties | 37 % makes sense to have it available through a method instead of random properties |
33 | 38 |
34 % Returns the number of degrees of freedom. | 39 % Returns the number of degrees of freedom. |