Changeset 22599


Ignore:
Timestamp:
03/21/18 21:01:13 (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

    r22598 r22599  
    194194        MeshAverageVertexConnectivityEnum,
    195195        MeshElementtypeEnum,
     196        MeshNumberofelementsEnum,
    196197        MeshNumberoflayersEnum,
    197198        MeshNumberofverticesEnum,
     
    847848        MeshLatEnum,
    848849        MeshLongEnum,
    849         MeshNumberofelementsEnum,
    850850        MeshXEnum,
    851851        MeshYEnum,
  • issm/trunk-jpl/src/c/shared/Enum/EnumToStringx.cpp

    r22598 r22599  
    202202                case MeshAverageVertexConnectivityEnum : return "MeshAverageVertexConnectivity";
    203203                case MeshElementtypeEnum : return "MeshElementtype";
     204                case MeshNumberofelementsEnum : return "MeshNumberofelements";
    204205                case MeshNumberoflayersEnum : return "MeshNumberoflayers";
    205206                case MeshNumberofverticesEnum : return "MeshNumberofvertices";
     
    851852                case MeshLatEnum : return "MeshLat";
    852853                case MeshLongEnum : return "MeshLong";
    853                 case MeshNumberofelementsEnum : return "MeshNumberofelements";
    854854                case MeshXEnum : return "MeshX";
    855855                case MeshYEnum : return "MeshY";
  • issm/trunk-jpl/src/c/shared/Enum/StringToEnumx.cpp

    r22598 r22599  
    205205              else if (strcmp(name,"MeshAverageVertexConnectivity")==0) return MeshAverageVertexConnectivityEnum;
    206206              else if (strcmp(name,"MeshElementtype")==0) return MeshElementtypeEnum;
     207              else if (strcmp(name,"MeshNumberofelements")==0) return MeshNumberofelementsEnum;
    207208              else if (strcmp(name,"MeshNumberoflayers")==0) return MeshNumberoflayersEnum;
    208209              else if (strcmp(name,"MeshNumberofvertices")==0) return MeshNumberofverticesEnum;
     
    259260              else if (strcmp(name,"SmbCldFrac")==0) return SmbCldFracEnum;
    260261              else if (strcmp(name,"SmbDelta18o")==0) return SmbDelta18oEnum;
    261               else if (strcmp(name,"SmbDelta18oSurface")==0) return SmbDelta18oSurfaceEnum;
    262262         else stage=3;
    263263   }
    264264   if(stage==3){
    265               if (strcmp(name,"SmbDenIdx")==0) return SmbDenIdxEnum;
     265              if (strcmp(name,"SmbDelta18oSurface")==0) return SmbDelta18oSurfaceEnum;
     266              else if (strcmp(name,"SmbDenIdx")==0) return SmbDenIdxEnum;
    266267              else if (strcmp(name,"SmbDt")==0) return SmbDtEnum;
    267268              else if (strcmp(name,"Smb")==0) return SmbEnum;
     
    382383              else if (strcmp(name,"CalvingrateyAverage")==0) return CalvingrateyAverageEnum;
    383384              else if (strcmp(name,"Calvingratey")==0) return CalvingrateyEnum;
    384               else if (strcmp(name,"CalvingStressThresholdFloatingice")==0) return CalvingStressThresholdFloatingiceEnum;
    385385         else stage=4;
    386386   }
    387387   if(stage==4){
    388               if (strcmp(name,"CalvingStressThresholdGroundedice")==0) return CalvingStressThresholdGroundediceEnum;
     388              if (strcmp(name,"CalvingStressThresholdFloatingice")==0) return CalvingStressThresholdFloatingiceEnum;
     389              else if (strcmp(name,"CalvingStressThresholdGroundedice")==0) return CalvingStressThresholdGroundediceEnum;
    389390              else if (strcmp(name,"Converged")==0) return ConvergedEnum;
    390391              else if (strcmp(name,"CrevasseDepth")==0) return CrevasseDepthEnum;
     
    505506              else if (strcmp(name,"SmbDini")==0) return SmbDiniEnum;
    506507              else if (strcmp(name,"SmbDlwrf")==0) return SmbDlwrfEnum;
    507               else if (strcmp(name,"SmbDswrf")==0) return SmbDswrfEnum;
    508508         else stage=5;
    509509   }
    510510   if(stage==5){
    511               if (strcmp(name,"SmbDz")==0) return SmbDzEnum;
     511              if (strcmp(name,"SmbDswrf")==0) return SmbDswrfEnum;
     512              else if (strcmp(name,"SmbDz")==0) return SmbDzEnum;
    512513              else if (strcmp(name,"SmbDzini")==0) return SmbDziniEnum;
    513514              else if (strcmp(name,"SmbDzMin")==0) return SmbDzMinEnum;
     
    628629              else if (strcmp(name,"AutodiffJacobian")==0) return AutodiffJacobianEnum;
    629630              else if (strcmp(name,"AutodiffKeep")==0) return AutodiffKeepEnum;
    630               else if (strcmp(name,"Balancethickness2Analysis")==0) return Balancethickness2AnalysisEnum;
    631631         else stage=6;
    632632   }
    633633   if(stage==6){
    634               if (strcmp(name,"Balancethickness2Solution")==0) return Balancethickness2SolutionEnum;
     634              if (strcmp(name,"Balancethickness2Analysis")==0) return Balancethickness2AnalysisEnum;
     635              else if (strcmp(name,"Balancethickness2Solution")==0) return Balancethickness2SolutionEnum;
    635636              else if (strcmp(name,"BalancethicknessAnalysis")==0) return BalancethicknessAnalysisEnum;
    636637              else if (strcmp(name,"BalancethicknessApparentMassbalance")==0) return BalancethicknessApparentMassbalanceEnum;
     
    751752              else if (strcmp(name,"GroundingOnly")==0) return GroundingOnlyEnum;
    752753              else if (strcmp(name,"Gset")==0) return GsetEnum;
    753               else if (strcmp(name,"Gsl")==0) return GslEnum;
    754754         else stage=7;
    755755   }
    756756   if(stage==7){
    757               if (strcmp(name,"HOApproximation")==0) return HOApproximationEnum;
     757              if (strcmp(name,"Gsl")==0) return GslEnum;
     758              else if (strcmp(name,"HOApproximation")==0) return HOApproximationEnum;
    758759              else if (strcmp(name,"HOFSApproximation")==0) return HOFSApproximationEnum;
    759760              else if (strcmp(name,"Hook")==0) return HookEnum;
     
    869870              else if (strcmp(name,"MeshLat")==0) return MeshLatEnum;
    870871              else if (strcmp(name,"MeshLong")==0) return MeshLongEnum;
    871               else if (strcmp(name,"MeshNumberofelements")==0) return MeshNumberofelementsEnum;
    872872              else if (strcmp(name,"MeshX")==0) return MeshXEnum;
    873873              else if (strcmp(name,"MeshY")==0) return MeshYEnum;
Note: See TracChangeset for help on using the changeset viewer.