Changeset 21385
- Timestamp:
- 11/17/16 09:28:53 (8 years ago)
- Location:
- issm/trunk-jpl/src/c/shared/Enum
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/shared/Enum/EnumToStringx.cpp
r21344 r21385 220 220 case MaterialsRheologyLawEnum : return "MaterialsRheologyLaw"; 221 221 case MaterialsRheologyNEnum : return "MaterialsRheologyN"; 222 case MaterialsRheologyKoEnum : return "MaterialsRheologyKo";223 case MaterialsRheologyKobarEnum : return "MaterialsRheologyKobar";224 222 case MaterialsRheologyEcEnum : return "MaterialsRheologyEc"; 225 223 case MaterialsRheologyEcbarEnum : return "MaterialsRheologyEcbar"; -
issm/trunk-jpl/src/c/shared/Enum/StringToEnumx.cpp
r21344 r21385 223 223 else if (strcmp(name,"MaterialsRheologyLaw")==0) return MaterialsRheologyLawEnum; 224 224 else if (strcmp(name,"MaterialsRheologyN")==0) return MaterialsRheologyNEnum; 225 else if (strcmp(name,"MaterialsRheologyKo")==0) return MaterialsRheologyKoEnum;226 else if (strcmp(name,"MaterialsRheologyKobar")==0) return MaterialsRheologyKobarEnum;227 225 else if (strcmp(name,"MaterialsRheologyEc")==0) return MaterialsRheologyEcEnum; 228 226 else if (strcmp(name,"MaterialsRheologyEcbar")==0) return MaterialsRheologyEcbarEnum; … … 260 258 else if (strcmp(name,"CalvinglevermannMeltingrate")==0) return CalvinglevermannMeltingrateEnum; 261 259 else if (strcmp(name,"CalvingdevCoeff")==0) return CalvingdevCoeffEnum; 260 else if (strcmp(name,"Calvingratex")==0) return CalvingratexEnum; 261 else if (strcmp(name,"Calvingratey")==0) return CalvingrateyEnum; 262 262 else stage=3; 263 263 } 264 264 if(stage==3){ 265 if (strcmp(name,"Calvingratex")==0) return CalvingratexEnum; 266 else if (strcmp(name,"Calvingratey")==0) return CalvingrateyEnum; 267 else if (strcmp(name,"CalvingratexAverage")==0) return CalvingratexAverageEnum; 265 if (strcmp(name,"CalvingratexAverage")==0) return CalvingratexAverageEnum; 268 266 else if (strcmp(name,"CalvingrateyAverage")==0) return CalvingrateyAverageEnum; 269 267 else if (strcmp(name,"StrainRateparallel")==0) return StrainRateparallelEnum; … … 383 381 else if (strcmp(name,"SmbSizeini")==0) return SmbSizeiniEnum; 384 382 else if (strcmp(name,"SMBforcing")==0) return SMBforcingEnum; 383 else if (strcmp(name,"SmbMassBalance")==0) return SmbMassBalanceEnum; 384 else if (strcmp(name,"SMBgemb")==0) return SMBgembEnum; 385 385 else stage=4; 386 386 } 387 387 if(stage==4){ 388 if (strcmp(name,"SmbMassBalance")==0) return SmbMassBalanceEnum; 389 else if (strcmp(name,"SMBgemb")==0) return SMBgembEnum; 390 else if (strcmp(name,"SmbInitDensityScaling")==0) return SmbInitDensityScalingEnum; 388 if (strcmp(name,"SmbInitDensityScaling")==0) return SmbInitDensityScalingEnum; 391 389 else if (strcmp(name,"SmbTa")==0) return SmbTaEnum; 392 390 else if (strcmp(name,"SmbV")==0) return SmbVEnum; … … 506 504 else if (strcmp(name,"VxAverage")==0) return VxAverageEnum; 507 505 else if (strcmp(name,"Vx")==0) return VxEnum; 506 else if (strcmp(name,"VxPicard")==0) return VxPicardEnum; 507 else if (strcmp(name,"VyAverage")==0) return VyAverageEnum; 508 508 else stage=5; 509 509 } 510 510 if(stage==5){ 511 if (strcmp(name,"VxPicard")==0) return VxPicardEnum; 512 else if (strcmp(name,"VyAverage")==0) return VyAverageEnum; 513 else if (strcmp(name,"Vy")==0) return VyEnum; 511 if (strcmp(name,"Vy")==0) return VyEnum; 514 512 else if (strcmp(name,"VyPicard")==0) return VyPicardEnum; 515 513 else if (strcmp(name,"Vz")==0) return VzEnum; … … 629 627 else if (strcmp(name,"Outputdefinition46")==0) return Outputdefinition46Enum; 630 628 else if (strcmp(name,"Outputdefinition47")==0) return Outputdefinition47Enum; 629 else if (strcmp(name,"Outputdefinition48")==0) return Outputdefinition48Enum; 630 else if (strcmp(name,"Outputdefinition49")==0) return Outputdefinition49Enum; 631 631 else stage=6; 632 632 } 633 633 if(stage==6){ 634 if (strcmp(name,"Outputdefinition48")==0) return Outputdefinition48Enum; 635 else if (strcmp(name,"Outputdefinition49")==0) return Outputdefinition49Enum; 636 else if (strcmp(name,"Outputdefinition50")==0) return Outputdefinition50Enum; 634 if (strcmp(name,"Outputdefinition50")==0) return Outputdefinition50Enum; 637 635 else if (strcmp(name,"Outputdefinition51")==0) return Outputdefinition51Enum; 638 636 else if (strcmp(name,"Outputdefinition52")==0) return Outputdefinition52Enum; … … 752 750 else if (strcmp(name,"LliboutryDuval")==0) return LliboutryDuvalEnum; 753 751 else if (strcmp(name,"ExtrapolationVariable")==0) return ExtrapolationVariableEnum; 752 else if (strcmp(name,"IceMaskNodeActivation")==0) return IceMaskNodeActivationEnum; 753 else if (strcmp(name,"LevelsetfunctionSlopeX")==0) return LevelsetfunctionSlopeXEnum; 754 754 else stage=7; 755 755 } 756 756 if(stage==7){ 757 if (strcmp(name,"IceMaskNodeActivation")==0) return IceMaskNodeActivationEnum; 758 else if (strcmp(name,"LevelsetfunctionSlopeX")==0) return LevelsetfunctionSlopeXEnum; 759 else if (strcmp(name,"LevelsetfunctionSlopeY")==0) return LevelsetfunctionSlopeYEnum; 757 if (strcmp(name,"LevelsetfunctionSlopeY")==0) return LevelsetfunctionSlopeYEnum; 760 758 else if (strcmp(name,"LevelsetfunctionPicard")==0) return LevelsetfunctionPicardEnum; 761 759 else if (strcmp(name,"LevelsetReinitFrequency")==0) return LevelsetReinitFrequencyEnum; … … 875 873 else if (strcmp(name,"L2ProjectionEPLAnalysis")==0) return L2ProjectionEPLAnalysisEnum; 876 874 else if (strcmp(name,"L2ProjectionBaseAnalysis")==0) return L2ProjectionBaseAnalysisEnum; 875 else if (strcmp(name,"BedSlopeSolution")==0) return BedSlopeSolutionEnum; 876 else if (strcmp(name,"DamageEvolutionSolution")==0) return DamageEvolutionSolutionEnum; 877 877 else stage=8; 878 878 } 879 879 if(stage==8){ 880 if (strcmp(name,"BedSlopeSolution")==0) return BedSlopeSolutionEnum; 881 else if (strcmp(name,"DamageEvolutionSolution")==0) return DamageEvolutionSolutionEnum; 882 else if (strcmp(name,"DamageEvolutionAnalysis")==0) return DamageEvolutionAnalysisEnum; 880 if (strcmp(name,"DamageEvolutionAnalysis")==0) return DamageEvolutionAnalysisEnum; 883 881 else if (strcmp(name,"StressbalanceAnalysis")==0) return StressbalanceAnalysisEnum; 884 882 else if (strcmp(name,"StressbalanceSIAAnalysis")==0) return StressbalanceSIAAnalysisEnum;
Note:
See TracChangeset
for help on using the changeset viewer.