Changeset 27363
- Timestamp:
- 11/08/22 16:20:30 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/analyses/HydrologyGlaDSAnalysis.cpp
r27315 r27363 418 418 b_input->GetInputValue(&b,gauss); 419 419 H_input->GetInputValue(&H,gauss); 420 421 /*Hard code B*/ 422 B = Cuffey(273.15-2); 420 423 421 424 /*Get norm of gradient of hydraulic potential and make sure it is >0*/ … … 523 526 b_input->GetInputValue(&b,gauss); 524 527 H_input->GetInputValue(&H,gauss); 528 529 /*Hard code B*/ 530 B = Cuffey(273.15-2); 525 531 526 532 /*Get basal velocity*/ … … 674 680 element->GetInputListOnNodes(&mask[0],MaskOceanLevelsetEnum); 675 681 element->GetInputListOnNodes(&bed[0],BaseEnum); 676 element->GetInputListOnNodes(&thickness[0], BaseEnum);682 element->GetInputListOnNodes(&thickness[0],ThicknessEnum); 677 683 element->GetInputListOnNodes(&ls_active[0],HydrologyMaskNodeActivationEnum); 678 684 … … 779 785 iceLS_input->GetInputValue(&iceLS,gauss); 780 786 787 /*Hard code B*/ 788 B = Cuffey(273.15-2); 789 781 790 /*Set sheet thickness to zero if floating or no ice*/ 782 791 if(oceanLS<0. || iceLS>0.){ … … 812 821 } 813 822 } 814 815 /*Force floating ice to have zero sheet thickness*/816 /*if(!element->IsAllGrounded() || !element->IsIceInElement()){817 for(int iv=0;iv<numvertices;iv++) h_new[iv] = 0.;818 }*/819 823 820 824 element->AddInput(HydrologySheetThicknessEnum,h_new,P1Enum); … … 878 882 p_i = rho_ice*g*H; 879 883 880 /*Co pmute overburden potential*/884 /*Compute overburden potential*/ 881 885 phi_0 = phi_m + p_i; 882 886
Note:
See TracChangeset
for help on using the changeset viewer.