Changeset 1222


Ignore:
Timestamp:
07/02/09 15:49:52 (16 years ago)
Author:
Eric.Larour
Message:

Better test for rifts

File:
1 edited

Legend:

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

    r1111 r1222  
    137137end
    138138if ~isstruct(md.rifts),
    139         if ~isempty(find(md.segmentmarkers>=2)),
    140                 %We have segments with rift markers, but no rift structure!
    141                 disp(['model ' md.name ' should be processed for rifts (run meshprocessrifts)!']);
    142                 bool=0; return;
     139        if ~isnan(md.rifts),
     140                if ~isempty(find(md.segmentmarkers>=2)),
     141                        %We have segments with rift markers, but no rift structure!
     142                        disp(['model ' md.name ' should be processed for rifts (run meshprocessrifts)!']);
     143                        bool=0; return;
     144                end
    143145        end
    144146end
Note: See TracChangeset for help on using the changeset viewer.