Changeset 6889


Ignore:
Timestamp:
01/03/11 15:06:28 (14 years ago)
Author:
jschierm
Message:

Added calculation of md.thickness_coeff to ThicknessCorrection.m.

File:
1 edited

Legend:

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

    r6328 r6889  
    55%   by forcing the hydrostatic equilibrium.
    66%   the thickness is modified as follows:
    7 %      thickness = coeff * thickness_observation + (1-coeff) * thickness_hydrostatic
     7%      thickness = (1-coeff) * thickness_observation + coeff * thickness_hydrostatic
    88%   where:
    99%      coeff=(d/distance)^2;
     
    2020thickness=md.thickness;
    2121thickness_hydro=md.surface/(1-md.rho_ice/md.rho_water);
     22thickness_coeff=zeros(size(md.thickness));
    2223
    2324%get nodes on ice sheet and on ice shelf
     
    5152        if d>distance,
    5253
    53                 %if d > 15km, hydrostatique equilibrium
     54                %if d > 15km, hydrostatic equilibrium
     55                thickness_coeff(pos_shelf(i))=1;
    5456                thickness(pos_shelf(i))=thickness_hydro(pos_shelf(i));
    5557
     
    5759
    5860                %else: quadratic combination of hydrostatic equilibrium and observations
    59                 coeff=(d/distance)^2;
    60                 thickness(pos_shelf(i))=(1-coeff)*thickness(pos_shelf(i))+coeff*thickness_hydro(pos_shelf(i));
     61                thickness_coeff(pos_shelf(i))=(d/distance)^2;
     62                thickness(pos_shelf(i))=(1-thickness_coeff(pos_shelf(i)))*thickness(pos_shelf(i))+thickness_coeff(pos_shelf(i))*thickness_hydro(pos_shelf(i));
    6163
    6264        end
     
    7173%change bed to take into account the changes in thickness
    7274md.thickness=thickness;
     75md.thickness_coeff=thickness_coeff;
    7376md.bed=md.surface-md.thickness;
Note: See TracChangeset for help on using the changeset viewer.