Mercurial > repos > public > sbplib
comparison +scheme/Scheme.m @ 1001:514a98f9f90d feature/getBoundaryOp
Add getBoundaryOperator and getBoundaryQuadrature as abstract methods in scheme.Scheme
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Wed, 16 Jan 2019 16:35:01 +0100 |
parents | af397cc35239 |
children | 5afc774fb7c4 |
comparison
equal
deleted
inserted
replaced
1000:bd54cb25d96b | 1001:514a98f9f90d |
---|---|
29 | 29 |
30 % type -- sets the type of interface, could be a string or a struct or something else | 30 % type -- sets the type of interface, could be a string or a struct or something else |
31 % depending on the particular scheme implementation | 31 % depending on the particular scheme implementation |
32 [closure, penalty] = interface(obj,boundary,neighbour_scheme,neighbour_boundary,type) | 32 [closure, penalty] = interface(obj,boundary,neighbour_scheme,neighbour_boundary,type) |
33 | 33 |
34 % TODO: op = getBoundaryOperator()?? | 34 op = getBoundaryOperator(obj, opName, boundary) |
35 % makes sense to have it available through a method instead of random properties | 35 H_b= getBoundaryQuadrature(obj, boundary) |
36 | 36 |
37 % Returns the number of degrees of freedom. | 37 % Returns the number of degrees of freedom. |
38 N = size(obj) | 38 N = size(obj) |
39 end | 39 end |
40 | 40 |