source: issm/oecreview/Archive/23390-24306/ISSM-23619-23620.diff

Last change on this file was 24307, checked in by Mathieu Morlighem, 5 years ago

NEW: adding Archive/23390-24306

File size: 2.3 KB
  • ../trunk-jpl/src/c/analyses/EnthalpyAnalysis.cpp

     
    197197                        iomodel->FetchDataToInput(elements,"md.friction.coefficient",FrictionCoefficientEnum);
    198198                        iomodel->FetchDataToInput(elements,"md.friction.p",FrictionPEnum);
    199199                        iomodel->FetchDataToInput(elements,"md.friction.q",FrictionQEnum);
    200                         if (FrictionCoupling==1){
    201                                 iomodel->FetchDataToInput(elements,"md.friction.effective_pressure",FrictionEffectivePressureEnum);
     200                        if (FrictionCoupling==3){
     201                                iomodel->FetchDataToInput(elements,"md.friction.effective_pressure",FrictionEffectivePressureEnum);}
     202                        else if(FrictionCoupling==4){
     203                                iomodel->FetchDataToInput(elements,"md.friction.effective_pressure",EffectivePressureEnum);
    202204                        }
    203205                        break;
    204206                case 2:
     
    210212                        iomodel->FetchDataToInput(elements,"md.friction.C",FrictionCEnum);
    211213                        iomodel->FetchDataToInput(elements,"md.friction.As",FrictionAsEnum);
    212214                        iomodel->FetchDataToInput(elements,"md.friction.q",FrictionQEnum);
    213                         if (FrictionCoupling==1){
    214                                 iomodel->FetchDataToInput(elements,"md.friction.effective_pressure",FrictionEffectivePressureEnum);
     215                        if (FrictionCoupling==3){
     216                                iomodel->FetchDataToInput(elements,"md.friction.effective_pressure",FrictionEffectivePressureEnum);}
     217                        else if(FrictionCoupling==4){
     218                                iomodel->FetchDataToInput(elements,"md.friction.effective_pressure",EffectivePressureEnum);
    215219                        }
    216220                        break;
    217221                case 4:
     
    240244                        iomodel->FetchDataToInput(elements,"md.friction.coefficientcoulomb",FrictionCoefficientcoulombEnum);
    241245                        iomodel->FetchDataToInput(elements,"md.friction.p",FrictionPEnum);
    242246                        iomodel->FetchDataToInput(elements,"md.friction.q",FrictionQEnum);
    243                         if (FrictionCoupling==1){
    244                                 iomodel->FetchDataToInput(elements,"md.friction.effective_pressure",FrictionEffectivePressureEnum);
     247                        if (FrictionCoupling==3){
     248                                iomodel->FetchDataToInput(elements,"md.friction.effective_pressure",FrictionEffectivePressureEnum);}
     249                        else if(FrictionCoupling==4){
     250                                iomodel->FetchDataToInput(elements,"md.friction.effective_pressure",EffectivePressureEnum);
    245251                        }
    246252                        break;
    247253                case 9:
Note: See TracBrowser for help on using the repository browser.