Changeset 1226


Ignore:
Timestamp:
07/02/09 16:58:06 (16 years ago)
Author:
Mathieu Morlighem
Message:

minor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/classes/public/ThicknessCorrection.m

    r1179 r1226  
    2424pos_shelf=find(~md.gridonicesheet);
    2525pos_GL=intersect(unique(md.elements(find(md.elementonicesheet),:)),unique(md.elements(find(md.elementoniceshelf),:)));
     26debug=(length(pos_shelf)>50000);
    2627
    2728%get distance
     
    3334
    3435%modify thickness
    35 fprintf('%s','      correction progress:   0.00 %');
     36if (debug), fprintf('%s','      correction progress:   0.00 %');
    3637for i=1:length(pos_shelf)
    3738
    38         if mod(i,100)==0,
     39        if (debug & mod(i,100)==0),
    3940                fprintf('\b\b\b\b\b\b\b%5.2f%s',i/length(pos_shelf)*100,' %');
    4041        end
     
    5657        end
    5758end
    58 fprintf('\b\b\b\b\b\b\b%5.2f%s\n',100,' %');
     59if (debug), fprintf('\b\b\b\b\b\b\b%5.2f%s\n',100,' %');
    5960
    6061%check the computed thickness
Note: See TracChangeset for help on using the changeset viewer.