Changeset 22601
- Timestamp:
- 03/21/18 21:39:48 (7 years ago)
- Location:
- issm/trunk-jpl/src/c/shared/Enum
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/shared/Enum/EnumDefinitions.h
r22600 r22601 110 110 EsaUElasticEnum, 111 111 ExtrapolationVariableEnum, 112 FemModelCommEnum, 112 113 FlowequationFeFSEnum, 113 114 FlowequationIsFSEnum, … … 700 701 ExtrudeFromBaseAnalysisEnum, 701 702 ExtrudeFromTopAnalysisEnum, 702 FemModelCommEnum,703 703 FemModelEnum, 704 704 FileParamEnum, -
issm/trunk-jpl/src/c/shared/Enum/EnumToStringx.cpp
r22600 r22601 118 118 case EsaUElasticEnum : return "EsaUElastic"; 119 119 case ExtrapolationVariableEnum : return "ExtrapolationVariable"; 120 case FemModelCommEnum : return "FemModelComm"; 120 121 case FlowequationFeFSEnum : return "FlowequationFeFS"; 121 122 case FlowequationIsFSEnum : return "FlowequationIsFS"; … … 704 705 case ExtrudeFromBaseAnalysisEnum : return "ExtrudeFromBaseAnalysis"; 705 706 case ExtrudeFromTopAnalysisEnum : return "ExtrudeFromTopAnalysis"; 706 case FemModelCommEnum : return "FemModelComm";707 707 case FemModelEnum : return "FemModel"; 708 708 case FileParamEnum : return "FileParam"; -
issm/trunk-jpl/src/c/shared/Enum/StringToEnumx.cpp
r22600 r22601 118 118 else if (strcmp(name,"EsaUElastic")==0) return EsaUElasticEnum; 119 119 else if (strcmp(name,"ExtrapolationVariable")==0) return ExtrapolationVariableEnum; 120 else if (strcmp(name,"FemModelComm")==0) return FemModelCommEnum; 120 121 else if (strcmp(name,"FlowequationFeFS")==0) return FlowequationFeFSEnum; 121 122 else if (strcmp(name,"FlowequationIsFS")==0) return FlowequationIsFSEnum; … … 136 137 else if (strcmp(name,"HydrologydcMaxIter")==0) return HydrologydcMaxIterEnum; 137 138 else if (strcmp(name,"HydrologydcPenaltyFactor")==0) return HydrologydcPenaltyFactorEnum; 138 else if (strcmp(name,"HydrologydcPenaltyLock")==0) return HydrologydcPenaltyLockEnum;139 139 else stage=2; 140 140 } 141 141 if(stage==2){ 142 if (strcmp(name,"HydrologydcRelTol")==0) return HydrologydcRelTolEnum; 142 if (strcmp(name,"HydrologydcPenaltyLock")==0) return HydrologydcPenaltyLockEnum; 143 else if (strcmp(name,"HydrologydcRelTol")==0) return HydrologydcRelTolEnum; 143 144 else if (strcmp(name,"HydrologydcSedimentlimit")==0) return HydrologydcSedimentlimitEnum; 144 145 else if (strcmp(name,"HydrologydcSedimentlimitFlag")==0) return HydrologydcSedimentlimitFlagEnum; … … 259 260 else if (strcmp(name,"SmbAIdx")==0) return SmbAIdxEnum; 260 261 else if (strcmp(name,"SmbASnow")==0) return SmbASnowEnum; 261 else if (strcmp(name,"SmbCldFrac")==0) return SmbCldFracEnum;262 262 else stage=3; 263 263 } 264 264 if(stage==3){ 265 if (strcmp(name,"SmbDelta18o")==0) return SmbDelta18oEnum; 265 if (strcmp(name,"SmbCldFrac")==0) return SmbCldFracEnum; 266 else if (strcmp(name,"SmbDelta18o")==0) return SmbDelta18oEnum; 266 267 else if (strcmp(name,"SmbDelta18oSurface")==0) return SmbDelta18oSurfaceEnum; 267 268 else if (strcmp(name,"SmbDenIdx")==0) return SmbDenIdxEnum; … … 382 383 else if (strcmp(name,"CalvingratexAverage")==0) return CalvingratexAverageEnum; 383 384 else if (strcmp(name,"Calvingratex")==0) return CalvingratexEnum; 384 else if (strcmp(name,"CalvingrateyAverage")==0) return CalvingrateyAverageEnum;385 385 else stage=4; 386 386 } 387 387 if(stage==4){ 388 if (strcmp(name,"Calvingratey")==0) return CalvingrateyEnum; 388 if (strcmp(name,"CalvingrateyAverage")==0) return CalvingrateyAverageEnum; 389 else if (strcmp(name,"Calvingratey")==0) return CalvingrateyEnum; 389 390 else if (strcmp(name,"CalvingStressThresholdFloatingice")==0) return CalvingStressThresholdFloatingiceEnum; 390 391 else if (strcmp(name,"CalvingStressThresholdGroundedice")==0) return CalvingStressThresholdGroundediceEnum; … … 505 506 else if (strcmp(name,"SmbC")==0) return SmbCEnum; 506 507 else if (strcmp(name,"SmbD")==0) return SmbDEnum; 507 else if (strcmp(name,"SmbDini")==0) return SmbDiniEnum;508 508 else stage=5; 509 509 } 510 510 if(stage==5){ 511 if (strcmp(name,"SmbDlwrf")==0) return SmbDlwrfEnum; 511 if (strcmp(name,"SmbDini")==0) return SmbDiniEnum; 512 else if (strcmp(name,"SmbDlwrf")==0) return SmbDlwrfEnum; 512 513 else if (strcmp(name,"SmbDswrf")==0) return SmbDswrfEnum; 513 514 else if (strcmp(name,"SmbDz")==0) return SmbDzEnum; … … 628 629 else if (strcmp(name,"AndroidFrictionCoefficient")==0) return AndroidFrictionCoefficientEnum; 629 630 else if (strcmp(name,"Arrhenius")==0) return ArrheniusEnum; 630 else if (strcmp(name,"AutodiffJacobian")==0) return AutodiffJacobianEnum;631 631 else stage=6; 632 632 } 633 633 if(stage==6){ 634 if (strcmp(name,"AutodiffKeep")==0) return AutodiffKeepEnum; 634 if (strcmp(name,"AutodiffJacobian")==0) return AutodiffJacobianEnum; 635 else if (strcmp(name,"AutodiffKeep")==0) return AutodiffKeepEnum; 635 636 else if (strcmp(name,"Balancethickness2Analysis")==0) return Balancethickness2AnalysisEnum; 636 637 else if (strcmp(name,"Balancethickness2Solution")==0) return Balancethickness2SolutionEnum; … … 719 720 else if (strcmp(name,"ExtrudeFromBaseAnalysis")==0) return ExtrudeFromBaseAnalysisEnum; 720 721 else if (strcmp(name,"ExtrudeFromTopAnalysis")==0) return ExtrudeFromTopAnalysisEnum; 721 else if (strcmp(name,"FemModelComm")==0) return FemModelCommEnum;722 722 else if (strcmp(name,"FemModel")==0) return FemModelEnum; 723 723 else if (strcmp(name,"FileParam")==0) return FileParamEnum;
Note:
See TracChangeset
for help on using the changeset viewer.