Changeset 23620


Ignore:
Timestamp:
01/10/19 07:09:19 (6 years ago)
Author:
sjohnsen
Message:

CHG: Update FrictionCoupling flags

File:
1 edited

Legend:

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

    r23587 r23620  
    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;
     
    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;
     
    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;
Note: See TracChangeset for help on using the changeset viewer.