comparison +multiblock/DefCurvilinear.m @ 1331:60c875c18de3 feature/D2_boundary_opt

Merge with feature/poroelastic for Elastic schemes
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Thu, 10 Mar 2022 16:54:26 +0100
parents 7df63b17e078 8aa0909125a4
children 0666629aa183
comparison
equal deleted inserted replaced
1330:855871e0b852 1331:60c875c18de3
72 end 72 end
73 73
74 g = multiblock.Grid(grids, obj.connections, obj.boundaryGroups); 74 g = multiblock.Grid(grids, obj.connections, obj.boundaryGroups);
75 end 75 end
76 76
77 function g = getLebedevGrid(obj, varargin)
78 ms = obj.getGridSizes(varargin{:});
79
80 grids = cell(1, obj.nBlocks);
81 for i = 1:obj.nBlocks
82 % grids{i} = grid.equidistantCurvilinear(obj.blockMaps{i}.S, ms{i});
83 grids{i} = grid.lebedev2dCurvilinear(obj.blockMaps{i}.S, ms{i});
84 end
85
86 g = multiblock.Grid(grids, obj.connections, obj.boundaryGroups);
87 end
88
77 function h = show(obj, label, gridLines, varargin) 89 function h = show(obj, label, gridLines, varargin)
78 default_arg('label', 'name') 90 default_arg('label', 'name')
79 default_arg('gridLines', false); 91 default_arg('gridLines', false);
80 92
81 h = []; 93 h = [];