Changeset 22082


Ignore:
Timestamp:
09/15/17 12:59:44 (8 years ago)
Author:
Eric.Larour
Message:

CHG:better check and warning.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/branches/trunk-larour-NatGeoScience2016/src/m/mesh/meshband.m

    r22034 r22082  
    7575        %check that the domain vertices = the number of segments:
    7676        if abs(length(band.segments) - (length(domain(1).x)+length(domain(2).x)-2))>=2,
    77                 length(band.segments)
    78                 length(domain(1).x)
    79                 length(domain(2).x)
    80 
     77                disp(sprintf('band mesh not consistent: %i!=%i+%i\n',length(band.segments), length(domain(1).x), length(domain(2).x)));
    8178
    8279                figure(3),clf,expdisp([temproot '/Band.exp'],'linestyle','r*');
Note: See TracChangeset for help on using the changeset viewer.