Changeset 12673


Ignore:
Timestamp:
07/20/12 14:13:27 (13 years ago)
Author:
Mathieu Morlighem
Message:

update flaim consistency checking

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk-jpl/src/m/model/solve.m ΒΆ

    r12363 r12673  
    3535disp('checking model consistency');
    3636if (solutionenum == FlaimSolutionEnum)
    37         modelconsistency(true);
    38         md.mesh.checkconsistency(md,solutionenum);
    39         md.flaim.checkconsistency(md,solutionenum);
    40         if ~modelconsistency()
    41                 error(' ');
     37        md.private.isconsistent=true;
     38        md=checkconsistency(md.mesh,md,solutionenum);
     39        md=checkconsistency(md.flaim,md,solutionenum);
     40        if md.private.isconsistent==false,
     41                error('Model not consistent, see messages above');
    4242        end
    4343else
Note: See TracChangeset for help on using the changeset viewer.