Ignore:
Timestamp:
11/14/13 16:14:16 (11 years ago)
Author:
Eric.Larour
Message:

NEW: new enums for misfit class.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/shared/Enum/StringToEnumx.cpp

    r16723 r16767  
    551551              else if (strcmp(name,"MassfluxatgateName")==0) return MassfluxatgateNameEnum;
    552552              else if (strcmp(name,"MassfluxatgateSegments")==0) return MassfluxatgateSegmentsEnum;
     553              else if (strcmp(name,"MisfitName")==0) return MisfitNameEnum;
     554              else if (strcmp(name,"MisfitModel")==0) return MisfitModelEnum;
     555              else if (strcmp(name,"MisfitObservations")==0) return MisfitObservationsEnum;
     556              else if (strcmp(name,"MisfitTimeinterpolation")==0) return MisfitTimeinterpolationEnum;
     557              else if (strcmp(name,"MisfitWeights")==0) return MisfitWeightsEnum;
    553558              else if (strcmp(name,"MinVel")==0) return MinVelEnum;
    554559              else if (strcmp(name,"MaxVel")==0) return MaxVelEnum;
     
    624629              else if (strcmp(name,"Paterson")==0) return PatersonEnum;
    625630              else if (strcmp(name,"Arrhenius")==0) return ArrheniusEnum;
    626               else if (strcmp(name,"LliboutryDuval")==0) return LliboutryDuvalEnum;
     631         else stage=6;
     632   }
     633   if(stage==6){
     634              if (strcmp(name,"LliboutryDuval")==0) return LliboutryDuvalEnum;
    627635              else if (strcmp(name,"MaximumNumberOfDefinitions")==0) return MaximumNumberOfDefinitionsEnum;
    628          else stage=6;
     636         else stage=7;
    629637   }
    630638        /*If we reach this point, the string provided has not been found*/
Note: See TracChangeset for help on using the changeset viewer.