Changeset 18383 for issm/trunk-jpl/src/c/shared/Enum/StringToEnumx.cpp
- Timestamp:
- 08/13/14 14:16:02 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/shared/Enum/StringToEnumx.cpp
r18377 r18383 573 573 else if (strcmp(name,"DeviatoricStressyz")==0) return DeviatoricStressyzEnum; 574 574 else if (strcmp(name,"DeviatoricStresszz")==0) return DeviatoricStresszzEnum; 575 else if (strcmp(name,"Stress")==0) return StressEnum;576 else if (strcmp(name,"Stressxx")==0) return StressxxEnum;577 else if (strcmp(name,"Stressxy")==0) return StressxyEnum;578 else if (strcmp(name,"Stressxz")==0) return StressxzEnum;579 else if (strcmp(name,"Stressyy")==0) return StressyyEnum;580 else if (strcmp(name,"Stressyz")==0) return StressyzEnum;581 else if (strcmp(name,"Stresszz")==0) return StresszzEnum;582 575 else if (strcmp(name,"StrainRate")==0) return StrainRateEnum; 583 576 else if (strcmp(name,"StrainRatexx")==0) return StrainRatexxEnum; … … 629 622 else if (strcmp(name,"MisfitName")==0) return MisfitNameEnum; 630 623 else if (strcmp(name,"MisfitModelEnum")==0) return MisfitModelEnumEnum; 631 else stage=6; 632 } 633 if(stage==6){ 634 if (strcmp(name,"MisfitObservation")==0) return MisfitObservationEnum; 624 else if (strcmp(name,"MisfitObservation")==0) return MisfitObservationEnum; 635 625 else if (strcmp(name,"MisfitObservationEnum")==0) return MisfitObservationEnumEnum; 636 626 else if (strcmp(name,"MisfitTimeinterpolation")==0) return MisfitTimeinterpolationEnum; … … 639 629 else if (strcmp(name,"SurfaceObservation")==0) return SurfaceObservationEnum; 640 630 else if (strcmp(name,"WeightsSurfaceObservation")==0) return WeightsSurfaceObservationEnum; 641 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; 642 635 else if (strcmp(name,"MaxVel")==0) return MaxVelEnum; 643 636 else if (strcmp(name,"MinVx")==0) return MinVxEnum;
Note:
See TracChangeset
for help on using the changeset viewer.