Changeset 25609 for issm/trunk-jpl/src/c/shared/Enum/StringToEnumx.cpp
- Timestamp:
- 09/29/20 10:35:39 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/shared/Enum/StringToEnumx.cpp
r25522 r25609 151 151 else if (strcmp(name,"FlowequationIsHO")==0) return FlowequationIsHOEnum; 152 152 else if (strcmp(name,"FlowequationIsL1L2")==0) return FlowequationIsL1L2Enum; 153 else if (strcmp(name,"FlowequationIsMLHO")==0) return FlowequationIsMLHOEnum; 153 154 else if (strcmp(name,"FlowequationIsSIA")==0) return FlowequationIsSIAEnum; 154 155 else if (strcmp(name,"FlowequationIsSSA")==0) return FlowequationIsSSAEnum; … … 259 260 else if (strcmp(name,"MasstransportMinThickness")==0) return MasstransportMinThicknessEnum; 260 261 else if (strcmp(name,"MasstransportNumRequestedOutputs")==0) return MasstransportNumRequestedOutputsEnum; 261 else if (strcmp(name,"MasstransportPenaltyFactor")==0) return MasstransportPenaltyFactorEnum;262 262 else stage=3; 263 263 } 264 264 if(stage==3){ 265 if (strcmp(name,"MasstransportRequestedOutputs")==0) return MasstransportRequestedOutputsEnum; 265 if (strcmp(name,"MasstransportPenaltyFactor")==0) return MasstransportPenaltyFactorEnum; 266 else if (strcmp(name,"MasstransportRequestedOutputs")==0) return MasstransportRequestedOutputsEnum; 266 267 else if (strcmp(name,"MasstransportStabilization")==0) return MasstransportStabilizationEnum; 267 268 else if (strcmp(name,"MaterialsBeta")==0) return MaterialsBetaEnum; … … 382 383 else if (strcmp(name,"SmbIsd18opd")==0) return SmbIsd18opdEnum; 383 384 else if (strcmp(name,"SmbIsdelta18o")==0) return SmbIsdelta18oEnum; 384 else if (strcmp(name,"SmbIsdensification")==0) return SmbIsdensificationEnum;385 385 else stage=4; 386 386 } 387 387 if(stage==4){ 388 if (strcmp(name,"SmbIsfirnwarming")==0) return SmbIsfirnwarmingEnum; 388 if (strcmp(name,"SmbIsdensification")==0) return SmbIsdensificationEnum; 389 else if (strcmp(name,"SmbIsfirnwarming")==0) return SmbIsfirnwarmingEnum; 389 390 else if (strcmp(name,"SmbIsgraingrowth")==0) return SmbIsgraingrowthEnum; 390 391 else if (strcmp(name,"SmbIsmelt")==0) return SmbIsmeltEnum; … … 505 506 else if (strcmp(name,"BasalforcingsPicoBasinId")==0) return BasalforcingsPicoBasinIdEnum; 506 507 else if (strcmp(name,"BasalforcingsPicoBoxId")==0) return BasalforcingsPicoBoxIdEnum; 507 else if (strcmp(name,"BasalforcingsPicoOverturningCoeff")==0) return BasalforcingsPicoOverturningCoeffEnum;508 508 else stage=5; 509 509 } 510 510 if(stage==5){ 511 if (strcmp(name,"BasalforcingsPicoSubShelfOceanOverturning")==0) return BasalforcingsPicoSubShelfOceanOverturningEnum; 511 if (strcmp(name,"BasalforcingsPicoOverturningCoeff")==0) return BasalforcingsPicoOverturningCoeffEnum; 512 else if (strcmp(name,"BasalforcingsPicoSubShelfOceanOverturning")==0) return BasalforcingsPicoSubShelfOceanOverturningEnum; 512 513 else if (strcmp(name,"BasalforcingsPicoSubShelfOceanSalinity")==0) return BasalforcingsPicoSubShelfOceanSalinityEnum; 513 514 else if (strcmp(name,"BasalforcingsPicoSubShelfOceanTemp")==0) return BasalforcingsPicoSubShelfOceanTempEnum; … … 628 629 else if (strcmp(name,"HydrologydcEplThicknessTransient")==0) return HydrologydcEplThicknessTransientEnum; 629 630 else if (strcmp(name,"HydrologydcMaskEplactiveElt")==0) return HydrologydcMaskEplactiveEltEnum; 630 else if (strcmp(name,"HydrologydcMaskEplactiveNode")==0) return HydrologydcMaskEplactiveNodeEnum;631 631 else stage=6; 632 632 } 633 633 if(stage==6){ 634 if (strcmp(name,"HydrologydcMaskThawedElt")==0) return HydrologydcMaskThawedEltEnum; 634 if (strcmp(name,"HydrologydcMaskEplactiveNode")==0) return HydrologydcMaskEplactiveNodeEnum; 635 else if (strcmp(name,"HydrologydcMaskThawedElt")==0) return HydrologydcMaskThawedEltEnum; 635 636 else if (strcmp(name,"HydrologydcMaskThawedNode")==0) return HydrologydcMaskThawedNodeEnum; 636 637 else if (strcmp(name,"HydrologydcSedimentTransmitivity")==0) return HydrologydcSedimentTransmitivityEnum; … … 751 752 else if (strcmp(name,"SmbDlwrf")==0) return SmbDlwrfEnum; 752 753 else if (strcmp(name,"SmbDswrf")==0) return SmbDswrfEnum; 753 else if (strcmp(name,"SmbDzAdd")==0) return SmbDzAddEnum;754 754 else stage=7; 755 755 } 756 756 if(stage==7){ 757 if (strcmp(name,"SmbDz")==0) return SmbDzEnum; 757 if (strcmp(name,"SmbDzAdd")==0) return SmbDzAddEnum; 758 else if (strcmp(name,"SmbDz")==0) return SmbDzEnum; 758 759 else if (strcmp(name,"SmbDzMin")==0) return SmbDzMinEnum; 759 760 else if (strcmp(name,"SmbDzTop")==0) return SmbDzTopEnum; … … 874 875 else if (strcmp(name,"Vx")==0) return VxEnum; 875 876 else if (strcmp(name,"VxMesh")==0) return VxMeshEnum; 876 else if (strcmp(name,"VxObs")==0) return VxObsEnum;877 877 else stage=8; 878 878 } 879 879 if(stage==8){ 880 if (strcmp(name,"VyAverage")==0) return VyAverageEnum; 880 if (strcmp(name,"VxObs")==0) return VxObsEnum; 881 else if (strcmp(name,"VyAverage")==0) return VyAverageEnum; 881 882 else if (strcmp(name,"Vy")==0) return VyEnum; 882 883 else if (strcmp(name,"VyMesh")==0) return VyMeshEnum; … … 997 998 else if (strcmp(name,"Absolute")==0) return AbsoluteEnum; 998 999 else if (strcmp(name,"AdaptiveTimestepping")==0) return AdaptiveTimesteppingEnum; 999 else if (strcmp(name,"AdjointBalancethickness2Analysis")==0) return AdjointBalancethickness2AnalysisEnum;1000 1000 else stage=9; 1001 1001 } 1002 1002 if(stage==9){ 1003 if (strcmp(name,"AdjointBalancethicknessAnalysis")==0) return AdjointBalancethicknessAnalysisEnum; 1003 if (strcmp(name,"AdjointBalancethickness2Analysis")==0) return AdjointBalancethickness2AnalysisEnum; 1004 else if (strcmp(name,"AdjointBalancethicknessAnalysis")==0) return AdjointBalancethicknessAnalysisEnum; 1004 1005 else if (strcmp(name,"AdjointHorizAnalysis")==0) return AdjointHorizAnalysisEnum; 1005 1006 else if (strcmp(name,"AggressiveMigration")==0) return AggressiveMigrationEnum; … … 1120 1121 else if (strcmp(name,"GroundingOnly")==0) return GroundingOnlyEnum; 1121 1122 else if (strcmp(name,"GroundinglineMassFlux")==0) return GroundinglineMassFluxEnum; 1122 else if (strcmp(name,"Gset")==0) return GsetEnum;1123 1123 else stage=10; 1124 1124 } 1125 1125 if(stage==10){ 1126 if (strcmp(name,"Gsl")==0) return GslEnum; 1126 if (strcmp(name,"Gset")==0) return GsetEnum; 1127 else if (strcmp(name,"Gsl")==0) return GslEnum; 1127 1128 else if (strcmp(name,"HOApproximation")==0) return HOApproximationEnum; 1128 1129 else if (strcmp(name,"HOFSApproximation")==0) return HOFSApproximationEnum; … … 1162 1163 else if (strcmp(name,"J")==0) return JEnum; 1163 1164 else if (strcmp(name,"L1L2Approximation")==0) return L1L2ApproximationEnum; 1165 else if (strcmp(name,"MLHOApproximation")==0) return MLHOApproximationEnum; 1164 1166 else if (strcmp(name,"L2ProjectionBaseAnalysis")==0) return L2ProjectionBaseAnalysisEnum; 1165 1167 else if (strcmp(name,"L2ProjectionEPLAnalysis")==0) return L2ProjectionEPLAnalysisEnum; … … 1242 1244 else if (strcmp(name,"P0DG")==0) return P0DGEnum; 1243 1245 else if (strcmp(name,"P1DG")==0) return P1DGEnum; 1244 else if (strcmp(name,"P1P1")==0) return P1P1Enum;1245 else if (strcmp(name,"P1P1GLS")==0) return P1P1GLSEnum;1246 1246 else stage=11; 1247 1247 } 1248 1248 if(stage==11){ 1249 if (strcmp(name,"P1bubble")==0) return P1bubbleEnum; 1249 if (strcmp(name,"P1P1")==0) return P1P1Enum; 1250 else if (strcmp(name,"P1P1GLS")==0) return P1P1GLSEnum; 1251 else if (strcmp(name,"P1bubble")==0) return P1bubbleEnum; 1250 1252 else if (strcmp(name,"P1bubblecondensed")==0) return P1bubblecondensedEnum; 1251 1253 else if (strcmp(name,"P1xP2")==0) return P1xP2Enum; … … 1365 1367 else if (strcmp(name,"CalvingdevCoeff")==0) return CalvingdevCoeffEnum; 1366 1368 else if (strcmp(name,"DeviatoricStress")==0) return DeviatoricStressEnum; 1367 else if (strcmp(name,"EtaAbsGradient")==0) return EtaAbsGradientEnum;1368 else if (strcmp(name,"MeshZ")==0) return MeshZEnum;1369 1369 else stage=12; 1370 1370 } 1371 1371 if(stage==12){ 1372 if (strcmp(name,"NearestInterp")==0) return NearestInterpEnum; 1372 if (strcmp(name,"EtaAbsGradient")==0) return EtaAbsGradientEnum; 1373 else if (strcmp(name,"MeshZ")==0) return MeshZEnum; 1374 else if (strcmp(name,"NearestInterp")==0) return NearestInterpEnum; 1373 1375 else if (strcmp(name,"OutputdefinitionList")==0) return OutputdefinitionListEnum; 1374 1376 else if (strcmp(name,"SealevelObs")==0) return SealevelObsEnum;
Note:
See TracChangeset
for help on using the changeset viewer.