comparison +scheme/Scheme.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 af397cc35239
comparison
equal deleted inserted replaced
909:ab1759166a8c 910:b9c98661ff5d
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 29
30 % type Specifies the type of interface coupling. 30 % opts multiblock.InterfaceOptions object that specifies
31 % The format of type is different for every scheme. 31 % the details of the interface coupling.
32 % Some schemes may only have one type implemented, in which case 32 % The format of opts is different for every scheme.
33 % the input argument is a dummy. 33 % Some schemes may only have one interface treatment
34 [closure, penalty] = interface(obj,boundary,neighbour_scheme,neighbour_boundary,type) 34 % implemented, in which case opts is a dummy.
35 [closure, penalty] = interface(obj,boundary,neighbour_scheme,neighbour_boundary,opts)
35 36
36 % TODO: op = getBoundaryOperator()?? 37 % TODO: op = getBoundaryOperator()??
37 % makes sense to have it available through a method instead of random properties 38 % makes sense to have it available through a method instead of random properties
38 39
39 % Returns the number of degrees of freedom. 40 % Returns the number of degrees of freedom.