Changeset 2078
- Timestamp:
- 09/02/09 09:18:50 (15 years ago)
- Location:
- issm/trunk/src/m/classes/public/mesh
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/classes/public/mesh/findsegments.m
r1347 r2078 6 6 7 7 %Now, build the connectivity tables for this mesh. 8 md.nodeconnectivity=NodeConnectivity(md.elements,md.numberofgrids); 9 md.elementconnectivity=ElementConnectivity(md.elements,md.nodeconnectivity); 8 if size(md.nodeconnectivity,1)~=md.numberofgrids, 9 md.nodeconnectivity=NodeConnectivity(md.elements,md.numberofgrids); 10 end 11 if size(md.elementconnectivity,1)~=md.numberofelements, 12 md.elementconnectivity=ElementConnectivity(md.elements,md.nodeconnectivity); 13 end 10 14 11 15 %Recreate the segments -
issm/trunk/src/m/classes/public/mesh/meshyams.m
r1346 r2078 75 75 disp(['Final mesh, number of elements: ' num2str(md.numberofelements)]); 76 76 77 %Now, build the connectivity tables for this mesh. 78 md.nodeconnectivity=NodeConnectivity(md.elements,md.numberofgrids); 79 md.elementconnectivity=ElementConnectivity(md.elements,md.nodeconnectivity); 80 77 81 %recreate segments 78 82 md.segments=findsegments(md);
Note:
See TracChangeset
for help on using the changeset viewer.