source: issm/oecreview/Archive/21724-22754/ISSM-22047-22048.diff@ 22755

Last change on this file since 22755 was 22755, checked in by Mathieu Morlighem, 7 years ago

CHG: added 21724-22754

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

     
    213213                        iomodel->FetchDataToInput(elements,"md.initialization.pressure",PressureEnum);
    214214                        iomodel->FetchDataToInput(elements,"md.initialization.temperature",TemperatureEnum);
    215215                        break;
     216                case 7:
     217                        iomodel->FindConstant(&FrictionCoupling,"md.friction.coupling");
     218                        iomodel->FetchDataToInput(elements,"md.friction.coefficient",FrictionCoefficientEnum);
     219                        iomodel->FetchDataToInput(elements,"md.friction.coefficientcoulomb",FrictionCoefficientcoulombEnum);
     220                        iomodel->FetchDataToInput(elements,"md.friction.p",FrictionPEnum);
     221                        iomodel->FetchDataToInput(elements,"md.friction.q",FrictionQEnum);
     222                        if (FrictionCoupling==1){
     223                                iomodel->FetchDataToInput(elements,"md.friction.effective_pressure",FrictionEffectivePressureEnum);
     224                        }
     225                        break;
    216226                case 9:
    217227                        iomodel->FetchDataToInput(elements,"md.friction.coefficient",FrictionCoefficientEnum);
    218228                        iomodel->FetchDataToInput(elements,"md.friction.pressure_adjusted_temperature",FrictionPressureAdjustedTemperatureEnum);
     
    250260        if(frictionlaw==4 || frictionlaw==6){
    251261                parameters->AddObject(iomodel->CopyConstantObject("md.friction.gamma",FrictionGammaEnum));
    252262        }
    253         if(frictionlaw==3 || frictionlaw==1){
     263        if(frictionlaw==3 || frictionlaw==1 || frictionlaw==7){
    254264                parameters->AddObject(iomodel->CopyConstantObject("md.friction.coupling",FrictionCouplingEnum));
    255265        }
    256266        if(frictionlaw==9){
Note: See TracBrowser for help on using the repository browser.