Changeset 21572
- Timestamp:
- 02/22/17 06:06:11 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/analyses/HydrologyDCInefficientAnalysis.cpp
r21500 r21572 528 528 529 529 storing=rho_freshwater*g*sediment_porosity*sediment_thickness*(water_compressibility+(sediment_compressibility/sediment_porosity)); 530 //porosity for unconfined region 531 if (water_sheet<=0.9*sediment_thickness){ 532 sediment_storing=sediment_porosity; 533 } 534 //continuity ramp 535 else if((water_sheet<sediment_thickness) && (water_sheet>0.9*sediment_thickness)){ 536 sediment_storing=(sediment_thickness-water_sheet)*(sediment_porosity-storing)/(0.1*sediment_thickness)+storing; 537 } 538 //storing coefficient for confined 539 else{ 540 sediment_storing=storing; 541 } 530 531 //Heavyside approximation (1/(1+exp(-2kx))) with k=25 centering at thickness minus 1% 532 sediment_storing=(sediment_porosity*exp(-20.*(water_sheet-0.99*sediment_thickness))+storing)/(1+exp(-20.*(water_sheet-0.99*sediment_thickness))); 533 542 534 return sediment_storing; 543 535 }/*}}}*/
Note:
See TracChangeset
for help on using the changeset viewer.