comparison +scheme/Scheme.m @ 704:111fcbcff2e9 feature/optim

merg with featuew grids
author Ylva Rydin <ylva.rydin@telia.com>
date Fri, 03 Nov 2017 10:53:15 +0100
parents 12ee11893453
children 459eeb99130f
comparison
equal deleted inserted replaced
703:027f606fa691 704:111fcbcff2e9
23 % neighbour_scheme is an instance of Scheme that should be 23 % neighbour_scheme is an instance of Scheme that should be
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) 28 [closure, penalty] = boundary_condition(obj,boundary,type) % TODO: Change name to boundaryCondition
29 [closure, penalty] = interface(obj,boundary,neighbour_scheme,neighbour_boundary) 29 [closure, penalty] = interface(obj,boundary,neighbour_scheme,neighbour_boundary)
30
31 % TODO: op = getBoundaryOperator()??
32 % makes sense to have it available through a method instead of random properties
30 33
31 % Returns the number of degrees of freedom. 34 % Returns the number of degrees of freedom.
32 N = size(obj) 35 N = size(obj)
33 end 36 end
34 37