Changeset 23943
- Timestamp:
- 05/29/19 10:38:24 (6 years ago)
- Location:
- issm/trunk-jpl/src/c
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/cores/hydrology_core.cpp
r23729 r23943 191 191 } 192 192 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 193 204 /*Using the PISM hydrology model*/ 194 205 else if (hydrology_model==HydrologypismEnum){ -
issm/trunk-jpl/src/c/shared/Enum/EnumDefinitions.h
r23941 r23943 537 537 GroundinglineHeightEnum, 538 538 HydraulicPotentialEnum, 539 HydraulicPotentialOldEnum, 539 540 HydrologyBasalFluxEnum, 540 541 HydrologySheetThicknessEnum, -
issm/trunk-jpl/src/c/shared/Enum/EnumToStringx.cpp
r23941 r23943 543 543 case GroundinglineHeightEnum : return "GroundinglineHeight"; 544 544 case HydraulicPotentialEnum : return "HydraulicPotential"; 545 case HydraulicPotentialOldEnum : return "HydraulicPotentialOld"; 545 546 case HydrologyBasalFluxEnum : return "HydrologyBasalFlux"; 546 547 case HydrologySheetThicknessEnum : return "HydrologySheetThickness"; -
issm/trunk-jpl/src/c/shared/Enum/StringToEnumx.cpp
r23941 r23943 555 555 else if (strcmp(name,"GroundinglineHeight")==0) return GroundinglineHeightEnum; 556 556 else if (strcmp(name,"HydraulicPotential")==0) return HydraulicPotentialEnum; 557 else if (strcmp(name,"HydraulicPotentialOld")==0) return HydraulicPotentialOldEnum; 557 558 else if (strcmp(name,"HydrologyBasalFlux")==0) return HydrologyBasalFluxEnum; 558 559 else if (strcmp(name,"HydrologySheetThickness")==0) return HydrologySheetThicknessEnum; … … 628 629 else if (strcmp(name,"RheologyBAbsGradient")==0) return RheologyBAbsGradientEnum; 629 630 else if (strcmp(name,"RheologyBbarAbsGradient")==0) return RheologyBbarAbsGradientEnum; 630 else if (strcmp(name,"RheologyBInitialguessMisfit")==0) return RheologyBInitialguessMisfitEnum;631 631 else stage=6; 632 632 } 633 633 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; 635 636 else if (strcmp(name,"Sealevel")==0) return SealevelEnum; 636 637 else if (strcmp(name,"SealevelEustaticMask")==0) return SealevelEustaticMaskEnum; … … 751 752 else if (strcmp(name,"StrainRateparallel")==0) return StrainRateparallelEnum; 752 753 else if (strcmp(name,"StrainRateperpendicular")==0) return StrainRateperpendicularEnum; 753 else if (strcmp(name,"StrainRatexx")==0) return StrainRatexxEnum;754 754 else stage=7; 755 755 } 756 756 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; 758 759 else if (strcmp(name,"StrainRatexz")==0) return StrainRatexzEnum; 759 760 else if (strcmp(name,"StrainRateyy")==0) return StrainRateyyEnum; … … 874 875 else if (strcmp(name,"Outputdefinition66")==0) return Outputdefinition66Enum; 875 876 else if (strcmp(name,"Outputdefinition67")==0) return Outputdefinition67Enum; 876 else if (strcmp(name,"Outputdefinition68")==0) return Outputdefinition68Enum;877 877 else stage=8; 878 878 } 879 879 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; 881 882 else if (strcmp(name,"Outputdefinition6")==0) return Outputdefinition6Enum; 882 883 else if (strcmp(name,"Outputdefinition70")==0) return Outputdefinition70Enum; … … 997 998 else if (strcmp(name,"ExtrudeFromBaseAnalysis")==0) return ExtrudeFromBaseAnalysisEnum; 998 999 else if (strcmp(name,"ExtrudeFromTopAnalysis")==0) return ExtrudeFromTopAnalysisEnum; 999 else if (strcmp(name,"FemModel")==0) return FemModelEnum;1000 1000 else stage=9; 1001 1001 } 1002 1002 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; 1004 1005 else if (strcmp(name,"FixedTimestepping")==0) return FixedTimesteppingEnum; 1005 1006 else if (strcmp(name,"FloatingArea")==0) return FloatingAreaEnum; … … 1120 1121 else if (strcmp(name,"MeshY")==0) return MeshYEnum; 1121 1122 else if (strcmp(name,"MINIcondensed")==0) return MINIcondensedEnum; 1122 else if (strcmp(name,"MINI")==0) return MINIEnum;1123 1123 else stage=10; 1124 1124 } 1125 1125 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; 1127 1128 else if (strcmp(name,"MinVx")==0) return MinVxEnum; 1128 1129 else if (strcmp(name,"MinVy")==0) return MinVyEnum; … … 1243 1244 else if (strcmp(name,"TotalSmbScaled")==0) return TotalSmbScaledEnum; 1244 1245 else if (strcmp(name,"TransientArrayParam")==0) return TransientArrayParamEnum; 1245 else if (strcmp(name,"TransientInput")==0) return TransientInputEnum;1246 1246 else stage=11; 1247 1247 } 1248 1248 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; 1250 1251 else if (strcmp(name,"TransientSolution")==0) return TransientSolutionEnum; 1251 1252 else if (strcmp(name,"Tria")==0) return TriaEnum;
Note:
See TracChangeset
for help on using the changeset viewer.