comparison +multiblock/Line.m @ 546:19951684588e feature/grids

Add type assertion
author Jonatan Werpers <jonatan@werpers.com>
date Wed, 23 Aug 2017 11:05:35 +0200
parents febd750965c4
children 24b2487b01c2
comparison
equal deleted inserted replaced
545:dfb27a7e801f 546:19951684588e
6 YData 6 YData
7 end 7 end
8 8
9 methods 9 methods
10 function obj = Line(g, gf) 10 function obj = Line(g, gf)
11 assertType(g, 'multiblock.Grid')
11 obj.grid = g; 12 obj.grid = g;
12 13
13 X = obj.grid.splitFunc(obj.grid.points()); 14 X = obj.grid.splitFunc(obj.grid.points());
14 Y = obj.grid.splitFunc(gf); 15 Y = obj.grid.splitFunc(gf);
15 16