Changeset 25352
- Timestamp:
- 08/05/20 13:36:42 (5 years ago)
- Location:
- issm/branches/trunk-larour-SLPS2020/src/c/shared/Enum
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/branches/trunk-larour-SLPS2020/src/c/shared/Enum/Enum.vim
r25349 r25352 298 298 syn keyword cConstant QmuOutputEnum 299 299 syn keyword cConstant QmuCurrEvalIdEnum 300 syn keyword cConstant QmuNsampleEnum 300 301 syn keyword cConstant QmuResponsedescriptorsEnum 301 302 syn keyword cConstant QmuVariableDescriptorsEnum -
issm/branches/trunk-larour-SLPS2020/src/c/shared/Enum/EnumDefinitions.h
r25347 r25352 292 292 QmuOutputEnum, 293 293 QmuCurrEvalIdEnum, 294 QmuNsampleEnum, 294 295 QmuResponsedescriptorsEnum, 295 296 QmuVariableDescriptorsEnum, -
issm/branches/trunk-larour-SLPS2020/src/c/shared/Enum/EnumToStringx.cpp
r25349 r25352 300 300 case QmuOutputEnum : return "QmuOutput"; 301 301 case QmuCurrEvalIdEnum : return "QmuCurrEvalId"; 302 case QmuNsampleEnum : return "QmuNsample"; 302 303 case QmuResponsedescriptorsEnum : return "QmuResponsedescriptors"; 303 304 case QmuVariableDescriptorsEnum : return "QmuVariableDescriptors"; -
issm/branches/trunk-larour-SLPS2020/src/c/shared/Enum/StringToEnumx.cpp
r25349 r25352 306 306 else if (strcmp(name,"QmuOutput")==0) return QmuOutputEnum; 307 307 else if (strcmp(name,"QmuCurrEvalId")==0) return QmuCurrEvalIdEnum; 308 else if (strcmp(name,"QmuNsample")==0) return QmuNsampleEnum; 308 309 else if (strcmp(name,"QmuResponsedescriptors")==0) return QmuResponsedescriptorsEnum; 309 310 else if (strcmp(name,"QmuVariableDescriptors")==0) return QmuVariableDescriptorsEnum; … … 382 383 else if (strcmp(name,"SmbIsdelta18o")==0) return SmbIsdelta18oEnum; 383 384 else if (strcmp(name,"SmbIsdensification")==0) return SmbIsdensificationEnum; 384 else if (strcmp(name,"SmbIsfirnwarming")==0) return SmbIsfirnwarmingEnum;385 385 else stage=4; 386 386 } 387 387 if(stage==4){ 388 if (strcmp(name,"SmbIsgraingrowth")==0) return SmbIsgraingrowthEnum; 388 if (strcmp(name,"SmbIsfirnwarming")==0) return SmbIsfirnwarmingEnum; 389 else if (strcmp(name,"SmbIsgraingrowth")==0) return SmbIsgraingrowthEnum; 389 390 else if (strcmp(name,"SmbIsmelt")==0) return SmbIsmeltEnum; 390 391 else if (strcmp(name,"SmbIsmungsm")==0) return SmbIsmungsmEnum; … … 505 506 else if (strcmp(name,"BasalforcingsPicoOverturningCoeff")==0) return BasalforcingsPicoOverturningCoeffEnum; 506 507 else if (strcmp(name,"BasalforcingsPicoSubShelfOceanOverturning")==0) return BasalforcingsPicoSubShelfOceanOverturningEnum; 507 else if (strcmp(name,"BasalforcingsPicoSubShelfOceanSalinity")==0) return BasalforcingsPicoSubShelfOceanSalinityEnum;508 508 else stage=5; 509 509 } 510 510 if(stage==5){ 511 if (strcmp(name,"BasalforcingsPicoSubShelfOceanTemp")==0) return BasalforcingsPicoSubShelfOceanTempEnum; 511 if (strcmp(name,"BasalforcingsPicoSubShelfOceanSalinity")==0) return BasalforcingsPicoSubShelfOceanSalinityEnum; 512 else if (strcmp(name,"BasalforcingsPicoSubShelfOceanTemp")==0) return BasalforcingsPicoSubShelfOceanTempEnum; 512 513 else if (strcmp(name,"BasalStressx")==0) return BasalStressxEnum; 513 514 else if (strcmp(name,"BasalStressy")==0) return BasalStressyEnum; … … 628 629 else if (strcmp(name,"HydrologydcMaskEplactiveNode")==0) return HydrologydcMaskEplactiveNodeEnum; 629 630 else if (strcmp(name,"HydrologydcMaskThawedElt")==0) return HydrologydcMaskThawedEltEnum; 630 else if (strcmp(name,"HydrologydcMaskThawedNode")==0) return HydrologydcMaskThawedNodeEnum;631 631 else stage=6; 632 632 } 633 633 if(stage==6){ 634 if (strcmp(name,"HydrologydcSedimentTransmitivity")==0) return HydrologydcSedimentTransmitivityEnum; 634 if (strcmp(name,"HydrologydcMaskThawedNode")==0) return HydrologydcMaskThawedNodeEnum; 635 else if (strcmp(name,"HydrologydcSedimentTransmitivity")==0) return HydrologydcSedimentTransmitivityEnum; 635 636 else if (strcmp(name,"HydrologyDrainageRate")==0) return HydrologyDrainageRateEnum; 636 637 else if (strcmp(name,"HydrologyEnglacialInput")==0) return HydrologyEnglacialInputEnum; … … 751 752 else if (strcmp(name,"SmbDzAdd")==0) return SmbDzAddEnum; 752 753 else if (strcmp(name,"SmbDz")==0) return SmbDzEnum; 753 else if (strcmp(name,"SmbDzMin")==0) return SmbDzMinEnum;754 754 else stage=7; 755 755 } 756 756 if(stage==7){ 757 if (strcmp(name,"SmbDzTop")==0) return SmbDzTopEnum; 757 if (strcmp(name,"SmbDzMin")==0) return SmbDzMinEnum; 758 else if (strcmp(name,"SmbDzTop")==0) return SmbDzTopEnum; 758 759 else if (strcmp(name,"SmbDzini")==0) return SmbDziniEnum; 759 760 else if (strcmp(name,"SmbEAir")==0) return SmbEAirEnum; … … 874 875 else if (strcmp(name,"VxObs")==0) return VxObsEnum; 875 876 else if (strcmp(name,"VyAverage")==0) return VyAverageEnum; 876 else if (strcmp(name,"Vy")==0) return VyEnum;877 877 else stage=8; 878 878 } 879 879 if(stage==8){ 880 if (strcmp(name,"VyMesh")==0) return VyMeshEnum; 880 if (strcmp(name,"Vy")==0) return VyEnum; 881 else if (strcmp(name,"VyMesh")==0) return VyMeshEnum; 881 882 else if (strcmp(name,"VyObs")==0) return VyObsEnum; 882 883 else if (strcmp(name,"Vz")==0) return VzEnum; … … 997 998 else if (strcmp(name,"AdjointBalancethickness2Analysis")==0) return AdjointBalancethickness2AnalysisEnum; 998 999 else if (strcmp(name,"AdjointBalancethicknessAnalysis")==0) return AdjointBalancethicknessAnalysisEnum; 999 else if (strcmp(name,"AdjointHorizAnalysis")==0) return AdjointHorizAnalysisEnum;1000 1000 else stage=9; 1001 1001 } 1002 1002 if(stage==9){ 1003 if (strcmp(name,"AggressiveMigration")==0) return AggressiveMigrationEnum; 1003 if (strcmp(name,"AdjointHorizAnalysis")==0) return AdjointHorizAnalysisEnum; 1004 else if (strcmp(name,"AggressiveMigration")==0) return AggressiveMigrationEnum; 1004 1005 else if (strcmp(name,"AmrBamg")==0) return AmrBamgEnum; 1005 1006 else if (strcmp(name,"AmrNeopz")==0) return AmrNeopzEnum; … … 1120 1121 else if (strcmp(name,"GroundedAreaScaled")==0) return GroundedAreaScaledEnum; 1121 1122 else if (strcmp(name,"GroundingOnly")==0) return GroundingOnlyEnum; 1122 else if (strcmp(name,"GroundinglineMassFlux")==0) return GroundinglineMassFluxEnum;1123 1123 else stage=10; 1124 1124 } 1125 1125 if(stage==10){ 1126 if (strcmp(name,"Gset")==0) return GsetEnum; 1126 if (strcmp(name,"GroundinglineMassFlux")==0) return GroundinglineMassFluxEnum; 1127 else if (strcmp(name,"Gset")==0) return GsetEnum; 1127 1128 else if (strcmp(name,"Gsl")==0) return GslEnum; 1128 1129 else if (strcmp(name,"HOApproximation")==0) return HOApproximationEnum; … … 1243 1244 else if (strcmp(name,"Option")==0) return OptionEnum; 1244 1245 else if (strcmp(name,"Param")==0) return ParamEnum; 1245 else if (strcmp(name,"Parameters")==0) return ParametersEnum;1246 1246 else stage=11; 1247 1247 } 1248 1248 if(stage==11){ 1249 if (strcmp(name,"P0Array")==0) return P0ArrayEnum; 1249 if (strcmp(name,"Parameters")==0) return ParametersEnum; 1250 else if (strcmp(name,"P0Array")==0) return P0ArrayEnum; 1250 1251 else if (strcmp(name,"P0DG")==0) return P0DGEnum; 1251 1252 else if (strcmp(name,"P1DG")==0) return P1DGEnum; … … 1366 1367 else if (strcmp(name,"XY")==0) return XYEnum; 1367 1368 else if (strcmp(name,"XYZ")==0) return XYZEnum; 1368 else if (strcmp(name,"BalancethicknessD0")==0) return BalancethicknessD0Enum;1369 1369 else stage=12; 1370 1370 } 1371 1371 if(stage==12){ 1372 if (strcmp(name,"BalancethicknessDiffusionCoefficient")==0) return BalancethicknessDiffusionCoefficientEnum; 1372 if (strcmp(name,"BalancethicknessD0")==0) return BalancethicknessD0Enum; 1373 else if (strcmp(name,"BalancethicknessDiffusionCoefficient")==0) return BalancethicknessDiffusionCoefficientEnum; 1373 1374 else if (strcmp(name,"BilinearInterp")==0) return BilinearInterpEnum; 1374 1375 else if (strcmp(name,"CalvingdevCoeff")==0) return CalvingdevCoeffEnum;
Note:
See TracChangeset
for help on using the changeset viewer.