Changeset 9290


Ignore:
Timestamp:
08/11/11 13:27:56 (14 years ago)
Author:
seroussi
Message:

time at first iteration can be 0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/model/ismodelselfconsistent.m

    r9267 r9290  
    526526
    527527                                %CHECK SPCTEMPERATURE that are not NaN are >0.
    528                                 if find(any(md.spctemperature(find(~isnan(md.spctemperature)))<=0)),
     528                                if find(any(md.spctemperature(find(~isnan(md.spctemperature(1:md.numberofnodes,:))))<=0)),
    529529                                        message(['model not consistent: model ' md.name ' is constrained with negative or nil temperatures!']);
    530530                                end
Note: See TracChangeset for help on using the changeset viewer.