Mercurial > repos > public > sbplib
comparison +scheme/Wave.m @ 167:15baeb35f74e feature/grids
Merge in changes from default.
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Tue, 23 Feb 2016 13:25:43 +0100 |
parents | d52e5cdb6eff |
children | cb2b12246b7e |
comparison
equal
deleted
inserted
replaced
166:7cb97c1988d9 | 167:15baeb35f74e |
---|---|
1 classdef SchmWave < noname.Scheme | 1 classdef Wave < noname.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 h % Grid spacing | 4 h % Grid spacing |
5 x % Grid | 5 x % Grid |
6 order % Order accuracy for the approximation | 6 order % Order accuracy for the approximation |
18 d1_r | 18 d1_r |
19 gamm | 19 gamm |
20 end | 20 end |
21 | 21 |
22 methods | 22 methods |
23 function obj = SchmWave(m,xlim,order,alpha) | 23 function obj = Wave(m,xlim,order,alpha) |
24 default_arg('a',1); | 24 default_arg('a',1); |
25 [x, h] = util.get_grid(xlim{:},m); | 25 [x, h] = util.get_grid(xlim{:},m); |
26 | 26 |
27 ops = sbp.Ordinary(m,h,order); | 27 ops = sbp.Ordinary(m,h,order); |
28 | 28 |