Changes between Version 5 and Version 6 of shelf_thickness


Ignore:
Timestamp:
10/18/10 08:59:34 (14 years ago)
Author:
Mathieu Morlighem
Comment:

fixed negative thicknesses

Legend:

Unmodified
Added
Removed
Modified
  • shelf_thickness

    v5 v6  
    8080%check the computed thickness
    8181minth=1/(1-md.rho_ice/md.rho_water);
    82 pos=find(isnan(md.thickness) | (md.thickness<=0));
     82pos=find(isnan(thickness) | (thickness<=0));
    8383thickness(pos)=minth;
    8484