Changeset 4613


Ignore:
Timestamp:
07/14/10 17:03:00 (15 years ago)
Author:
Eric.Larour
Message:

some qmu checks

File:
1 edited

Legend:

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

    r4303 r4613  
    213213                        error(['model not consistent: partition vector cannot have values more than md.npart-1']);
    214214                end
    215 
     215                if max(md.part)>=md.npart,
     216                        error(['model not consistent: for qmu analysis, partitioning vector cannot go over npart, number of partition areas']);
     217                end
    216218        end
    217219        if md.eps_rel>1.1*10^-5,
Note: See TracChangeset for help on using the changeset viewer.