comparison +grid/Curvilinear.m @ 188:c5ca9bbfed41 feature/grids

Added methods to hande boundaries to Grid. Added failing tests and method stubs.
author Jonatan Werpers <jonatan@werpers.com>
date Fri, 04 Mar 2016 17:19:18 +0100
parents f7bb2a94d291
children 7c1d3fc33f90
comparison
equal deleted inserted replaced
187:770da87a6dc4 188:c5ca9bbfed41
78 if isempty(obj.logic.h) 78 if isempty(obj.logic.h)
79 error('grid:Curvilinear:NoScalingSet','No scaling set'); 79 error('grid:Curvilinear:NoScalingSet','No scaling set');
80 end 80 end
81 h = obj.logic.h; 81 h = obj.logic.h;
82 end 82 end
83
84 % Return the names of all boundaries in this grid.
85 function bs = getBoundaryNames(obj)
86 bs = [];
87 end
88
89 % Return coordinates for the given boundary
90 function b = getBoundary(obj, name)
91 b = [];
92 end
83 end 93 end
84 end 94 end
85 95
86 96
87 function coords = cellMappingToCoords(mapping, N, D, m) 97 function coords = cellMappingToCoords(mapping, N, D, m)