Changeset 22599
- Timestamp:
- 03/21/18 21:01:13 (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
r22598 r22599 194 194 MeshAverageVertexConnectivityEnum, 195 195 MeshElementtypeEnum, 196 MeshNumberofelementsEnum, 196 197 MeshNumberoflayersEnum, 197 198 MeshNumberofverticesEnum, … … 847 848 MeshLatEnum, 848 849 MeshLongEnum, 849 MeshNumberofelementsEnum,850 850 MeshXEnum, 851 851 MeshYEnum, -
issm/trunk-jpl/src/c/shared/Enum/EnumToStringx.cpp
r22598 r22599 202 202 case MeshAverageVertexConnectivityEnum : return "MeshAverageVertexConnectivity"; 203 203 case MeshElementtypeEnum : return "MeshElementtype"; 204 case MeshNumberofelementsEnum : return "MeshNumberofelements"; 204 205 case MeshNumberoflayersEnum : return "MeshNumberoflayers"; 205 206 case MeshNumberofverticesEnum : return "MeshNumberofvertices"; … … 851 852 case MeshLatEnum : return "MeshLat"; 852 853 case MeshLongEnum : return "MeshLong"; 853 case MeshNumberofelementsEnum : return "MeshNumberofelements";854 854 case MeshXEnum : return "MeshX"; 855 855 case MeshYEnum : return "MeshY"; -
issm/trunk-jpl/src/c/shared/Enum/StringToEnumx.cpp
r22598 r22599 205 205 else if (strcmp(name,"MeshAverageVertexConnectivity")==0) return MeshAverageVertexConnectivityEnum; 206 206 else if (strcmp(name,"MeshElementtype")==0) return MeshElementtypeEnum; 207 else if (strcmp(name,"MeshNumberofelements")==0) return MeshNumberofelementsEnum; 207 208 else if (strcmp(name,"MeshNumberoflayers")==0) return MeshNumberoflayersEnum; 208 209 else if (strcmp(name,"MeshNumberofvertices")==0) return MeshNumberofverticesEnum; … … 259 260 else if (strcmp(name,"SmbCldFrac")==0) return SmbCldFracEnum; 260 261 else if (strcmp(name,"SmbDelta18o")==0) return SmbDelta18oEnum; 261 else if (strcmp(name,"SmbDelta18oSurface")==0) return SmbDelta18oSurfaceEnum;262 262 else stage=3; 263 263 } 264 264 if(stage==3){ 265 if (strcmp(name,"SmbDenIdx")==0) return SmbDenIdxEnum; 265 if (strcmp(name,"SmbDelta18oSurface")==0) return SmbDelta18oSurfaceEnum; 266 else if (strcmp(name,"SmbDenIdx")==0) return SmbDenIdxEnum; 266 267 else if (strcmp(name,"SmbDt")==0) return SmbDtEnum; 267 268 else if (strcmp(name,"Smb")==0) return SmbEnum; … … 382 383 else if (strcmp(name,"CalvingrateyAverage")==0) return CalvingrateyAverageEnum; 383 384 else if (strcmp(name,"Calvingratey")==0) return CalvingrateyEnum; 384 else if (strcmp(name,"CalvingStressThresholdFloatingice")==0) return CalvingStressThresholdFloatingiceEnum;385 385 else stage=4; 386 386 } 387 387 if(stage==4){ 388 if (strcmp(name,"CalvingStressThresholdGroundedice")==0) return CalvingStressThresholdGroundediceEnum; 388 if (strcmp(name,"CalvingStressThresholdFloatingice")==0) return CalvingStressThresholdFloatingiceEnum; 389 else if (strcmp(name,"CalvingStressThresholdGroundedice")==0) return CalvingStressThresholdGroundediceEnum; 389 390 else if (strcmp(name,"Converged")==0) return ConvergedEnum; 390 391 else if (strcmp(name,"CrevasseDepth")==0) return CrevasseDepthEnum; … … 505 506 else if (strcmp(name,"SmbDini")==0) return SmbDiniEnum; 506 507 else if (strcmp(name,"SmbDlwrf")==0) return SmbDlwrfEnum; 507 else if (strcmp(name,"SmbDswrf")==0) return SmbDswrfEnum;508 508 else stage=5; 509 509 } 510 510 if(stage==5){ 511 if (strcmp(name,"SmbDz")==0) return SmbDzEnum; 511 if (strcmp(name,"SmbDswrf")==0) return SmbDswrfEnum; 512 else if (strcmp(name,"SmbDz")==0) return SmbDzEnum; 512 513 else if (strcmp(name,"SmbDzini")==0) return SmbDziniEnum; 513 514 else if (strcmp(name,"SmbDzMin")==0) return SmbDzMinEnum; … … 628 629 else if (strcmp(name,"AutodiffJacobian")==0) return AutodiffJacobianEnum; 629 630 else if (strcmp(name,"AutodiffKeep")==0) return AutodiffKeepEnum; 630 else if (strcmp(name,"Balancethickness2Analysis")==0) return Balancethickness2AnalysisEnum;631 631 else stage=6; 632 632 } 633 633 if(stage==6){ 634 if (strcmp(name,"Balancethickness2Solution")==0) return Balancethickness2SolutionEnum; 634 if (strcmp(name,"Balancethickness2Analysis")==0) return Balancethickness2AnalysisEnum; 635 else if (strcmp(name,"Balancethickness2Solution")==0) return Balancethickness2SolutionEnum; 635 636 else if (strcmp(name,"BalancethicknessAnalysis")==0) return BalancethicknessAnalysisEnum; 636 637 else if (strcmp(name,"BalancethicknessApparentMassbalance")==0) return BalancethicknessApparentMassbalanceEnum; … … 751 752 else if (strcmp(name,"GroundingOnly")==0) return GroundingOnlyEnum; 752 753 else if (strcmp(name,"Gset")==0) return GsetEnum; 753 else if (strcmp(name,"Gsl")==0) return GslEnum;754 754 else stage=7; 755 755 } 756 756 if(stage==7){ 757 if (strcmp(name,"HOApproximation")==0) return HOApproximationEnum; 757 if (strcmp(name,"Gsl")==0) return GslEnum; 758 else if (strcmp(name,"HOApproximation")==0) return HOApproximationEnum; 758 759 else if (strcmp(name,"HOFSApproximation")==0) return HOFSApproximationEnum; 759 760 else if (strcmp(name,"Hook")==0) return HookEnum; … … 869 870 else if (strcmp(name,"MeshLat")==0) return MeshLatEnum; 870 871 else if (strcmp(name,"MeshLong")==0) return MeshLongEnum; 871 else if (strcmp(name,"MeshNumberofelements")==0) return MeshNumberofelementsEnum;872 872 else if (strcmp(name,"MeshX")==0) return MeshXEnum; 873 873 else if (strcmp(name,"MeshY")==0) return MeshYEnum;
Note:
See TracChangeset
for help on using the changeset viewer.