Changeset 13975 for issm/trunk/src/m/kml/kml_partitions.m
- Timestamp:
- 11/16/12 08:10:16 (12 years ago)
- Location:
- issm/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk
- Property svn:mergeinfo changed
/issm/trunk-jpl merged: 13397-13398,13401,13407-13582,13584-13974
- Property svn:mergeinfo changed
-
issm/trunk/src
- Property svn:mergeinfo changed
-
issm/trunk/src/m/kml/kml_partitions.m
r12329 r13975 102 102 cmap=colormap; 103 103 close(hfig) 104 104 105 105 if exist('edata','var') 106 106 if ~exist('cmin','var') … … 140 140 for k=1:md.qmu.numberofpartitions 141 141 % disp(['partition k=' int2str(k)]) 142 142 143 143 % for each partition, find all the included elements and determine the 144 144 % perimeter (including those shared by another partition) … … 171 171 end 172 172 end 173 173 174 174 % set up the placemark with multigeometry 175 175 … … 197 197 kmgeom=kml_multigeometry(); 198 198 kmgeom.geometry ={repmat(kml_polygon(),1,length(iloop)-1)}; 199 199 200 200 % loop over each loop of the perimeter for the given partition 201 201 … … 213 213 lat=[]; 214 214 long=[]; 215 215 216 216 % loop over the element edges on the loop of the partition 217 217 … … 243 243 slast=0; 244 244 j=j+1; 245 245 246 246 % element not entirely within partition, so figure out boundary 247 247 else … … 329 329 end 330 330 nlast=0; 331 331 332 332 % write out midpoint of first side 333 333 kring.coords(end+1,:)=[(md.mesh.long(elemp(ielem,slast))... … … 484 484 485 485 end 486
Note:
See TracChangeset
for help on using the changeset viewer.