Changeset 22598
- Timestamp:
- 03/21/18 20:53:16 (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
r22596 r22598 236 236 SealevelriseUElasticEnum, 237 237 SettingsIoGatherEnum, 238 SettingsLowmemEnum, 238 239 SettingsOutputFrequencyEnum, 239 240 SettingsRecordingFrequencyEnum, … … 925 926 SeparateEnum, 926 927 SeqEnum, 927 SettingsLowmemEnum,928 928 SIAApproximationEnum, 929 929 SigmaVMEnum, -
issm/trunk-jpl/src/c/shared/Enum/EnumToStringx.cpp
r22596 r22598 244 244 case SealevelriseUElasticEnum : return "SealevelriseUElastic"; 245 245 case SettingsIoGatherEnum : return "SettingsIoGather"; 246 case SettingsLowmemEnum : return "SettingsLowmem"; 246 247 case SettingsOutputFrequencyEnum : return "SettingsOutputFrequency"; 247 248 case SettingsRecordingFrequencyEnum : return "SettingsRecordingFrequency"; … … 929 930 case SeparateEnum : return "Separate"; 930 931 case SeqEnum : return "Seq"; 931 case SettingsLowmemEnum : return "SettingsLowmem";932 932 case SIAApproximationEnum : return "SIAApproximation"; 933 933 case SigmaVMEnum : return "SigmaVM"; -
issm/trunk-jpl/src/c/shared/Enum/StringToEnumx.cpp
r22596 r22598 247 247 else if (strcmp(name,"SealevelriseUElastic")==0) return SealevelriseUElasticEnum; 248 248 else if (strcmp(name,"SettingsIoGather")==0) return SettingsIoGatherEnum; 249 else if (strcmp(name,"SettingsLowmem")==0) return SettingsLowmemEnum; 249 250 else if (strcmp(name,"SettingsOutputFrequency")==0) return SettingsOutputFrequencyEnum; 250 251 else if (strcmp(name,"SettingsRecordingFrequency")==0) return SettingsRecordingFrequencyEnum; … … 259 260 else if (strcmp(name,"SmbDelta18o")==0) return SmbDelta18oEnum; 260 261 else if (strcmp(name,"SmbDelta18oSurface")==0) return SmbDelta18oSurfaceEnum; 261 else if (strcmp(name,"SmbDenIdx")==0) return SmbDenIdxEnum;262 262 else stage=3; 263 263 } 264 264 if(stage==3){ 265 if (strcmp(name,"SmbDt")==0) return SmbDtEnum; 265 if (strcmp(name,"SmbDenIdx")==0) return SmbDenIdxEnum; 266 else if (strcmp(name,"SmbDt")==0) return SmbDtEnum; 266 267 else if (strcmp(name,"Smb")==0) return SmbEnum; 267 268 else if (strcmp(name,"SmbF")==0) return SmbFEnum; … … 382 383 else if (strcmp(name,"Calvingratey")==0) return CalvingrateyEnum; 383 384 else if (strcmp(name,"CalvingStressThresholdFloatingice")==0) return CalvingStressThresholdFloatingiceEnum; 384 else if (strcmp(name,"CalvingStressThresholdGroundedice")==0) return CalvingStressThresholdGroundediceEnum;385 385 else stage=4; 386 386 } 387 387 if(stage==4){ 388 if (strcmp(name,"Converged")==0) return ConvergedEnum; 388 if (strcmp(name,"CalvingStressThresholdGroundedice")==0) return CalvingStressThresholdGroundediceEnum; 389 else if (strcmp(name,"Converged")==0) return ConvergedEnum; 389 390 else if (strcmp(name,"CrevasseDepth")==0) return CrevasseDepthEnum; 390 391 else if (strcmp(name,"DamageDbar")==0) return DamageDbarEnum; … … 505 506 else if (strcmp(name,"SmbDlwrf")==0) return SmbDlwrfEnum; 506 507 else if (strcmp(name,"SmbDswrf")==0) return SmbDswrfEnum; 507 else if (strcmp(name,"SmbDz")==0) return SmbDzEnum;508 508 else stage=5; 509 509 } 510 510 if(stage==5){ 511 if (strcmp(name,"SmbDzini")==0) return SmbDziniEnum; 511 if (strcmp(name,"SmbDz")==0) return SmbDzEnum; 512 else if (strcmp(name,"SmbDzini")==0) return SmbDziniEnum; 512 513 else if (strcmp(name,"SmbDzMin")==0) return SmbDzMinEnum; 513 514 else if (strcmp(name,"SmbDzTop")==0) return SmbDzTopEnum; … … 628 629 else if (strcmp(name,"AutodiffKeep")==0) return AutodiffKeepEnum; 629 630 else if (strcmp(name,"Balancethickness2Analysis")==0) return Balancethickness2AnalysisEnum; 630 else if (strcmp(name,"Balancethickness2Solution")==0) return Balancethickness2SolutionEnum;631 631 else stage=6; 632 632 } 633 633 if(stage==6){ 634 if (strcmp(name,"BalancethicknessAnalysis")==0) return BalancethicknessAnalysisEnum; 634 if (strcmp(name,"Balancethickness2Solution")==0) return Balancethickness2SolutionEnum; 635 else if (strcmp(name,"BalancethicknessAnalysis")==0) return BalancethicknessAnalysisEnum; 635 636 else if (strcmp(name,"BalancethicknessApparentMassbalance")==0) return BalancethicknessApparentMassbalanceEnum; 636 637 else if (strcmp(name,"BalancethicknessSoftAnalysis")==0) return BalancethicknessSoftAnalysisEnum; … … 751 752 else if (strcmp(name,"Gset")==0) return GsetEnum; 752 753 else if (strcmp(name,"Gsl")==0) return GslEnum; 753 else if (strcmp(name,"HOApproximation")==0) return HOApproximationEnum;754 754 else stage=7; 755 755 } 756 756 if(stage==7){ 757 if (strcmp(name,"HOFSApproximation")==0) return HOFSApproximationEnum; 757 if (strcmp(name,"HOApproximation")==0) return HOApproximationEnum; 758 else if (strcmp(name,"HOFSApproximation")==0) return HOFSApproximationEnum; 758 759 else if (strcmp(name,"Hook")==0) return HookEnum; 759 760 else if (strcmp(name,"HydrologyBasalFlux")==0) return HydrologyBasalFluxEnum; … … 874 875 else if (strcmp(name,"MINI")==0) return MINIEnum; 875 876 else if (strcmp(name,"MinVel")==0) return MinVelEnum; 876 else if (strcmp(name,"MinVx")==0) return MinVxEnum;877 877 else stage=8; 878 878 } 879 879 if(stage==8){ 880 if (strcmp(name,"MinVy")==0) return MinVyEnum; 880 if (strcmp(name,"MinVx")==0) return MinVxEnum; 881 else if (strcmp(name,"MinVy")==0) return MinVyEnum; 881 882 else if (strcmp(name,"MinVz")==0) return MinVzEnum; 882 883 else if (strcmp(name,"MismipFloatingMeltRate")==0) return MismipFloatingMeltRateEnum; … … 950 951 else if (strcmp(name,"Separate")==0) return SeparateEnum; 951 952 else if (strcmp(name,"Seq")==0) return SeqEnum; 952 else if (strcmp(name,"SettingsLowmem")==0) return SettingsLowmemEnum;953 953 else if (strcmp(name,"SIAApproximation")==0) return SIAApproximationEnum; 954 954 else if (strcmp(name,"SigmaVM")==0) return SigmaVMEnum;
Note:
See TracChangeset
for help on using the changeset viewer.