Changeset 22048


Ignore:
Timestamp:
09/06/17 04:48:55 (8 years ago)
Author:
sjohnsen
Message:

NEW: added CoupledFlag(Neff) for frictionlaw 7, coulomb

File:
1 edited

Legend:

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

    r22011 r22048  
    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);
     
    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        }
Note: See TracChangeset for help on using the changeset viewer.