Mercurial > repos > public > sbplib
comparison +scheme/Scheme.m @ 175:8f22829b69d0 feature/beams
Added and upgraded schemes for the beam equation in 1d and 2d.
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Fri, 26 Feb 2016 16:21:47 +0100 |
parents | ed6a704b028d |
children | 001239c03eb2 |
comparison
equal
deleted
inserted
replaced
174:513019e3d855 | 175:8f22829b69d0 |
---|---|
19 methods (Abstract) | 19 methods (Abstract) |
20 % Closure functions return the opertors applied to the own doamin to close the boundary | 20 % Closure functions return the opertors applied to the own doamin to close the boundary |
21 % Penalty functions return the opertors to force the solution. In the case of an interface it returns the operator applied to the other doamin. | 21 % Penalty functions return the opertors to force the solution. In the case of an interface it returns the operator applied to the other doamin. |
22 % boundary is a string specifying the boundary e.g. 'l','r' or 'e','w','n','s'. | 22 % boundary is a string specifying the boundary e.g. 'l','r' or 'e','w','n','s'. |
23 % type is a string specifying the type of boundary condition if there are several. | 23 % type is a string specifying the type of boundary condition if there are several. |
24 % data is a function returning the data that should be applied at the boundary. | |
25 % neighbour_scheme is an instance of Scheme that should be interfaced to. | 24 % neighbour_scheme is an instance of Scheme that should be interfaced to. |
26 % neighbour_boundary is a string specifying which boundary to interface to. | 25 % neighbour_boundary is a string specifying which boundary to interface to. |
27 m = boundary_condition(obj,boundary,type,data) | 26 [closure, penalty] = boundary_condition(obj,boundary,type) |
28 m = interface(obj,boundary,neighbour_scheme,neighbour_boundary) | 27 [closure, penalty] = interface(obj,boundary,neighbour_scheme,neighbour_boundary) |
29 N = size(obj) % Returns the number of degrees of freedom. | 28 N = size(obj) % Returns the number of degrees of freedom. |
30 | 29 |
31 end | 30 end |
32 | 31 |
33 methods(Static) | 32 methods(Static) |