source:
issm/trunk-jpl/src/m/contrib/hydrology/effectivepressure.m@
13007
Last change on this file since 13007 was 13007, checked in by , 13 years ago | |
---|---|
File size: 328 bytes |
Line | |
---|---|
1 | function Neff=effectivepressure(md) |
2 | %EFFECTIVEPRESSURE - compute effective pressure |
3 | % |
4 | % Usage: |
5 | % Neff=effectivepressure(md) |
6 | % |
7 | % Example: |
8 | % Neff=effectivepressure(md) |
9 | |
10 | Neff=md.materials.rho_ice*md.constants.g*md.geometry.thickness+md.materials.rho_ice*md.constants.g*md.geometry.bed; |
11 | pos=find(Neff<0); |
12 | Neff(pos)=0; |
Note:
See TracBrowser
for help on using the repository browser.