Changeset 14804


Ignore:
Timestamp:
04/30/13 08:54:45 (12 years ago)
Author:
bdef
Message:

BUG: fixing upper limit definition in hydrologydc

Location:
issm/trunk-jpl/src/c/classes/objects
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/classes/objects/Elements/Tria.cpp

    r14801 r14804  
    63486348                /*Get the flag to the limitation method*/
    63496349                this->parameters->FindParam(&hmax_flag,HydrologydcSedimentlimitFlagEnum);
    6350 
    6351                 if(this->id==1) printf("flag = %i\n",hmax_flag);
    6352 
     6350               
    63536351                /*Switch between the different cases*/
    63546352                switch(hmax_flag){
  • issm/trunk-jpl/src/c/classes/objects/Loads/Pengrid.cpp

    r14801 r14804  
    708708        element->GetInputValue(&h,node,SedimentHeadEnum);
    709709        element->GetHydrologyDCInefficientHmax(&h_max,node);
    710         /*printf("hmax %g \n",h_max);*/
    711710
    712711        if (h>h_max)
     
    754753        ElementVector* pe=new ElementVector(&node,1,this->parameters);
    755754
    756         /*Get h_max*/
    757         h_max = 10000.;
    758 
     755        /*Get h_max and compute penalty*/
     756        element->GetHydrologyDCInefficientHmax(&h_max,node);
    759757        pe->values[0]=kmax*pow(10.,penalty_factor)*h_max;
    760758
Note: See TracChangeset for help on using the changeset viewer.