comparison +scheme/Scheme.m @ 955:92c3c170e90b

Merged in feature/utux2D (pull request #11) Feature/utux2D Approved-by: Jonatan Werpers <jonatan.werpers@it.uu.se> Approved-by: Martin Almquist <malmquist@stanford.edu> Approved-by: Vidar Stiernström <vidar.stiernstrom@it.uu.se>
author Jonatan Werpers <jonatan.werpers@it.uu.se>
date Mon, 10 Dec 2018 08:29:41 +0000
parents af397cc35239
children 514a98f9f90d c12b84fe9b00
comparison
equal deleted inserted replaced
951:a6c5e73ff44e 955:92c3c170e90b
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.