comparison +grid/equidistantCurvilinear.m @ 177:c3378418d49a feature/grids

Updated equidistant and equidistantCurve to set the scaling of grids.
author Jonatan Werpers <jonatan@werpers.com>
date Mon, 29 Feb 2016 14:55:19 +0100
parents 62b5f3c34bcb
children 9eff7b58c5f7
comparison
equal deleted inserted replaced
174:513019e3d855 177:c3378418d49a
23 error('grid:equidistant:InvalidLimits','The elements of the limit must be increasing.'); 23 error('grid:equidistant:InvalidLimits','The elements of the limit must be increasing.');
24 end 24 end
25 end 25 end
26 26
27 X = {}; 27 X = {};
28 h = [];
28 for i = 1:length(m) 29 for i = 1:length(m)
29 X{i} = util.get_grid(varargin{i}{:},m(i)); 30 [X{i}, h(i)] = util.get_grid(varargin{i}{:},m(i));
30 end 31 end
31 32
32 g = grid.Curvilinear(mapping, X{:}); 33 g = grid.Curvilinear(mapping, X{:});
34 g.h = h;
33 end 35 end