Changeset 26002
- Timestamp:
- 02/19/21 18:58:08 (4 years ago)
- Location:
- issm/trunk-jpl/src/c/shared/Enum
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/shared/Enum/Enum.vim
r25997 r26002 332 332 syn keyword cConstant RootPathEnum 333 333 syn keyword cConstant ModelnameEnum 334 syn keyword cConstant SamplingAlphaEnum 335 syn keyword cConstant SamplingPhiEnum 336 syn keyword cConstant SamplingNumRequestedOutputsEnum 337 syn keyword cConstant SamplingRequestedOutputsEnum 338 syn keyword cConstant SamplingRobinEnum 339 syn keyword cConstant SamplingSeedEnum 340 syn keyword cConstant SamplingTauEnum 334 341 syn keyword cConstant SaveResultsEnum 335 342 syn keyword cConstant SolidearthPartitionIceEnum … … 488 495 syn keyword cConstant TransientIsmovingfrontEnum 489 496 syn keyword cConstant TransientIsoceancouplingEnum 497 syn keyword cConstant TransientIssamplingEnum 490 498 syn keyword cConstant TransientIsslcEnum 491 499 syn keyword cConstant TransientIssmbEnum … … 715 723 syn keyword cConstant RheologyBInitialguessMisfitEnum 716 724 syn keyword cConstant RheologyBbarAbsGradientEnum 725 syn keyword cConstant SampleEnum 726 syn keyword cConstant SamplingBetaEnum 727 syn keyword cConstant SamplingKappaEnum 717 728 syn keyword cConstant SealevelEnum 718 729 syn keyword cConstant SealevelBarystaticMaskEnum … … 1562 1573 syn keyword cType MasstransportAnalysis 1563 1574 syn keyword cType MeltingAnalysis 1575 syn keyword cType SamplingAnalysis 1564 1576 syn keyword cType SealevelchangeAnalysis 1565 1577 syn keyword cType SmbAnalysis -
issm/trunk-jpl/src/c/shared/Enum/EnumDefinitions.h
r25997 r26002 326 326 RootPathEnum, 327 327 ModelnameEnum, 328 SamplingAlphaEnum, 329 SamplingPhiEnum, 330 SamplingNumRequestedOutputsEnum, 331 SamplingRequestedOutputsEnum, 332 SamplingRobinEnum, 333 SamplingSeedEnum, 334 SamplingTauEnum, 328 335 SaveResultsEnum, 329 336 SolidearthPartitionIceEnum, … … 482 489 TransientIsmovingfrontEnum, 483 490 TransientIsoceancouplingEnum, 491 TransientIssamplingEnum, 484 492 TransientIsslcEnum, 485 493 TransientIssmbEnum, … … 711 719 RheologyBInitialguessMisfitEnum, 712 720 RheologyBbarAbsGradientEnum, 721 SampleEnum, 722 SamplingBetaEnum, 723 SamplingKappaEnum, 713 724 SealevelEnum, 714 725 SealevelBarystaticMaskEnum, -
issm/trunk-jpl/src/c/shared/Enum/EnumToStringx.cpp
r25997 r26002 334 334 case RootPathEnum : return "RootPath"; 335 335 case ModelnameEnum : return "Modelname"; 336 case SamplingAlphaEnum : return "SamplingAlpha"; 337 case SamplingPhiEnum : return "SamplingPhi"; 338 case SamplingNumRequestedOutputsEnum : return "SamplingNumRequestedOutputs"; 339 case SamplingRequestedOutputsEnum : return "SamplingRequestedOutputs"; 340 case SamplingRobinEnum : return "SamplingRobin"; 341 case SamplingSeedEnum : return "SamplingSeed"; 342 case SamplingTauEnum : return "SamplingTau"; 336 343 case SaveResultsEnum : return "SaveResults"; 337 344 case SolidearthPartitionIceEnum : return "SolidearthPartitionIce"; … … 490 497 case TransientIsmovingfrontEnum : return "TransientIsmovingfront"; 491 498 case TransientIsoceancouplingEnum : return "TransientIsoceancoupling"; 499 case TransientIssamplingEnum : return "TransientIssampling"; 492 500 case TransientIsslcEnum : return "TransientIsslc"; 493 501 case TransientIssmbEnum : return "TransientIssmb"; … … 717 725 case RheologyBInitialguessMisfitEnum : return "RheologyBInitialguessMisfit"; 718 726 case RheologyBbarAbsGradientEnum : return "RheologyBbarAbsGradient"; 727 case SampleEnum : return "Sample"; 728 case SamplingBetaEnum : return "SamplingBeta"; 729 case SamplingKappaEnum : return "SamplingKappa"; 719 730 case SealevelEnum : return "Sealevel"; 720 731 case SealevelBarystaticMaskEnum : return "SealevelBarystaticMask"; -
issm/trunk-jpl/src/c/shared/Enum/StringToEnumx.cpp
r25997 r26002 340 340 else if (strcmp(name,"RootPath")==0) return RootPathEnum; 341 341 else if (strcmp(name,"Modelname")==0) return ModelnameEnum; 342 else if (strcmp(name,"SamplingAlpha")==0) return SamplingAlphaEnum; 343 else if (strcmp(name,"SamplingPhi")==0) return SamplingPhiEnum; 344 else if (strcmp(name,"SamplingNumRequestedOutputs")==0) return SamplingNumRequestedOutputsEnum; 345 else if (strcmp(name,"SamplingRequestedOutputs")==0) return SamplingRequestedOutputsEnum; 346 else if (strcmp(name,"SamplingRobin")==0) return SamplingRobinEnum; 347 else if (strcmp(name,"SamplingSeed")==0) return SamplingSeedEnum; 348 else if (strcmp(name,"SamplingTau")==0) return SamplingTauEnum; 342 349 else if (strcmp(name,"SaveResults")==0) return SaveResultsEnum; 343 350 else if (strcmp(name,"SolidearthPartitionIce")==0) return SolidearthPartitionIceEnum; … … 376 383 else if (strcmp(name,"SealevelchangeRunCount")==0) return SealevelchangeRunCountEnum; 377 384 else if (strcmp(name,"SealevelchangeTransitions")==0) return SealevelchangeTransitionsEnum; 378 else if (strcmp(name,"SealevelchangeUElastic")==0) return SealevelchangeUElasticEnum; 385 else stage=4; 386 } 387 if(stage==4){ 388 if (strcmp(name,"SealevelchangeUElastic")==0) return SealevelchangeUElasticEnum; 379 389 else if (strcmp(name,"SettingsIoGather")==0) return SettingsIoGatherEnum; 380 390 else if (strcmp(name,"SettingsNumResultsOnNodes")==0) return SettingsNumResultsOnNodesEnum; … … 383 393 else if (strcmp(name,"SettingsResultsOnNodes")==0) return SettingsResultsOnNodesEnum; 384 394 else if (strcmp(name,"SettingsSbCouplingFrequency")==0) return SettingsSbCouplingFrequencyEnum; 385 else stage=4; 386 } 387 if(stage==4){ 388 if (strcmp(name,"SettingsSolverResidueThreshold")==0) return SettingsSolverResidueThresholdEnum; 395 else if (strcmp(name,"SettingsSolverResidueThreshold")==0) return SettingsSolverResidueThresholdEnum; 389 396 else if (strcmp(name,"SettingsWaitonlock")==0) return SettingsWaitonlockEnum; 390 397 else if (strcmp(name,"SmbAIce")==0) return SmbAIceEnum; … … 499 506 else if (strcmp(name,"TransientIsmovingfront")==0) return TransientIsmovingfrontEnum; 500 507 else if (strcmp(name,"TransientIsoceancoupling")==0) return TransientIsoceancouplingEnum; 508 else stage=5; 509 } 510 if(stage==5){ 511 if (strcmp(name,"TransientIssampling")==0) return TransientIssamplingEnum; 501 512 else if (strcmp(name,"TransientIsslc")==0) return TransientIsslcEnum; 502 513 else if (strcmp(name,"TransientIssmb")==0) return TransientIssmbEnum; … … 506 517 else if (strcmp(name,"TransientRequestedOutputs")==0) return TransientRequestedOutputsEnum; 507 518 else if (strcmp(name,"Velocity")==0) return VelocityEnum; 508 else stage=5; 509 } 510 if(stage==5){ 511 if (strcmp(name,"WorldComm")==0) return WorldCommEnum; 519 else if (strcmp(name,"WorldComm")==0) return WorldCommEnum; 512 520 else if (strcmp(name,"ParametersEND")==0) return ParametersENDEnum; 513 521 else if (strcmp(name,"InputsSTART")==0) return InputsSTARTEnum; … … 621 629 else if (strcmp(name,"EsaXmotion")==0) return EsaXmotionEnum; 622 630 else if (strcmp(name,"EsaYmotion")==0) return EsaYmotionEnum; 623 else if (strcmp(name,"EtaDiff")==0) return EtaDiffEnum; 631 else stage=6; 632 } 633 if(stage==6){ 634 if (strcmp(name,"EtaDiff")==0) return EtaDiffEnum; 624 635 else if (strcmp(name,"FlowequationBorderFS")==0) return FlowequationBorderFSEnum; 625 636 else if (strcmp(name,"FrictionAs")==0) return FrictionAsEnum; … … 629 640 else if (strcmp(name,"FrictionCoefficientcoulomb")==0) return FrictionCoefficientcoulombEnum; 630 641 else if (strcmp(name,"FrictionEffectivePressure")==0) return FrictionEffectivePressureEnum; 631 else stage=6; 632 } 633 if(stage==6){ 634 if (strcmp(name,"FrictionM")==0) return FrictionMEnum; 642 else if (strcmp(name,"FrictionM")==0) return FrictionMEnum; 635 643 else if (strcmp(name,"FrictionP")==0) return FrictionPEnum; 636 644 else if (strcmp(name,"FrictionPressureAdjustedTemperature")==0) return FrictionPressureAdjustedTemperatureEnum; … … 732 740 else if (strcmp(name,"RheologyBInitialguessMisfit")==0) return RheologyBInitialguessMisfitEnum; 733 741 else if (strcmp(name,"RheologyBbarAbsGradient")==0) return RheologyBbarAbsGradientEnum; 742 else if (strcmp(name,"Sample")==0) return SampleEnum; 743 else if (strcmp(name,"SamplingBeta")==0) return SamplingBetaEnum; 744 else if (strcmp(name,"SamplingKappa")==0) return SamplingKappaEnum; 734 745 else if (strcmp(name,"Sealevel")==0) return SealevelEnum; 735 746 else if (strcmp(name,"SealevelBarystaticMask")==0) return SealevelBarystaticMaskEnum; … … 741 752 else if (strcmp(name,"BslcIce")==0) return BslcIceEnum; 742 753 else if (strcmp(name,"BslcHydro")==0) return BslcHydroEnum; 743 else if (strcmp(name,"BslcRate")==0) return BslcRateEnum; 754 else stage=7; 755 } 756 if(stage==7){ 757 if (strcmp(name,"BslcRate")==0) return BslcRateEnum; 744 758 else if (strcmp(name,"Gmtslc")==0) return GmtslcEnum; 745 759 else if (strcmp(name,"SealevelRSLBarystatic")==0) return SealevelRSLBarystaticEnum; … … 752 766 else if (strcmp(name,"SealevelchangeCumDeltathicknessOld")==0) return SealevelchangeCumDeltathicknessOldEnum; 753 767 else if (strcmp(name,"SurfaceloadRate")==0) return SurfaceloadRateEnum; 754 else stage=7; 755 } 756 if(stage==7){ 757 if (strcmp(name,"SurfaceloadIceThicknessRate")==0) return SurfaceloadIceThicknessRateEnum; 768 else if (strcmp(name,"SurfaceloadIceThicknessRate")==0) return SurfaceloadIceThicknessRateEnum; 758 769 else if (strcmp(name,"SurfaceloadWaterHeightRate")==0) return SurfaceloadWaterHeightRateEnum; 759 770 else if (strcmp(name,"SurfaceloadOtherRate")==0) return SurfaceloadOtherRateEnum; … … 864 875 else if (strcmp(name,"SmbTemperaturesPresentday")==0) return SmbTemperaturesPresentdayEnum; 865 876 else if (strcmp(name,"SmbTemperaturesReconstructed")==0) return SmbTemperaturesReconstructedEnum; 866 else if (strcmp(name,"SmbTini")==0) return SmbTiniEnum; 877 else stage=8; 878 } 879 if(stage==8){ 880 if (strcmp(name,"SmbTini")==0) return SmbTiniEnum; 867 881 else if (strcmp(name,"SmbTmean")==0) return SmbTmeanEnum; 868 882 else if (strcmp(name,"SmbTz")==0) return SmbTzEnum; … … 875 889 else if (strcmp(name,"SmbZMax")==0) return SmbZMaxEnum; 876 890 else if (strcmp(name,"SmbZMin")==0) return SmbZMinEnum; 877 else stage=8; 878 } 879 if(stage==8){ 880 if (strcmp(name,"SmbZTop")==0) return SmbZTopEnum; 891 else if (strcmp(name,"SmbZTop")==0) return SmbZTopEnum; 881 892 else if (strcmp(name,"SmbZY")==0) return SmbZYEnum; 882 893 else if (strcmp(name,"SolidearthExternalDisplacementEastRate")==0) return SolidearthExternalDisplacementEastRateEnum; … … 987 998 else if (strcmp(name,"Outputdefinition42")==0) return Outputdefinition42Enum; 988 999 else if (strcmp(name,"Outputdefinition43")==0) return Outputdefinition43Enum; 989 else if (strcmp(name,"Outputdefinition44")==0) return Outputdefinition44Enum; 1000 else stage=9; 1001 } 1002 if(stage==9){ 1003 if (strcmp(name,"Outputdefinition44")==0) return Outputdefinition44Enum; 990 1004 else if (strcmp(name,"Outputdefinition45")==0) return Outputdefinition45Enum; 991 1005 else if (strcmp(name,"Outputdefinition46")==0) return Outputdefinition46Enum; … … 998 1012 else if (strcmp(name,"Outputdefinition52")==0) return Outputdefinition52Enum; 999 1013 else if (strcmp(name,"Outputdefinition53")==0) return Outputdefinition53Enum; 1000 else stage=9; 1001 } 1002 if(stage==9){ 1003 if (strcmp(name,"Outputdefinition54")==0) return Outputdefinition54Enum; 1014 else if (strcmp(name,"Outputdefinition54")==0) return Outputdefinition54Enum; 1004 1015 else if (strcmp(name,"Outputdefinition55")==0) return Outputdefinition55Enum; 1005 1016 else if (strcmp(name,"Outputdefinition56")==0) return Outputdefinition56Enum; … … 1110 1121 else if (strcmp(name,"Cuffey")==0) return CuffeyEnum; 1111 1122 else if (strcmp(name,"CuffeyTemperate")==0) return CuffeyTemperateEnum; 1112 else if (strcmp(name,"DamageEvolutionAnalysis")==0) return DamageEvolutionAnalysisEnum; 1123 else stage=10; 1124 } 1125 if(stage==10){ 1126 if (strcmp(name,"DamageEvolutionAnalysis")==0) return DamageEvolutionAnalysisEnum; 1113 1127 else if (strcmp(name,"DamageEvolutionSolution")==0) return DamageEvolutionSolutionEnum; 1114 1128 else if (strcmp(name,"DataSet")==0) return DataSetEnum; … … 1121 1135 else if (strcmp(name,"DepthAverageAnalysis")==0) return DepthAverageAnalysisEnum; 1122 1136 else if (strcmp(name,"DeviatoricStressErrorEstimator")==0) return DeviatoricStressErrorEstimatorEnum; 1123 else stage=10; 1124 } 1125 if(stage==10){ 1126 if (strcmp(name,"Divergence")==0) return DivergenceEnum; 1137 else if (strcmp(name,"Divergence")==0) return DivergenceEnum; 1127 1138 else if (strcmp(name,"Domain3Dsurface")==0) return Domain3DsurfaceEnum; 1128 1139 else if (strcmp(name,"DoubleArrayInput")==0) return DoubleArrayInputEnum; … … 1233 1244 else if (strcmp(name,"LoveHi")==0) return LoveHiEnum; 1234 1245 else if (strcmp(name,"LoveHr")==0) return LoveHrEnum; 1235 else if (strcmp(name,"LoveKernelsImag")==0) return LoveKernelsImagEnum; 1246 else stage=11; 1247 } 1248 if(stage==11){ 1249 if (strcmp(name,"LoveKernelsImag")==0) return LoveKernelsImagEnum; 1236 1250 else if (strcmp(name,"LoveKernelsReal")==0) return LoveKernelsRealEnum; 1237 1251 else if (strcmp(name,"LoveKi")==0) return LoveKiEnum; … … 1244 1258 else if (strcmp(name,"MantlePlumeGeothermalFlux")==0) return MantlePlumeGeothermalFluxEnum; 1245 1259 else if (strcmp(name,"MassFlux")==0) return MassFluxEnum; 1246 else stage=11; 1247 } 1248 if(stage==11){ 1249 if (strcmp(name,"Masscon")==0) return MassconEnum; 1260 else if (strcmp(name,"Masscon")==0) return MassconEnum; 1250 1261 else if (strcmp(name,"Massconaxpby")==0) return MassconaxpbyEnum; 1251 1262 else if (strcmp(name,"Massfluxatgate")==0) return MassfluxatgateEnum; … … 1356 1367 else if (strcmp(name,"SealevelchangeSolution")==0) return SealevelchangeSolutionEnum; 1357 1368 else if (strcmp(name,"Seg")==0) return SegEnum; 1358 else if (strcmp(name,"SegInput")==0) return SegInputEnum; 1369 else stage=12; 1370 } 1371 if(stage==12){ 1372 if (strcmp(name,"SegInput")==0) return SegInputEnum; 1359 1373 else if (strcmp(name,"Segment")==0) return SegmentEnum; 1360 1374 else if (strcmp(name,"SegmentRiftfront")==0) return SegmentRiftfrontEnum; … … 1367 1381 else if (strcmp(name,"SpatialLinearFloatingMeltRate")==0) return SpatialLinearFloatingMeltRateEnum; 1368 1382 else if (strcmp(name,"SpcDynamic")==0) return SpcDynamicEnum; 1369 else stage=12; 1370 } 1371 if(stage==12){ 1372 if (strcmp(name,"SpcStatic")==0) return SpcStaticEnum; 1383 else if (strcmp(name,"SpcStatic")==0) return SpcStaticEnum; 1373 1384 else if (strcmp(name,"SpcTransient")==0) return SpcTransientEnum; 1374 1385 else if (strcmp(name,"Sset")==0) return SsetEnum;
Note:
See TracChangeset
for help on using the changeset viewer.