Mercurial > repos > public > sbplib
comparison +scheme/Hypsyst3dCurve.m @ 1226:0652b34f9f27 feature/volcano
Add missing properties and methods to Hypsyst3D and Hypsyst3Dcurve. Note: These functions are NOT implemented properly and mearly work as place holders.
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Tue, 12 Nov 2019 09:00:48 -0800 |
parents | 706d1c2b4199 |
children |
comparison
equal
deleted
inserted
replaced
1116:33c378e508d2 | 1226:0652b34f9f27 |
---|---|
1 classdef Hypsyst3dCurve < scheme.Scheme | 1 classdef Hypsyst3dCurve < scheme.Scheme |
2 properties | 2 properties |
3 m % Number of points in each direction, possibly a vector | 3 m % Number of points in each direction, possibly a vector |
4 n %size of system | 4 n %size of system |
5 h % Grid spacing | 5 h % Grid spacing |
6 grid %TODO: Abstract class requires a grid. Pass grid instead? | |
6 X, Y, Z% Values of x and y for each grid point | 7 X, Y, Z% Values of x and y for each grid point |
7 Yx, Zx, Xy, Zy, Xz, Yz %Grid values for boundary surfaces | 8 Yx, Zx, Xy, Zy, Xz, Yz %Grid values for boundary surfaces |
8 | 9 |
9 xi,eta,zeta | 10 xi,eta,zeta |
10 Xi, Eta, Zeta | 11 Xi, Eta, Zeta |
263 error('No such boundary condition') | 264 error('No such boundary condition') |
264 end | 265 end |
265 end | 266 end |
266 | 267 |
267 function [closure, penalty] = interface(obj, boundary, neighbour_scheme, neighbour_boundary, type) | 268 function [closure, penalty] = interface(obj, boundary, neighbour_scheme, neighbour_boundary, type) |
269 error('Not implemented'); | |
270 end | |
271 | |
272 % TODO: Implement! This function should potentially replace boundary_matrices. | |
273 % Returns the boundary operator op for the boundary specified by the string boundary. | |
274 % op -- string or a cell array of strings | |
275 % boundary -- string | |
276 function varargout = getBoundaryOperator(obj, op, boundary) | |
277 error('Not implemented'); | |
278 end | |
279 | |
280 % TODO: Implement! | |
281 % Returns square boundary quadrature matrix, of dimension | |
282 % corresponding to the number of boundary points | |
283 % | |
284 % boundary -- string | |
285 function H = getBoundaryQuadrature(obj, boundary) | |
268 error('Not implemented'); | 286 error('Not implemented'); |
269 end | 287 end |
270 | 288 |
271 function N = size(obj) | 289 function N = size(obj) |
272 N = obj.m; | 290 N = obj.m; |