Changeset 1226
- Timestamp:
- 07/02/09 16:58:06 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/classes/public/ThicknessCorrection.m
r1179 r1226 24 24 pos_shelf=find(~md.gridonicesheet); 25 25 pos_GL=intersect(unique(md.elements(find(md.elementonicesheet),:)),unique(md.elements(find(md.elementoniceshelf),:))); 26 debug=(length(pos_shelf)>50000); 26 27 27 28 %get distance … … 33 34 34 35 %modify thickness 35 fprintf('%s',' correction progress: 0.00 %');36 if (debug), fprintf('%s',' correction progress: 0.00 %'); 36 37 for i=1:length(pos_shelf) 37 38 38 if mod(i,100)==0,39 if (debug & mod(i,100)==0), 39 40 fprintf('\b\b\b\b\b\b\b%5.2f%s',i/length(pos_shelf)*100,' %'); 40 41 end … … 56 57 end 57 58 end 58 fprintf('\b\b\b\b\b\b\b%5.2f%s\n',100,' %');59 if (debug), fprintf('\b\b\b\b\b\b\b%5.2f%s\n',100,' %'); 59 60 60 61 %check the computed thickness
Note:
See TracChangeset
for help on using the changeset viewer.