Mercurial > repos > public > sbplib
changeset 503:feebfca90080 feature/quantumTriangles
Added the new abstract classes to hypsyst3D and Upwind1D to make them work with Jonatans changes
author | Ylva Rydin <ylva.rydin@telia.com> |
---|---|
date | Tue, 16 May 2017 09:18:10 +0200 |
parents | 2d5dea05456d |
children | 7fe1782d5224 |
files | +sbp/D1Upwind.m +scheme/Hypsyst3d.m +scheme/Hypsyst3dCurve.m |
diffstat | 3 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
diff -r 2d5dea05456d -r feebfca90080 +sbp/D1Upwind.m --- a/+sbp/D1Upwind.m Tue May 16 08:57:54 2017 +0200 +++ b/+sbp/D1Upwind.m Tue May 16 09:18:10 2017 +0200 @@ -53,6 +53,10 @@ obj.borrowing = []; end + + function str = string(obj) + str = [class(obj) '_' num2str(obj.order)]; + end end
diff -r 2d5dea05456d -r feebfca90080 +scheme/Hypsyst3d.m --- a/+scheme/Hypsyst3d.m Tue May 16 08:57:54 2017 +0200 +++ b/+scheme/Hypsyst3d.m Tue May 16 09:18:10 2017 +0200 @@ -7,6 +7,7 @@ X, Y, Z% Values of x and y for each grid point Yx, Zx, Xy, Zy, Xz, Yz %Grid values for boundary surfaces order % Order accuracy for the approximation + grid D % non-stabalized scheme operator A, B, C, E % Symbolic coefficient matrices
diff -r 2d5dea05456d -r feebfca90080 +scheme/Hypsyst3dCurve.m --- a/+scheme/Hypsyst3dCurve.m Tue May 16 08:57:54 2017 +0200 +++ b/+scheme/Hypsyst3dCurve.m Tue May 16 09:18:10 2017 +0200 @@ -28,6 +28,7 @@ I_xi,I_eta,I_zeta, I_N,onesN e_w, e_e, e_s, e_n, e_b, e_t index_w, index_e,index_s,index_n, index_b, index_t + grid params %parameters for the coeficient matrice end