Changeset 2669


Ignore:
Timestamp:
11/17/09 16:08:01 (15 years ago)
Author:
seroussi
Message:

added check for temperature not to be negative

File:
1 edited

Legend:

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

    r2660 r2669  
    309309        checksize(md,fields,[md.numberofgrids 1]);
    310310        checknan(md,fields);
     311
     312        %INITIAL TEMPERATURE, MELTING AND ACCUMULATION
     313        fields={'temperature','spctemperature(:,2)','observed_temperature'};
     314        checkgreater(md,fields,0)
    311315
    312316end
Note: See TracChangeset for help on using the changeset viewer.