Changeset 22598


Ignore:
Timestamp:
03/21/18 20:53:16 (7 years ago)
Author:
Mathieu Morlighem
Message:

CHG: moving an enum to the parameter set

Location:
issm/trunk-jpl/src/c/shared/Enum
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/shared/Enum/EnumDefinitions.h

    r22596 r22598  
    236236        SealevelriseUElasticEnum,
    237237        SettingsIoGatherEnum,
     238        SettingsLowmemEnum,
    238239        SettingsOutputFrequencyEnum,
    239240        SettingsRecordingFrequencyEnum,
     
    925926        SeparateEnum,
    926927        SeqEnum,
    927         SettingsLowmemEnum,
    928928        SIAApproximationEnum,
    929929        SigmaVMEnum,
  • issm/trunk-jpl/src/c/shared/Enum/EnumToStringx.cpp

    r22596 r22598  
    244244                case SealevelriseUElasticEnum : return "SealevelriseUElastic";
    245245                case SettingsIoGatherEnum : return "SettingsIoGather";
     246                case SettingsLowmemEnum : return "SettingsLowmem";
    246247                case SettingsOutputFrequencyEnum : return "SettingsOutputFrequency";
    247248                case SettingsRecordingFrequencyEnum : return "SettingsRecordingFrequency";
     
    929930                case SeparateEnum : return "Separate";
    930931                case SeqEnum : return "Seq";
    931                 case SettingsLowmemEnum : return "SettingsLowmem";
    932932                case SIAApproximationEnum : return "SIAApproximation";
    933933                case SigmaVMEnum : return "SigmaVM";
  • issm/trunk-jpl/src/c/shared/Enum/StringToEnumx.cpp

    r22596 r22598  
    247247              else if (strcmp(name,"SealevelriseUElastic")==0) return SealevelriseUElasticEnum;
    248248              else if (strcmp(name,"SettingsIoGather")==0) return SettingsIoGatherEnum;
     249              else if (strcmp(name,"SettingsLowmem")==0) return SettingsLowmemEnum;
    249250              else if (strcmp(name,"SettingsOutputFrequency")==0) return SettingsOutputFrequencyEnum;
    250251              else if (strcmp(name,"SettingsRecordingFrequency")==0) return SettingsRecordingFrequencyEnum;
     
    259260              else if (strcmp(name,"SmbDelta18o")==0) return SmbDelta18oEnum;
    260261              else if (strcmp(name,"SmbDelta18oSurface")==0) return SmbDelta18oSurfaceEnum;
    261               else if (strcmp(name,"SmbDenIdx")==0) return SmbDenIdxEnum;
    262262         else stage=3;
    263263   }
    264264   if(stage==3){
    265               if (strcmp(name,"SmbDt")==0) return SmbDtEnum;
     265              if (strcmp(name,"SmbDenIdx")==0) return SmbDenIdxEnum;
     266              else if (strcmp(name,"SmbDt")==0) return SmbDtEnum;
    266267              else if (strcmp(name,"Smb")==0) return SmbEnum;
    267268              else if (strcmp(name,"SmbF")==0) return SmbFEnum;
     
    382383              else if (strcmp(name,"Calvingratey")==0) return CalvingrateyEnum;
    383384              else if (strcmp(name,"CalvingStressThresholdFloatingice")==0) return CalvingStressThresholdFloatingiceEnum;
    384               else if (strcmp(name,"CalvingStressThresholdGroundedice")==0) return CalvingStressThresholdGroundediceEnum;
    385385         else stage=4;
    386386   }
    387387   if(stage==4){
    388               if (strcmp(name,"Converged")==0) return ConvergedEnum;
     388              if (strcmp(name,"CalvingStressThresholdGroundedice")==0) return CalvingStressThresholdGroundediceEnum;
     389              else if (strcmp(name,"Converged")==0) return ConvergedEnum;
    389390              else if (strcmp(name,"CrevasseDepth")==0) return CrevasseDepthEnum;
    390391              else if (strcmp(name,"DamageDbar")==0) return DamageDbarEnum;
     
    505506              else if (strcmp(name,"SmbDlwrf")==0) return SmbDlwrfEnum;
    506507              else if (strcmp(name,"SmbDswrf")==0) return SmbDswrfEnum;
    507               else if (strcmp(name,"SmbDz")==0) return SmbDzEnum;
    508508         else stage=5;
    509509   }
    510510   if(stage==5){
    511               if (strcmp(name,"SmbDzini")==0) return SmbDziniEnum;
     511              if (strcmp(name,"SmbDz")==0) return SmbDzEnum;
     512              else if (strcmp(name,"SmbDzini")==0) return SmbDziniEnum;
    512513              else if (strcmp(name,"SmbDzMin")==0) return SmbDzMinEnum;
    513514              else if (strcmp(name,"SmbDzTop")==0) return SmbDzTopEnum;
     
    628629              else if (strcmp(name,"AutodiffKeep")==0) return AutodiffKeepEnum;
    629630              else if (strcmp(name,"Balancethickness2Analysis")==0) return Balancethickness2AnalysisEnum;
    630               else if (strcmp(name,"Balancethickness2Solution")==0) return Balancethickness2SolutionEnum;
    631631         else stage=6;
    632632   }
    633633   if(stage==6){
    634               if (strcmp(name,"BalancethicknessAnalysis")==0) return BalancethicknessAnalysisEnum;
     634              if (strcmp(name,"Balancethickness2Solution")==0) return Balancethickness2SolutionEnum;
     635              else if (strcmp(name,"BalancethicknessAnalysis")==0) return BalancethicknessAnalysisEnum;
    635636              else if (strcmp(name,"BalancethicknessApparentMassbalance")==0) return BalancethicknessApparentMassbalanceEnum;
    636637              else if (strcmp(name,"BalancethicknessSoftAnalysis")==0) return BalancethicknessSoftAnalysisEnum;
     
    751752              else if (strcmp(name,"Gset")==0) return GsetEnum;
    752753              else if (strcmp(name,"Gsl")==0) return GslEnum;
    753               else if (strcmp(name,"HOApproximation")==0) return HOApproximationEnum;
    754754         else stage=7;
    755755   }
    756756   if(stage==7){
    757               if (strcmp(name,"HOFSApproximation")==0) return HOFSApproximationEnum;
     757              if (strcmp(name,"HOApproximation")==0) return HOApproximationEnum;
     758              else if (strcmp(name,"HOFSApproximation")==0) return HOFSApproximationEnum;
    758759              else if (strcmp(name,"Hook")==0) return HookEnum;
    759760              else if (strcmp(name,"HydrologyBasalFlux")==0) return HydrologyBasalFluxEnum;
     
    874875              else if (strcmp(name,"MINI")==0) return MINIEnum;
    875876              else if (strcmp(name,"MinVel")==0) return MinVelEnum;
    876               else if (strcmp(name,"MinVx")==0) return MinVxEnum;
    877877         else stage=8;
    878878   }
    879879   if(stage==8){
    880               if (strcmp(name,"MinVy")==0) return MinVyEnum;
     880              if (strcmp(name,"MinVx")==0) return MinVxEnum;
     881              else if (strcmp(name,"MinVy")==0) return MinVyEnum;
    881882              else if (strcmp(name,"MinVz")==0) return MinVzEnum;
    882883              else if (strcmp(name,"MismipFloatingMeltRate")==0) return MismipFloatingMeltRateEnum;
     
    950951              else if (strcmp(name,"Separate")==0) return SeparateEnum;
    951952              else if (strcmp(name,"Seq")==0) return SeqEnum;
    952               else if (strcmp(name,"SettingsLowmem")==0) return SettingsLowmemEnum;
    953953              else if (strcmp(name,"SIAApproximation")==0) return SIAApproximationEnum;
    954954              else if (strcmp(name,"SigmaVM")==0) return SigmaVMEnum;
Note: See TracChangeset for help on using the changeset viewer.