Changeset 17572


Ignore:
Timestamp:
03/27/14 13:53:31 (11 years ago)
Author:
Mathieu Morlighem
Message:

NEW: new GL migration option for FS based on contact mechanics

Location:
issm/trunk-jpl/src
Files:
1 added
4 edited

Legend:

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

    r17555 r17572  
    627627        /*}}}*/
    628628        /*Grounding Line{{{*/
     629        NoneEnum,
    629630        AgressiveMigrationEnum,
    630         NoneEnum,
    631631        SoftMigrationEnum,
    632632        SubelementMigrationEnum,
    633633        SubelementMigration2Enum,
     634        ContactEnum,
    634635        MaskGroundediceLevelsetEnum,
    635636        QmuMaskGroundediceLevelsetEnum,
  • issm/trunk-jpl/src/c/shared/Enum/EnumToStringx.cpp

    r17555 r17572  
    604604                case IncrementalEnum : return "Incremental";
    605605                case AugmentedLagrangianREnum : return "AugmentedLagrangianR";
     606                case NoneEnum : return "None";
    606607                case AgressiveMigrationEnum : return "AgressiveMigration";
    607                 case NoneEnum : return "None";
    608608                case SoftMigrationEnum : return "SoftMigration";
    609609                case SubelementMigrationEnum : return "SubelementMigration";
    610610                case SubelementMigration2Enum : return "SubelementMigration2";
     611                case ContactEnum : return "Contact";
    611612                case MaskGroundediceLevelsetEnum : return "MaskGroundediceLevelset";
    612613                case QmuMaskGroundediceLevelsetEnum : return "QmuMaskGroundediceLevelset";
  • issm/trunk-jpl/src/c/shared/Enum/StringToEnumx.cpp

    r17555 r17572  
    616616              else if (strcmp(name,"Incremental")==0) return IncrementalEnum;
    617617              else if (strcmp(name,"AugmentedLagrangianR")==0) return AugmentedLagrangianREnum;
     618              else if (strcmp(name,"None")==0) return NoneEnum;
    618619              else if (strcmp(name,"AgressiveMigration")==0) return AgressiveMigrationEnum;
    619               else if (strcmp(name,"None")==0) return NoneEnum;
    620620              else if (strcmp(name,"SoftMigration")==0) return SoftMigrationEnum;
    621621              else if (strcmp(name,"SubelementMigration")==0) return SubelementMigrationEnum;
    622622              else if (strcmp(name,"SubelementMigration2")==0) return SubelementMigration2Enum;
     623              else if (strcmp(name,"Contact")==0) return ContactEnum;
    623624              else if (strcmp(name,"MaskGroundediceLevelset")==0) return MaskGroundediceLevelsetEnum;
    624625              else if (strcmp(name,"QmuMaskGroundediceLevelset")==0) return QmuMaskGroundediceLevelsetEnum;
     
    628629              else if (strcmp(name,"GaussPenta")==0) return GaussPentaEnum;
    629630              else if (strcmp(name,"FSSolver")==0) return FSSolverEnum;
    630               else if (strcmp(name,"Adjoint")==0) return AdjointEnum;
    631631         else stage=6;
    632632   }
    633633   if(stage==6){
    634               if (strcmp(name,"Colinear")==0) return ColinearEnum;
     634              if (strcmp(name,"Adjoint")==0) return AdjointEnum;
     635              else if (strcmp(name,"Colinear")==0) return ColinearEnum;
    635636              else if (strcmp(name,"ControlSteady")==0) return ControlSteadyEnum;
    636637              else if (strcmp(name,"Fset")==0) return FsetEnum;
  • issm/trunk-jpl/src/m/enum/EnumDefinitions.py

    r17555 r17572  
    596596def IncrementalEnum(): return StringToEnum("Incremental")[0]
    597597def AugmentedLagrangianREnum(): return StringToEnum("AugmentedLagrangianR")[0]
     598def NoneEnum(): return StringToEnum("None")[0]
    598599def AgressiveMigrationEnum(): return StringToEnum("AgressiveMigration")[0]
    599 def NoneEnum(): return StringToEnum("None")[0]
    600600def SoftMigrationEnum(): return StringToEnum("SoftMigration")[0]
    601601def SubelementMigrationEnum(): return StringToEnum("SubelementMigration")[0]
    602602def SubelementMigration2Enum(): return StringToEnum("SubelementMigration2")[0]
     603def ContactEnum(): return StringToEnum("Contact")[0]
    603604def MaskGroundediceLevelsetEnum(): return StringToEnum("MaskGroundediceLevelset")[0]
    604605def QmuMaskGroundediceLevelsetEnum(): return StringToEnum("QmuMaskGroundediceLevelset")[0]
Note: See TracChangeset for help on using the changeset viewer.