Changeset 6328 for issm/trunk


Ignore:
Timestamp:
10/18/10 08:55:52 (14 years ago)
Author:
Mathieu Morlighem
Message:

Fixed negative thicknesses

File:
1 edited

Legend:

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

    r2673 r6328  
    6666%check the computed thickness
    6767minth=1/(1-md.rho_ice/md.rho_water);
    68 pos=find(isnan(md.thickness) | (md.thickness<=0));
     68pos=find(isnan(thickness) | (thickness<=0));
    6969thickness(pos)=minth;
    7070
Note: See TracChangeset for help on using the changeset viewer.