comparison +scheme/Scheme.m @ 1018:eca4d9df9365 feature/advectionRV

Merge with default for latest changes
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Tue, 11 Dec 2018 17:31:28 +0100
parents af397cc35239
children 514a98f9f90d c12b84fe9b00
comparison
equal deleted inserted replaced
1017:2d7c1333bd6c 1018:eca4d9df9365
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 -- sets the type of interface, could be a string or a struct or something else
31 % depending on the particular scheme implementation
32 [closure, penalty] = interface(obj,boundary,neighbour_scheme,neighbour_boundary,type)
30 33
31 % TODO: op = getBoundaryOperator()?? 34 % TODO: op = getBoundaryOperator()??
32 % makes sense to have it available through a method instead of random properties 35 % makes sense to have it available through a method instead of random properties
33 36
34 % Returns the number of degrees of freedom. 37 % Returns the number of degrees of freedom.