Changeset 27363


Ignore:
Timestamp:
11/08/22 16:20:30 (2 years ago)
Author:
sehrenfe
Message:

CHG:Fix typo for moving GL

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/analyses/HydrologyGlaDSAnalysis.cpp

    r27315 r27363  
    418418                b_input->GetInputValue(&b,gauss);
    419419                H_input->GetInputValue(&H,gauss);
     420
     421                /*Hard code B*/
     422                B = Cuffey(273.15-2);
    420423
    421424                /*Get norm of gradient of hydraulic potential and make sure it is >0*/
     
    523526                b_input->GetInputValue(&b,gauss);
    524527                H_input->GetInputValue(&H,gauss);
     528               
     529                /*Hard code B*/
     530                B = Cuffey(273.15-2);
    525531
    526532                /*Get basal velocity*/
     
    674680                element->GetInputListOnNodes(&mask[0],MaskOceanLevelsetEnum);
    675681                element->GetInputListOnNodes(&bed[0],BaseEnum);
    676                 element->GetInputListOnNodes(&thickness[0],BaseEnum);
     682                element->GetInputListOnNodes(&thickness[0],ThicknessEnum);
    677683                element->GetInputListOnNodes(&ls_active[0],HydrologyMaskNodeActivationEnum);
    678684
     
    779785                iceLS_input->GetInputValue(&iceLS,gauss);
    780786
     787                /*Hard code B*/
     788                B = Cuffey(273.15-2);
     789
    781790                /*Set sheet thickness to zero if floating or no ice*/
    782791                if(oceanLS<0. || iceLS>0.){
     
    812821        }
    813822        }
    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         }*/
    819823
    820824        element->AddInput(HydrologySheetThicknessEnum,h_new,P1Enum);
     
    878882                p_i = rho_ice*g*H;
    879883
    880                 /*Copmute overburden potential*/
     884                /*Compute overburden potential*/
    881885                phi_0 = phi_m + p_i;
    882886
Note: See TracChangeset for help on using the changeset viewer.