comparison +multiblock/Grid.m @ 457:8ba675cc8827 feature/grids

Add note about how to handle boundary groups
author Jonatan Werpers <jonatan@werpers.com>
date Mon, 19 Jun 2017 09:39:50 +0200
parents 819345fe7ff1
children 2ec8080027ab
comparison
equal deleted inserted replaced
456:cf313abea04b 457:8ba675cc8827
15 % specifies the connection between block i and j. If 15 % specifies the connection between block i and j. If
16 % it's empty there is no connection otherwise it's a 2 16 % it's empty there is no connection otherwise it's a 2
17 % -cell-vector with strings naming the boundaries to be 17 % -cell-vector with strings naming the boundaries to be
18 % connected. (inverted coupling?) 18 % connected. (inverted coupling?)
19 %% Should we have boundary groups at all? maybe it can be handled in a 19 %% Should we have boundary groups at all? maybe it can be handled in a
20 %% cleaner way outside of the class. 20 %% cleaner way outside of the class. Maybe the grid class doesn't need to care at all. All boundaryGroup interaction is in DiffOp?
21 function obj = Grid(grids, connections, boundaryGroups) 21 function obj = Grid(grids, connections, boundaryGroups)
22 obj.grids = grids; 22 obj.grids = grids;
23 obj.connections = connections; 23 obj.connections = connections;
24 24
25 obj.nPoints = 0; 25 obj.nPoints = 0;