Changeset 2744
- Timestamp:
- 01/04/10 14:33:53 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/utils/Mesh/YamsCall.m
r1662 r2744 55 55 fprintf(fid,'%i %i %i %i\n',[md.elements zeros(md.numberofelements,1)]'); 56 56 numberofelements1=md.numberofelements; 57 58 %Deal with rifts 59 if md.numrifts, 60 61 %we have the list of triangles that make up the rift. keep those triangles around during refinement. 62 triangles=[]; 63 for i=1:md.numrifts, 64 triangles=[triangles md.rifts(i).segments(:,3)']; 65 end 66 67 fprintf(fid,'\n\n%s\n%i\n\n','RequiredTriangles',length(triangles)); 68 fprintf(fid,'%i\n',triangles); 69 end 57 70 58 71 %close
Note:
See TracChangeset
for help on using the changeset viewer.