Mercurial > repos > public > sbplib
comparison +multiblock/+domain/Rectangle.m @ 1340:ee3d694f2340 feature/D2_boundary_opt
Allow passing number of gridlines for each block
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Fri, 22 Jul 2022 16:34:50 +0200 |
parents | e53b1e25970a |
children |
comparison
equal
deleted
inserted
replaced
1339:bcdb14b05d03 | 1340:ee3d694f2340 |
---|---|
174 axis equal | 174 axis equal |
175 return | 175 return |
176 end | 176 end |
177 | 177 |
178 if gridLines | 178 if gridLines |
179 m = 10; | |
180 for i = 1:obj.nBlocks | 179 for i = 1:obj.nBlocks |
180 if isempty(varargin) | |
181 m = 10; | |
182 else | |
183 m = varargin{i}; | |
184 end | |
181 obj.blockTi{i}.show(m,m); | 185 obj.blockTi{i}.show(m,m); |
182 end | 186 end |
183 end | 187 end |
184 | 188 |
185 | 189 |