Changeset 19005
- Timestamp:
- 01/13/15 10:45:08 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/analyses/HydrologyDCInefficientAnalysis.cpp
r19004 r19005 467 467 } 468 468 //adding base in min to take into account heads under bed wich don't change N 469 pressure[i]=(rho_ice*g*thickness[i])-(rho_freshwater*g*(m in((min(h_max,values[i])-base[i]),0.0)));469 pressure[i]=(rho_ice*g*thickness[i])-(rho_freshwater*g*(max((min(h_max,values[i])-base[i]),0.0))); 470 470 } 471 471 xDelete<IssmDouble>(thickness);
Note:
See TracChangeset
for help on using the changeset viewer.