Changeset 22468
- Timestamp:
- 02/26/18 10:31:32 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/shared/Enum/StringToEnumx.cpp
r22463 r22468 89 89 else if (strcmp(name,"MismipFloatingMeltRate")==0) return MismipFloatingMeltRateEnum; 90 90 else if (strcmp(name,"MantlePlumeGeothermalFlux")==0) return MantlePlumeGeothermalFluxEnum; 91 else if (strcmp(name,"BasalforcingsPico")==0) return BasalforcingsPicoEnum; 92 else if (strcmp(name,"BasalforcingsPicoNumBasins")==0) return BasalforcingsPicoNumBasinsEnum; 93 else if (strcmp(name,"BasalforcingsPicoBasinId")==0) return BasalforcingsPicoBasinIdEnum; 94 else if (strcmp(name,"BasalforcingsPicoMaxboxcount")==0) return BasalforcingsPicoMaxboxcountEnum; 95 else if (strcmp(name,"BasalforcingsPicoOverturningCoeff")==0) return BasalforcingsPicoOverturningCoeffEnum; 96 else if (strcmp(name,"BasalforcingsPicoGammaT")==0) return BasalforcingsPicoGammaTEnum; 97 else if (strcmp(name,"BasalforcingsPicoBox0temperature")==0) return BasalforcingsPicoBox0temperatureEnum; 98 else if (strcmp(name,"BasalforcingsPicoBox0salinity")==0) return BasalforcingsPicoBox0salinityEnum; 91 99 else if (strcmp(name,"Bed")==0) return BedEnum; 92 100 else if (strcmp(name,"Base")==0) return BaseEnum; … … 129 137 else if (strcmp(name,"FrictionGamma")==0) return FrictionGammaEnum; 130 138 else if (strcmp(name,"FrictionF")==0) return FrictionFEnum; 131 else if (strcmp(name,"FrictionWaterLayer")==0) return FrictionWaterLayerEnum; 139 else stage=2; 140 } 141 if(stage==2){ 142 if (strcmp(name,"FrictionWaterLayer")==0) return FrictionWaterLayerEnum; 132 143 else if (strcmp(name,"FrictionEffectivePressure")==0) return FrictionEffectivePressureEnum; 133 144 else if (strcmp(name,"FrictionCoupling")==0) return FrictionCouplingEnum; … … 137 148 else if (strcmp(name,"HydrologyRequestedOutputs")==0) return HydrologyRequestedOutputsEnum; 138 149 else if (strcmp(name,"Hydrologyshreve")==0) return HydrologyshreveEnum; 139 else stage=2; 140 } 141 if(stage==2){ 142 if (strcmp(name,"HydrologyshreveStabilization")==0) return HydrologyshreveStabilizationEnum; 150 else if (strcmp(name,"HydrologyshreveStabilization")==0) return HydrologyshreveStabilizationEnum; 143 151 else if (strcmp(name,"Hydrologydc")==0) return HydrologydcEnum; 144 152 else if (strcmp(name,"Hydrologydt")==0) return HydrologydtEnum; … … 252 260 else if (strcmp(name,"MaterialsRheologyEsbar")==0) return MaterialsRheologyEsbarEnum; 253 261 else if (strcmp(name,"DamageD")==0) return DamageDEnum; 254 else if (strcmp(name,"DamageF")==0) return DamageFEnum; 262 else stage=3; 263 } 264 if(stage==3){ 265 if (strcmp(name,"DamageF")==0) return DamageFEnum; 255 266 else if (strcmp(name,"DamageDbar")==0) return DamageDbarEnum; 256 267 else if (strcmp(name,"DamageLaw")==0) return DamageLawEnum; … … 260 271 else if (strcmp(name,"DamageC4")==0) return DamageC4Enum; 261 272 else if (strcmp(name,"DamageElementinterp")==0) return DamageElementinterpEnum; 262 else stage=3; 263 } 264 if(stage==3){ 265 if (strcmp(name,"DamageHealing")==0) return DamageHealingEnum; 273 else if (strcmp(name,"DamageHealing")==0) return DamageHealingEnum; 266 274 else if (strcmp(name,"DamageStressThreshold")==0) return DamageStressThresholdEnum; 267 275 else if (strcmp(name,"DamageKappa")==0) return DamageKappaEnum; … … 375 383 else if (strcmp(name,"ThermalPenaltyFactor")==0) return ThermalPenaltyFactorEnum; 376 384 else if (strcmp(name,"ThermalPenaltyLock")==0) return ThermalPenaltyLockEnum; 377 else if (strcmp(name,"ThermalPenaltyThreshold")==0) return ThermalPenaltyThresholdEnum; 385 else stage=4; 386 } 387 if(stage==4){ 388 if (strcmp(name,"ThermalPenaltyThreshold")==0) return ThermalPenaltyThresholdEnum; 378 389 else if (strcmp(name,"ThermalSpctemperature")==0) return ThermalSpctemperatureEnum; 379 390 else if (strcmp(name,"ThermalStabilization")==0) return ThermalStabilizationEnum; … … 383 394 else if (strcmp(name,"GiaLithosphereThickness")==0) return GiaLithosphereThicknessEnum; 384 395 else if (strcmp(name,"Thickness")==0) return ThicknessEnum; 385 else stage=4; 386 } 387 if(stage==4){ 388 if (strcmp(name,"TimesteppingStartTime")==0) return TimesteppingStartTimeEnum; 396 else if (strcmp(name,"TimesteppingStartTime")==0) return TimesteppingStartTimeEnum; 389 397 else if (strcmp(name,"TimesteppingFinalTime")==0) return TimesteppingFinalTimeEnum; 390 398 else if (strcmp(name,"TimesteppingCflCoefficient")==0) return TimesteppingCflCoefficientEnum; … … 504 512 else if (strcmp(name,"SmbPfac")==0) return SmbPfacEnum; 505 513 else if (strcmp(name,"SmbTdiff")==0) return SmbTdiffEnum; 506 else if (strcmp(name,"SmbSealev")==0) return SmbSealevEnum; 514 else stage=5; 515 } 516 if(stage==5){ 517 if (strcmp(name,"SmbSealev")==0) return SmbSealevEnum; 507 518 else if (strcmp(name,"SMBd18opdd")==0) return SMBd18opddEnum; 508 519 else stage=5; … … 627 638 else if (strcmp(name,"MaxDivergence")==0) return MaxDivergenceEnum; 628 639 else if (strcmp(name,"GiaCrossSectionShape")==0) return GiaCrossSectionShapeEnum; 629 else if (strcmp(name,"GiadWdt")==0) return GiadWdtEnum; 640 else stage=6; 641 } 642 if(stage==6){ 643 if (strcmp(name,"GiadWdt")==0) return GiadWdtEnum; 630 644 else if (strcmp(name,"GiaW")==0) return GiaWEnum; 631 645 else stage=6; … … 750 764 else if (strcmp(name,"Nodalvalue")==0) return NodalvalueEnum; 751 765 else if (strcmp(name,"Regionaloutput")==0) return RegionaloutputEnum; 752 else if (strcmp(name,"VxObs")==0) return VxObsEnum; 766 else stage=7; 767 } 768 if(stage==7){ 769 if (strcmp(name,"VxObs")==0) return VxObsEnum; 753 770 else if (strcmp(name,"VyObs")==0) return VyObsEnum; 754 771 else stage=7; … … 873 890 else if (strcmp(name,"LoveLi")==0) return LoveLiEnum; 874 891 else if (strcmp(name,"LoveKernels")==0) return LoveKernelsEnum; 875 else if (strcmp(name,"LoveKernelsReal")==0) return LoveKernelsRealEnum; 892 else stage=8; 893 } 894 if(stage==8){ 895 if (strcmp(name,"LoveKernelsReal")==0) return LoveKernelsRealEnum; 876 896 else if (strcmp(name,"LoveKernelsImag")==0) return LoveKernelsImagEnum; 877 897 else stage=8; … … 947 967 else if (strcmp(name,"IntVecParam")==0) return IntVecParamEnum; 948 968 else if (strcmp(name,"TransientParam")==0) return TransientParamEnum; 969 else if (strcmp(name,"TransientArrayParam")==0) return TransientArrayParamEnum; 949 970 else if (strcmp(name,"Matice")==0) return MaticeEnum; 950 971 else if (strcmp(name,"Matlitho")==0) return MatlithoEnum; … … 995 1016 else if (strcmp(name,"BalancethicknessSolution")==0) return BalancethicknessSolutionEnum; 996 1017 else if (strcmp(name,"Balancethickness2Analysis")==0) return Balancethickness2AnalysisEnum; 997 else if (strcmp(name,"Balancethickness2Solution")==0) return Balancethickness2SolutionEnum; 1018 else stage=9; 1019 } 1020 if(stage==9){ 1021 if (strcmp(name,"Balancethickness2Solution")==0) return Balancethickness2SolutionEnum; 998 1022 else if (strcmp(name,"BalancethicknessSoftAnalysis")==0) return BalancethicknessSoftAnalysisEnum; 999 1023 else if (strcmp(name,"BalancethicknessSoftSolution")==0) return BalancethicknessSoftSolutionEnum; … … 1118 1142 else if (strcmp(name,"Air")==0) return AirEnum; 1119 1143 else if (strcmp(name,"Ice")==0) return IceEnum; 1120 else if (strcmp(name,"Melange")==0) return MelangeEnum; 1144 else stage=10; 1145 } 1146 if(stage==10){ 1147 if (strcmp(name,"Melange")==0) return MelangeEnum; 1121 1148 else if (strcmp(name,"Water")==0) return WaterEnum; 1122 1149 else if (strcmp(name,"DataSet")==0) return DataSetEnum;
Note:
See TracChangeset
for help on using the changeset viewer.