comparison +scheme/Scheme.m @ 592:4422c4476650 feature/utux2D

Merge with feature/grids
author Martin Almquist <martin.almquist@it.uu.se>
date Mon, 11 Sep 2017 14:17:15 +0200
parents 12ee11893453
children 459eeb99130f
comparison
equal deleted inserted replaced
591:39554f2de783 592:4422c4476650
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