Changeset 23943


Ignore:
Timestamp:
05/29/19 10:38:24 (6 years ago)
Author:
Mathieu Morlighem
Message:

CHG: minor

Location:
issm/trunk-jpl/src/c
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/cores/hydrology_core.cpp

    r23729 r23943  
    191191        }
    192192
     193        /*Using the GlaDS model*/
     194        else if (hydrology_model==HydrologyGlaDSAnalysisEnum){
     195                femmodel->SetCurrentConfiguration(HydrologyGlaDSAnalysisEnum);
     196                InputDuplicatex(femmodel,HydraulicPotentialEnum,HydraulicPotentialOldEnum);
     197                solutionsequence_shakti_nonlinear(femmodel);
     198                if(VerboseSolution()) _printf0_("   updating sheet thickness\n");
     199                HydrologyGlaDSAnalysis* analysis = new HydrologyGlaDSAnalysis();
     200                analysis->UpdateSheetThickness(femmodel);
     201                delete analysis;
     202        }
     203
    193204        /*Using the PISM hydrology model*/
    194205        else if (hydrology_model==HydrologypismEnum){
  • issm/trunk-jpl/src/c/shared/Enum/EnumDefinitions.h

    r23941 r23943  
    537537        GroundinglineHeightEnum,
    538538        HydraulicPotentialEnum,
     539        HydraulicPotentialOldEnum,
    539540        HydrologyBasalFluxEnum,
    540541        HydrologySheetThicknessEnum,
  • issm/trunk-jpl/src/c/shared/Enum/EnumToStringx.cpp

    r23941 r23943  
    543543                case GroundinglineHeightEnum : return "GroundinglineHeight";
    544544                case HydraulicPotentialEnum : return "HydraulicPotential";
     545                case HydraulicPotentialOldEnum : return "HydraulicPotentialOld";
    545546                case HydrologyBasalFluxEnum : return "HydrologyBasalFlux";
    546547                case HydrologySheetThicknessEnum : return "HydrologySheetThickness";
  • issm/trunk-jpl/src/c/shared/Enum/StringToEnumx.cpp

    r23941 r23943  
    555555              else if (strcmp(name,"GroundinglineHeight")==0) return GroundinglineHeightEnum;
    556556              else if (strcmp(name,"HydraulicPotential")==0) return HydraulicPotentialEnum;
     557              else if (strcmp(name,"HydraulicPotentialOld")==0) return HydraulicPotentialOldEnum;
    557558              else if (strcmp(name,"HydrologyBasalFlux")==0) return HydrologyBasalFluxEnum;
    558559              else if (strcmp(name,"HydrologySheetThickness")==0) return HydrologySheetThicknessEnum;
     
    628629              else if (strcmp(name,"RheologyBAbsGradient")==0) return RheologyBAbsGradientEnum;
    629630              else if (strcmp(name,"RheologyBbarAbsGradient")==0) return RheologyBbarAbsGradientEnum;
    630               else if (strcmp(name,"RheologyBInitialguessMisfit")==0) return RheologyBInitialguessMisfitEnum;
    631631         else stage=6;
    632632   }
    633633   if(stage==6){
    634               if (strcmp(name,"RheologyBInitialguess")==0) return RheologyBInitialguessEnum;
     634              if (strcmp(name,"RheologyBInitialguessMisfit")==0) return RheologyBInitialguessMisfitEnum;
     635              else if (strcmp(name,"RheologyBInitialguess")==0) return RheologyBInitialguessEnum;
    635636              else if (strcmp(name,"Sealevel")==0) return SealevelEnum;
    636637              else if (strcmp(name,"SealevelEustaticMask")==0) return SealevelEustaticMaskEnum;
     
    751752              else if (strcmp(name,"StrainRateparallel")==0) return StrainRateparallelEnum;
    752753              else if (strcmp(name,"StrainRateperpendicular")==0) return StrainRateperpendicularEnum;
    753               else if (strcmp(name,"StrainRatexx")==0) return StrainRatexxEnum;
    754754         else stage=7;
    755755   }
    756756   if(stage==7){
    757               if (strcmp(name,"StrainRatexy")==0) return StrainRatexyEnum;
     757              if (strcmp(name,"StrainRatexx")==0) return StrainRatexxEnum;
     758              else if (strcmp(name,"StrainRatexy")==0) return StrainRatexyEnum;
    758759              else if (strcmp(name,"StrainRatexz")==0) return StrainRatexzEnum;
    759760              else if (strcmp(name,"StrainRateyy")==0) return StrainRateyyEnum;
     
    874875              else if (strcmp(name,"Outputdefinition66")==0) return Outputdefinition66Enum;
    875876              else if (strcmp(name,"Outputdefinition67")==0) return Outputdefinition67Enum;
    876               else if (strcmp(name,"Outputdefinition68")==0) return Outputdefinition68Enum;
    877877         else stage=8;
    878878   }
    879879   if(stage==8){
    880               if (strcmp(name,"Outputdefinition69")==0) return Outputdefinition69Enum;
     880              if (strcmp(name,"Outputdefinition68")==0) return Outputdefinition68Enum;
     881              else if (strcmp(name,"Outputdefinition69")==0) return Outputdefinition69Enum;
    881882              else if (strcmp(name,"Outputdefinition6")==0) return Outputdefinition6Enum;
    882883              else if (strcmp(name,"Outputdefinition70")==0) return Outputdefinition70Enum;
     
    997998              else if (strcmp(name,"ExtrudeFromBaseAnalysis")==0) return ExtrudeFromBaseAnalysisEnum;
    998999              else if (strcmp(name,"ExtrudeFromTopAnalysis")==0) return ExtrudeFromTopAnalysisEnum;
    999               else if (strcmp(name,"FemModel")==0) return FemModelEnum;
    10001000         else stage=9;
    10011001   }
    10021002   if(stage==9){
    1003               if (strcmp(name,"FileParam")==0) return FileParamEnum;
     1003              if (strcmp(name,"FemModel")==0) return FemModelEnum;
     1004              else if (strcmp(name,"FileParam")==0) return FileParamEnum;
    10041005              else if (strcmp(name,"FixedTimestepping")==0) return FixedTimesteppingEnum;
    10051006              else if (strcmp(name,"FloatingArea")==0) return FloatingAreaEnum;
     
    11201121              else if (strcmp(name,"MeshY")==0) return MeshYEnum;
    11211122              else if (strcmp(name,"MINIcondensed")==0) return MINIcondensedEnum;
    1122               else if (strcmp(name,"MINI")==0) return MINIEnum;
    11231123         else stage=10;
    11241124   }
    11251125   if(stage==10){
    1126               if (strcmp(name,"MinVel")==0) return MinVelEnum;
     1126              if (strcmp(name,"MINI")==0) return MINIEnum;
     1127              else if (strcmp(name,"MinVel")==0) return MinVelEnum;
    11271128              else if (strcmp(name,"MinVx")==0) return MinVxEnum;
    11281129              else if (strcmp(name,"MinVy")==0) return MinVyEnum;
     
    12431244              else if (strcmp(name,"TotalSmbScaled")==0) return TotalSmbScaledEnum;
    12441245              else if (strcmp(name,"TransientArrayParam")==0) return TransientArrayParamEnum;
    1245               else if (strcmp(name,"TransientInput")==0) return TransientInputEnum;
    12461246         else stage=11;
    12471247   }
    12481248   if(stage==11){
    1249               if (strcmp(name,"TransientParam")==0) return TransientParamEnum;
     1249              if (strcmp(name,"TransientInput")==0) return TransientInputEnum;
     1250              else if (strcmp(name,"TransientParam")==0) return TransientParamEnum;
    12501251              else if (strcmp(name,"TransientSolution")==0) return TransientSolutionEnum;
    12511252              else if (strcmp(name,"Tria")==0) return TriaEnum;
Note: See TracChangeset for help on using the changeset viewer.