Changeset 22787


Ignore:
Timestamp:
05/15/18 15:44:59 (7 years ago)
Author:
seroussi
Message:

CHG: no need to have lat/long enums

Location:
issm/trunk-jpl/src/c
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/analyses/MasstransportAnalysis.cpp

    r22506 r22787  
    179179        }
    180180
    181         if(isoceancoupling){
    182                 iomodel->FetchDataToInput(elements,"md.mesh.lat",MeshLatEnum);
    183                 iomodel->FetchDataToInput(elements,"md.mesh.long",MeshLongEnum);
    184         }
    185181        if(!issmb){
    186182                iomodel->FetchDataToInput(elements,"md.smb.mass_balance",SmbMassBalanceEnum);
  • issm/trunk-jpl/src/c/shared/Enum/EnumDefinitions.h

    r22727 r22787  
    855855        MeltingAnalysisEnum,
    856856        MeshElementsEnum,
    857         MeshLatEnum,
    858         MeshLongEnum,
    859857        MeshXEnum,
    860858        MeshYEnum,
  • issm/trunk-jpl/src/c/shared/Enum/EnumToStringx.cpp

    r22727 r22787  
    859859                case MeltingAnalysisEnum : return "MeltingAnalysis";
    860860                case MeshElementsEnum : return "MeshElements";
    861                 case MeshLatEnum : return "MeshLat";
    862                 case MeshLongEnum : return "MeshLong";
    863861                case MeshXEnum : return "MeshX";
    864862                case MeshYEnum : return "MeshY";
  • issm/trunk-jpl/src/c/shared/Enum/StringToEnumx.cpp

    r22727 r22787  
    880880              if (strcmp(name,"MeltingAnalysis")==0) return MeltingAnalysisEnum;
    881881              else if (strcmp(name,"MeshElements")==0) return MeshElementsEnum;
    882               else if (strcmp(name,"MeshLat")==0) return MeshLatEnum;
    883               else if (strcmp(name,"MeshLong")==0) return MeshLongEnum;
    884882              else if (strcmp(name,"MeshX")==0) return MeshXEnum;
    885883              else if (strcmp(name,"MeshY")==0) return MeshYEnum;
     
    998996              else if (strcmp(name,"Outputdefinition90")==0) return Outputdefinition90Enum;
    999997              else if (strcmp(name,"Outputdefinition91")==0) return Outputdefinition91Enum;
     998              else if (strcmp(name,"Outputdefinition92")==0) return Outputdefinition92Enum;
     999              else if (strcmp(name,"Outputdefinition93")==0) return Outputdefinition93Enum;
    10001000         else stage=9;
    10011001   }
    10021002   if(stage==9){
    1003               if (strcmp(name,"Outputdefinition92")==0) return Outputdefinition92Enum;
    1004               else if (strcmp(name,"Outputdefinition93")==0) return Outputdefinition93Enum;
    1005               else if (strcmp(name,"Outputdefinition94")==0) return Outputdefinition94Enum;
     1003              if (strcmp(name,"Outputdefinition94")==0) return Outputdefinition94Enum;
    10061004              else if (strcmp(name,"Outputdefinition95")==0) return Outputdefinition95Enum;
    10071005              else if (strcmp(name,"Outputdefinition96")==0) return Outputdefinition96Enum;
     
    11211119              else if (strcmp(name,"TransientParam")==0) return TransientParamEnum;
    11221120              else if (strcmp(name,"TransientSolution")==0) return TransientSolutionEnum;
     1121              else if (strcmp(name,"Tria")==0) return TriaEnum;
     1122              else if (strcmp(name,"TriaInput")==0) return TriaInputEnum;
    11231123         else stage=10;
    11241124   }
    11251125   if(stage==10){
    1126               if (strcmp(name,"Tria")==0) return TriaEnum;
    1127               else if (strcmp(name,"TriaInput")==0) return TriaInputEnum;
    1128               else if (strcmp(name,"UzawaPressureAnalysis")==0) return UzawaPressureAnalysisEnum;
     1126              if (strcmp(name,"UzawaPressureAnalysis")==0) return UzawaPressureAnalysisEnum;
    11291127              else if (strcmp(name,"VectorParam")==0) return VectorParamEnum;
    11301128              else if (strcmp(name,"Vertex")==0) return VertexEnum;
Note: See TracChangeset for help on using the changeset viewer.