Mercurial > repos > public > sbplib
comparison +multiblock/Laplace.m @ 764:e05465aa2e25 feature/grids
Add methods for getting boundary quadratures from multiblock.DiffOP
| author | Jonatan Werpers <jonatan@werpers.com> |
|---|---|
| date | Wed, 20 Jun 2018 13:00:01 +0200 |
| parents | 43e64f5b388e |
| children | 23ad69a347dd |
comparison
equal
deleted
inserted
replaced
| 763:f2f5efc3644f | 764:e05465aa2e25 |
|---|---|
| 40 | 40 |
| 41 function op = getBoundaryOperator(obj, opName, boundary) | 41 function op = getBoundaryOperator(obj, opName, boundary) |
| 42 op = getBoundaryOperator(obj.mbDiffOp, opName, boundary); | 42 op = getBoundaryOperator(obj.mbDiffOp, opName, boundary); |
| 43 end | 43 end |
| 44 | 44 |
| 45 function op = getBoundaryQuadrature(obj, boundary) | |
| 46 op = getBoundaryQuadrature(obj.mbDiffOp, boundary); | |
| 47 end | |
| 48 | |
| 45 function [closure, penalty] = boundary_condition(obj,boundary,type) % TODO: Change name to boundaryCondition | 49 function [closure, penalty] = boundary_condition(obj,boundary,type) % TODO: Change name to boundaryCondition |
| 46 [closure, penalty] = boundary_condition(obj.mbDiffOp, boundary, type); | 50 [closure, penalty] = boundary_condition(obj.mbDiffOp, boundary, type); |
| 47 end | 51 end |
| 48 function [closure, penalty] = interface(obj,boundary,neighbour_scheme,neighbour_boundary) | 52 function [closure, penalty] = interface(obj,boundary,neighbour_scheme,neighbour_boundary) |
| 49 error('Not implemented') | 53 error('Not implemented') |
