source: issm/trunk-jpl/src/m/contrib/hydrology/effectivepressure.m@ 13007

Last change on this file since 13007 was 13007, checked in by Mathieu Morlighem, 13 years ago

CHG: moving stuff around

File size: 328 bytes
Line 
1function Neff=effectivepressure(md)
2%EFFECTIVEPRESSURE - compute effective pressure
3%
4% Usage:
5% Neff=effectivepressure(md)
6%
7% Example:
8% Neff=effectivepressure(md)
9
10Neff=md.materials.rho_ice*md.constants.g*md.geometry.thickness+md.materials.rho_ice*md.constants.g*md.geometry.bed;
11pos=find(Neff<0);
12Neff(pos)=0;
Note: See TracBrowser for help on using the repository browser.