Changeset 25293 for issm/trunk-jpl/src/c/shared/Enum/StringToEnumx.cpp
- Timestamp:
- 07/20/20 20:55:46 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/shared/Enum/StringToEnumx.cpp
r25252 r25293 840 840 else if (strcmp(name,"SurfaceAbsVelMisfit")==0) return SurfaceAbsVelMisfitEnum; 841 841 else if (strcmp(name,"Area")==0) return AreaEnum; 842 else if (strcmp(name,"SealevelArea")==0) return SealevelAreaEnum; 842 843 else if (strcmp(name,"SurfaceArea")==0) return SurfaceAreaEnum; 843 844 else if (strcmp(name,"SurfaceAverageVelMisfit")==0) return SurfaceAverageVelMisfitEnum; … … 874 875 else if (strcmp(name,"VyObs")==0) return VyObsEnum; 875 876 else if (strcmp(name,"Vz")==0) return VzEnum; 876 else if (strcmp(name,"VzFS")==0) return VzFSEnum;877 877 else stage=8; 878 878 } 879 879 if(stage==8){ 880 if (strcmp(name,"VzHO")==0) return VzHOEnum; 880 if (strcmp(name,"VzFS")==0) return VzFSEnum; 881 else if (strcmp(name,"VzHO")==0) return VzHOEnum; 881 882 else if (strcmp(name,"VzMesh")==0) return VzMeshEnum; 882 883 else if (strcmp(name,"VzSSA")==0) return VzSSAEnum; … … 997 998 else if (strcmp(name,"AmrBamg")==0) return AmrBamgEnum; 998 999 else if (strcmp(name,"AmrNeopz")==0) return AmrNeopzEnum; 999 else if (strcmp(name,"AndroidFrictionCoefficient")==0) return AndroidFrictionCoefficientEnum;1000 1000 else stage=9; 1001 1001 } 1002 1002 if(stage==9){ 1003 if (strcmp(name,"Arrhenius")==0) return ArrheniusEnum; 1003 if (strcmp(name,"AndroidFrictionCoefficient")==0) return AndroidFrictionCoefficientEnum; 1004 else if (strcmp(name,"Arrhenius")==0) return ArrheniusEnum; 1004 1005 else if (strcmp(name,"AutodiffJacobian")==0) return AutodiffJacobianEnum; 1005 1006 else if (strcmp(name,"Balancethickness2Analysis")==0) return Balancethickness2AnalysisEnum; … … 1120 1121 else if (strcmp(name,"Gsl")==0) return GslEnum; 1121 1122 else if (strcmp(name,"HOApproximation")==0) return HOApproximationEnum; 1122 else if (strcmp(name,"HOFSApproximation")==0) return HOFSApproximationEnum;1123 1123 else stage=10; 1124 1124 } 1125 1125 if(stage==10){ 1126 if (strcmp(name,"Hook")==0) return HookEnum; 1126 if (strcmp(name,"HOFSApproximation")==0) return HOFSApproximationEnum; 1127 else if (strcmp(name,"Hook")==0) return HookEnum; 1127 1128 else if (strcmp(name,"HydrologyDCEfficientAnalysis")==0) return HydrologyDCEfficientAnalysisEnum; 1128 1129 else if (strcmp(name,"HydrologyDCInefficientAnalysis")==0) return HydrologyDCInefficientAnalysisEnum; … … 1243 1244 else if (strcmp(name,"P0DG")==0) return P0DGEnum; 1244 1245 else if (strcmp(name,"P1DG")==0) return P1DGEnum; 1245 else if (strcmp(name,"P1P1")==0) return P1P1Enum;1246 1246 else stage=11; 1247 1247 } 1248 1248 if(stage==11){ 1249 if (strcmp(name,"P1P1GLS")==0) return P1P1GLSEnum; 1249 if (strcmp(name,"P1P1")==0) return P1P1Enum; 1250 else if (strcmp(name,"P1P1GLS")==0) return P1P1GLSEnum; 1250 1251 else if (strcmp(name,"P1bubble")==0) return P1bubbleEnum; 1251 1252 else if (strcmp(name,"P1bubblecondensed")==0) return P1bubblecondensedEnum; … … 1366 1367 else if (strcmp(name,"BilinearInterp")==0) return BilinearInterpEnum; 1367 1368 else if (strcmp(name,"CalvingdevCoeff")==0) return CalvingdevCoeffEnum; 1368 else if (strcmp(name,"DeviatoricStress")==0) return DeviatoricStressEnum;1369 1369 else stage=12; 1370 1370 } 1371 1371 if(stage==12){ 1372 if (strcmp(name,"EtaAbsGradient")==0) return EtaAbsGradientEnum; 1372 if (strcmp(name,"DeviatoricStress")==0) return DeviatoricStressEnum; 1373 else if (strcmp(name,"EtaAbsGradient")==0) return EtaAbsGradientEnum; 1373 1374 else if (strcmp(name,"MeshZ")==0) return MeshZEnum; 1374 1375 else if (strcmp(name,"NearestInterp")==0) return NearestInterpEnum;
Note:
See TracChangeset
for help on using the changeset viewer.