Changeset 20939 for issm/trunk-jpl/src/c/shared/Enum/StringToEnumx.cpp
- Timestamp:
- 07/19/16 09:51:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/shared/Enum/StringToEnumx.cpp
r20718 r20939 19 19 if (strcmp(name,"ParametersSTART")==0) return ParametersSTARTEnum; 20 20 else if (strcmp(name,"FemModel")==0) return FemModelEnum; 21 else if (strcmp(name,"IsRestart")==0) return IsRestartEnum; 21 22 else if (strcmp(name,"FemModelComm")==0) return FemModelCommEnum; 22 23 else if (strcmp(name,"WorldComm")==0) return WorldCommEnum; … … 136 137 else if (strcmp(name,"GeometryHydrostaticRatio")==0) return GeometryHydrostaticRatioEnum; 137 138 else if (strcmp(name,"HydrologyModel")==0) return HydrologyModelEnum; 138 else if (strcmp(name,"Hydrologyshreve")==0) return HydrologyshreveEnum;139 139 else stage=2; 140 140 } 141 141 if(stage==2){ 142 if (strcmp(name,"HydrologyshreveSpcwatercolumn")==0) return HydrologyshreveSpcwatercolumnEnum; 142 if (strcmp(name,"Hydrologyshreve")==0) return HydrologyshreveEnum; 143 else if (strcmp(name,"HydrologyshreveSpcwatercolumn")==0) return HydrologyshreveSpcwatercolumnEnum; 143 144 else if (strcmp(name,"HydrologyshreveStabilization")==0) return HydrologyshreveStabilizationEnum; 144 145 else if (strcmp(name,"Hydrologydc")==0) return HydrologydcEnum; … … 259 260 else if (strcmp(name,"DamageStabilization")==0) return DamageStabilizationEnum; 260 261 else if (strcmp(name,"DamageMaxiter")==0) return DamageMaxiterEnum; 261 else if (strcmp(name,"DamageSpcdamage")==0) return DamageSpcdamageEnum;262 262 else stage=3; 263 263 } 264 264 if(stage==3){ 265 if (strcmp(name,"DamageMaxDamage")==0) return DamageMaxDamageEnum; 265 if (strcmp(name,"DamageSpcdamage")==0) return DamageSpcdamageEnum; 266 else if (strcmp(name,"DamageMaxDamage")==0) return DamageMaxDamageEnum; 266 267 else if (strcmp(name,"DamageEquivStress")==0) return DamageEquivStressEnum; 267 268 else if (strcmp(name,"DamageEvolutionNumRequestedOutputs")==0) return DamageEvolutionNumRequestedOutputsEnum; … … 382 383 else if (strcmp(name,"TimesteppingTimeAdapt")==0) return TimesteppingTimeAdaptEnum; 383 384 else if (strcmp(name,"TimesteppingTimeStep")==0) return TimesteppingTimeStepEnum; 384 else if (strcmp(name,"TimesteppingInterpForcings")==0) return TimesteppingInterpForcingsEnum;385 385 else stage=4; 386 386 } 387 387 if(stage==4){ 388 if (strcmp(name,"TransientIssmb")==0) return TransientIssmbEnum; 388 if (strcmp(name,"TimesteppingInterpForcings")==0) return TimesteppingInterpForcingsEnum; 389 else if (strcmp(name,"TransientIssmb")==0) return TransientIssmbEnum; 389 390 else if (strcmp(name,"TransientIscoupler")==0) return TransientIscouplerEnum; 390 391 else if (strcmp(name,"TransientIsstressbalance")==0) return TransientIsstressbalanceEnum; … … 505 506 else if (strcmp(name,"AnalysisType")==0) return AnalysisTypeEnum; 506 507 else if (strcmp(name,"ConfigurationType")==0) return ConfigurationTypeEnum; 507 else if (strcmp(name,"AdjointBalancethicknessAnalysis")==0) return AdjointBalancethicknessAnalysisEnum;508 508 else stage=5; 509 509 } 510 510 if(stage==5){ 511 if (strcmp(name,"AdjointBalancethickness2Analysis")==0) return AdjointBalancethickness2AnalysisEnum; 511 if (strcmp(name,"AdjointBalancethicknessAnalysis")==0) return AdjointBalancethicknessAnalysisEnum; 512 else if (strcmp(name,"AdjointBalancethickness2Analysis")==0) return AdjointBalancethickness2AnalysisEnum; 512 513 else if (strcmp(name,"AdjointHorizAnalysis")==0) return AdjointHorizAnalysisEnum; 513 514 else if (strcmp(name,"AnalysisCounter")==0) return AnalysisCounterEnum; … … 628 629 else if (strcmp(name,"Masscon")==0) return MassconEnum; 629 630 else if (strcmp(name,"MassconName")==0) return MassconNameEnum; 630 else if (strcmp(name,"MassconDefinitionenum")==0) return MassconDefinitionenumEnum;631 631 else stage=6; 632 632 } 633 633 if(stage==6){ 634 if (strcmp(name,"MassconLevelset")==0) return MassconLevelsetEnum; 634 if (strcmp(name,"MassconDefinitionenum")==0) return MassconDefinitionenumEnum; 635 else if (strcmp(name,"MassconLevelset")==0) return MassconLevelsetEnum; 635 636 else if (strcmp(name,"Massconaxpby")==0) return MassconaxpbyEnum; 636 637 else if (strcmp(name,"MassconaxpbyName")==0) return MassconaxpbyNameEnum; … … 751 752 else if (strcmp(name,"DeviatoricStressxy")==0) return DeviatoricStressxyEnum; 752 753 else if (strcmp(name,"DeviatoricStressxz")==0) return DeviatoricStressxzEnum; 753 else if (strcmp(name,"DeviatoricStressyy")==0) return DeviatoricStressyyEnum;754 754 else stage=7; 755 755 } 756 756 if(stage==7){ 757 if (strcmp(name,"DeviatoricStressyz")==0) return DeviatoricStressyzEnum; 757 if (strcmp(name,"DeviatoricStressyy")==0) return DeviatoricStressyyEnum; 758 else if (strcmp(name,"DeviatoricStressyz")==0) return DeviatoricStressyzEnum; 758 759 else if (strcmp(name,"DeviatoricStresszz")==0) return DeviatoricStresszzEnum; 759 760 else if (strcmp(name,"DeviatoricStresseffective")==0) return DeviatoricStresseffectiveEnum; … … 874 875 else if (strcmp(name,"Outputdefinition68")==0) return Outputdefinition68Enum; 875 876 else if (strcmp(name,"Outputdefinition69")==0) return Outputdefinition69Enum; 876 else if (strcmp(name,"Outputdefinition70")==0) return Outputdefinition70Enum;877 877 else stage=8; 878 878 } 879 879 if(stage==8){ 880 if (strcmp(name,"Outputdefinition71")==0) return Outputdefinition71Enum; 880 if (strcmp(name,"Outputdefinition70")==0) return Outputdefinition70Enum; 881 else if (strcmp(name,"Outputdefinition71")==0) return Outputdefinition71Enum; 881 882 else if (strcmp(name,"Outputdefinition72")==0) return Outputdefinition72Enum; 882 883 else if (strcmp(name,"Outputdefinition73")==0) return Outputdefinition73Enum; … … 997 998 else if (strcmp(name,"RestartFileName")==0) return RestartFileNameEnum; 998 999 else if (strcmp(name,"ToolkitsOptionsAnalyses")==0) return ToolkitsOptionsAnalysesEnum; 999 else if (strcmp(name,"ToolkitsOptionsStrings")==0) return ToolkitsOptionsStringsEnum;1000 1000 else stage=9; 1001 1001 } 1002 1002 if(stage==9){ 1003 if (strcmp(name,"QmuErrName")==0) return QmuErrNameEnum; 1003 if (strcmp(name,"ToolkitsOptionsStrings")==0) return ToolkitsOptionsStringsEnum; 1004 else if (strcmp(name,"QmuErrName")==0) return QmuErrNameEnum; 1004 1005 else if (strcmp(name,"QmuInName")==0) return QmuInNameEnum; 1005 1006 else if (strcmp(name,"QmuOutName")==0) return QmuOutNameEnum;
Note:
See TracChangeset
for help on using the changeset viewer.