Changeset 18246 for issm/trunk-jpl/src/c/shared/Enum/StringToEnumx.cpp
- Timestamp:
- 07/15/14 11:59:29 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/shared/Enum/StringToEnumx.cpp
r18227 r18246 178 178 else if (strcmp(name,"InversionVzObs")==0) return InversionVzObsEnum; 179 179 else if (strcmp(name,"MaskIceLevelset")==0) return MaskIceLevelsetEnum; 180 else if (strcmp(name,"QmuMaskIceLevelset")==0) return QmuMaskIceLevelsetEnum;181 180 else if (strcmp(name,"MaterialsBeta")==0) return MaterialsBetaEnum; 182 181 else if (strcmp(name,"MaterialsHeatcapacity")==0) return MaterialsHeatcapacityEnum; … … 191 190 else if (strcmp(name,"DamageD")==0) return DamageDEnum; 192 191 else if (strcmp(name,"DamageF")==0) return DamageFEnum; 193 else if (strcmp(name,"QmuDamageD")==0) return QmuDamageDEnum;194 192 else if (strcmp(name,"DamageDbar")==0) return DamageDbarEnum; 195 193 else if (strcmp(name,"DamageLaw")==0) return DamageLawEnum; … … 260 258 else if (strcmp(name,"MassFluxSegmentsPresent")==0) return MassFluxSegmentsPresentEnum; 261 259 else if (strcmp(name,"QmuMassFluxSegmentsPresent")==0) return QmuMassFluxSegmentsPresentEnum; 260 else if (strcmp(name,"QmuNumberofpartitions")==0) return QmuNumberofpartitionsEnum; 261 else if (strcmp(name,"QmuNumberofresponses")==0) return QmuNumberofresponsesEnum; 262 262 else stage=3; 263 263 } 264 264 if(stage==3){ 265 if (strcmp(name,"QmuNumberofpartitions")==0) return QmuNumberofpartitionsEnum; 266 else if (strcmp(name,"QmuNumberofresponses")==0) return QmuNumberofresponsesEnum; 267 else if (strcmp(name,"QmuPartition")==0) return QmuPartitionEnum; 265 if (strcmp(name,"QmuPartition")==0) return QmuPartitionEnum; 268 266 else if (strcmp(name,"QmuResponsedescriptors")==0) return QmuResponsedescriptorsEnum; 269 267 else if (strcmp(name,"QmuVariabledescriptors")==0) return QmuVariabledescriptorsEnum; 270 else if (strcmp(name,"QmuMaterialsRheologyB")==0) return QmuMaterialsRheologyBEnum;271 268 else if (strcmp(name,"RiftsNumrifts")==0) return RiftsNumriftsEnum; 272 269 else if (strcmp(name,"RiftsRiftstruct")==0) return RiftsRiftstructEnum; … … 383 380 else if (strcmp(name,"HydrologyDCInefficientAnalysis")==0) return HydrologyDCInefficientAnalysisEnum; 384 381 else if (strcmp(name,"HydrologyDCEfficientAnalysis")==0) return HydrologyDCEfficientAnalysisEnum; 382 else if (strcmp(name,"HydrologySolution")==0) return HydrologySolutionEnum; 383 else if (strcmp(name,"MeltingAnalysis")==0) return MeltingAnalysisEnum; 384 else if (strcmp(name,"MasstransportAnalysis")==0) return MasstransportAnalysisEnum; 385 385 else stage=4; 386 386 } 387 387 if(stage==4){ 388 if (strcmp(name,"HydrologySolution")==0) return HydrologySolutionEnum; 389 else if (strcmp(name,"MeltingAnalysis")==0) return MeltingAnalysisEnum; 390 else if (strcmp(name,"MasstransportAnalysis")==0) return MasstransportAnalysisEnum; 391 else if (strcmp(name,"MasstransportSolution")==0) return MasstransportSolutionEnum; 388 if (strcmp(name,"MasstransportSolution")==0) return MasstransportSolutionEnum; 392 389 else if (strcmp(name,"FreeSurfaceBaseAnalysis")==0) return FreeSurfaceBaseAnalysisEnum; 393 390 else if (strcmp(name,"FreeSurfaceTopAnalysis")==0) return FreeSurfaceTopAnalysisEnum; … … 506 503 else if (strcmp(name,"Fill")==0) return FillEnum; 507 504 else if (strcmp(name,"FractionIncrement")==0) return FractionIncrementEnum; 505 else if (strcmp(name,"Friction")==0) return FrictionEnum; 506 else if (strcmp(name,"Internal")==0) return InternalEnum; 507 else if (strcmp(name,"MassFlux")==0) return MassFluxEnum; 508 508 else stage=5; 509 509 } 510 510 if(stage==5){ 511 if (strcmp(name,"Friction")==0) return FrictionEnum; 512 else if (strcmp(name,"Internal")==0) return InternalEnum; 513 else if (strcmp(name,"MassFlux")==0) return MassFluxEnum; 514 else if (strcmp(name,"MeltingOffset")==0) return MeltingOffsetEnum; 511 if (strcmp(name,"MeltingOffset")==0) return MeltingOffsetEnum; 515 512 else if (strcmp(name,"Misfit")==0) return MisfitEnum; 516 513 else if (strcmp(name,"Pressure")==0) return PressureEnum; 517 514 else if (strcmp(name,"PressurePicard")==0) return PressurePicardEnum; 518 else if (strcmp(name,"QmuPressure")==0) return QmuPressureEnum;519 else if (strcmp(name,"QmuVx")==0) return QmuVxEnum;520 else if (strcmp(name,"QmuVy")==0) return QmuVyEnum;521 else if (strcmp(name,"QmuVz")==0) return QmuVzEnum;522 else if (strcmp(name,"QmuThickness")==0) return QmuThicknessEnum;523 else if (strcmp(name,"QmuBase")==0) return QmuBaseEnum;524 else if (strcmp(name,"QmuSurface")==0) return QmuSurfaceEnum;525 else if (strcmp(name,"QmuMelting")==0) return QmuMeltingEnum;526 else if (strcmp(name,"QmuVxMesh")==0) return QmuVxMeshEnum;527 else if (strcmp(name,"QmuVyMesh")==0) return QmuVyMeshEnum;528 else if (strcmp(name,"QmuVzMesh")==0) return QmuVzMeshEnum;529 515 else if (strcmp(name,"AndroidFrictionCoefficient")==0) return AndroidFrictionCoefficientEnum; 530 516 else if (strcmp(name,"ResetPenalties")==0) return ResetPenaltiesEnum; … … 570 556 else if (strcmp(name,"BasalFriction")==0) return BasalFrictionEnum; 571 557 else if (strcmp(name,"ViscousHeating")==0) return ViscousHeatingEnum; 572 else if (strcmp(name,"QmuTemperature")==0) return QmuTemperatureEnum;573 558 else if (strcmp(name,"HydrologyWaterVx")==0) return HydrologyWaterVxEnum; 574 559 else if (strcmp(name,"HydrologyWaterVy")==0) return HydrologyWaterVyEnum; … … 629 614 else if (strcmp(name,"Step")==0) return StepEnum; 630 615 else if (strcmp(name,"Time")==0) return TimeEnum; 631 else stage=6; 632 } 633 if(stage==6){ 634 if (strcmp(name,"WaterColumnOld")==0) return WaterColumnOldEnum; 616 else if (strcmp(name,"WaterColumnOld")==0) return WaterColumnOldEnum; 635 617 else if (strcmp(name,"Outputdefinition")==0) return OutputdefinitionEnum; 636 618 else if (strcmp(name,"OutputdefinitionList")==0) return OutputdefinitionListEnum; … … 647 629 else if (strcmp(name,"SurfaceObservation")==0) return SurfaceObservationEnum; 648 630 else if (strcmp(name,"WeightsSurfaceObservation")==0) return WeightsSurfaceObservationEnum; 649 else if (strcmp(name,"MinVel")==0) return MinVelEnum; 631 else stage=6; 632 } 633 if(stage==6){ 634 if (strcmp(name,"MinVel")==0) return MinVelEnum; 650 635 else if (strcmp(name,"MaxVel")==0) return MaxVelEnum; 651 636 else if (strcmp(name,"MinVx")==0) return MinVxEnum; … … 675 660 else if (strcmp(name,"Contact")==0) return ContactEnum; 676 661 else if (strcmp(name,"MaskGroundediceLevelset")==0) return MaskGroundediceLevelsetEnum; 677 else if (strcmp(name,"QmuMaskGroundediceLevelset")==0) return QmuMaskGroundediceLevelsetEnum;678 662 else if (strcmp(name,"GaussSeg")==0) return GaussSegEnum; 679 663 else if (strcmp(name,"GaussTria")==0) return GaussTriaEnum;
Note:
See TracChangeset
for help on using the changeset viewer.