Changeset 19766


Ignore:
Timestamp:
11/19/15 16:15:54 (9 years ago)
Author:
aleahsommers
Message:

CHG: adding cap on gap and support for default friction law

File:
1 edited

Legend:

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

    r19749 r19766  
    122122        /*Friction law variables*/
    123123        switch(frictionlaw){
     124                case 1:
     125                        iomodel->FetchDataToInput(elements,FrictionCoefficientEnum);
     126                        iomodel->FetchDataToInput(elements,FrictionPEnum);
     127                        iomodel->FetchDataToInput(elements,FrictionQEnum);
     128                        break;
    124129                case 8:
    125130                        iomodel->FetchDataToInput(elements,FrictionCoefficientEnum);
     
    488493        /*Divide by connectivity*/
    489494        newgap = newgap/totalweights;
     495        IssmDouble mingap = 0.00001;
     496        if(newgap<mingap) newgap=mingap;
    490497
    491498        /*Add new gap as an input*/
Note: See TracChangeset for help on using the changeset viewer.