Changeset 6889
- Timestamp:
- 01/03/11 15:06:28 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/model/ThicknessCorrection.m
r6328 r6889 5 5 % by forcing the hydrostatic equilibrium. 6 6 % the thickness is modified as follows: 7 % thickness = coeff * thickness_observation + (1-coeff)* thickness_hydrostatic7 % thickness = (1-coeff) * thickness_observation + coeff * thickness_hydrostatic 8 8 % where: 9 9 % coeff=(d/distance)^2; … … 20 20 thickness=md.thickness; 21 21 thickness_hydro=md.surface/(1-md.rho_ice/md.rho_water); 22 thickness_coeff=zeros(size(md.thickness)); 22 23 23 24 %get nodes on ice sheet and on ice shelf … … 51 52 if d>distance, 52 53 53 %if d > 15km, hydrostatique equilibrium 54 %if d > 15km, hydrostatic equilibrium 55 thickness_coeff(pos_shelf(i))=1; 54 56 thickness(pos_shelf(i))=thickness_hydro(pos_shelf(i)); 55 57 … … 57 59 58 60 %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)); 61 63 62 64 end … … 71 73 %change bed to take into account the changes in thickness 72 74 md.thickness=thickness; 75 md.thickness_coeff=thickness_coeff; 73 76 md.bed=md.surface-md.thickness;
Note:
See TracChangeset
for help on using the changeset viewer.