Changeset 11447


Ignore:
Timestamp:
02/14/12 16:35:08 (13 years ago)
Author:
Mathieu Morlighem
Message:

Added incomplete_adjoint flag (1 default for now)

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

Legend:

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

    r11347 r11447  
    7373        InversionIscontrolEnum,
    7474        InversionTaoEnum,
     75        InversionIncompleteAdjointEnum,
    7576        InversionMaxParametersEnum,
    7677        InversionMaxiterPerStepEnum,
  • issm/trunk-jpl/src/c/modules/EnumToStringx/EnumToStringx.cpp

    r11347 r11447  
    7777                case InversionIscontrolEnum : return "InversionIscontrol";
    7878                case InversionTaoEnum : return "InversionTao";
     79                case InversionIncompleteAdjointEnum : return "InversionIncompleteAdjoint";
    7980                case InversionMaxParametersEnum : return "InversionMaxParameters";
    8081                case InversionMaxiterPerStepEnum : return "InversionMaxiterPerStep";
  • issm/trunk-jpl/src/c/modules/ModelProcessorx/Control/CreateParametersControl.cpp

    r9789 r11447  
    4040                parameters->AddObject(iomodel->CopyConstantObject(InversionCostFunctionThresholdEnum));
    4141                parameters->AddObject(iomodel->CopyConstantObject(InversionGradientOnlyEnum));
     42                parameters->AddObject(iomodel->CopyConstantObject(InversionIncompleteAdjointEnum));
    4243
    4344                /*What solution type?*/
  • issm/trunk-jpl/src/c/modules/StringToEnumx/StringToEnumx.cpp

    r11407 r11447  
    7878              else if (strcmp(name,"InversionIscontrol")==0) return InversionIscontrolEnum;
    7979              else if (strcmp(name,"InversionTao")==0) return InversionTaoEnum;
     80              else if (strcmp(name,"InversionIncompleteAdjoint")==0) return InversionIncompleteAdjointEnum;
    8081              else if (strcmp(name,"InversionMaxParameters")==0) return InversionMaxParametersEnum;
    8182              else if (strcmp(name,"InversionMaxiterPerStep")==0) return InversionMaxiterPerStepEnum;
     
    136137              else if (strcmp(name,"PrognosticPenaltyFactor")==0) return PrognosticPenaltyFactorEnum;
    137138              else if (strcmp(name,"PrognosticSpcthickness")==0) return PrognosticSpcthicknessEnum;
    138               else if (strcmp(name,"PrognosticStabilization")==0) return PrognosticStabilizationEnum;
    139139         else stage=2;
    140140   }
    141141   if(stage==2){
    142               if (strcmp(name,"PrognosticVertexPairing")==0) return PrognosticVertexPairingEnum;
     142              if (strcmp(name,"PrognosticStabilization")==0) return PrognosticStabilizationEnum;
     143              else if (strcmp(name,"PrognosticVertexPairing")==0) return PrognosticVertexPairingEnum;
    143144              else if (strcmp(name,"QmuIsdakota")==0) return QmuIsdakotaEnum;
    144145              else if (strcmp(name,"QmuMassFluxSegments")==0) return QmuMassFluxSegmentsEnum;
     
    259260              else if (strcmp(name,"Numericalflux")==0) return NumericalfluxEnum;
    260261              else if (strcmp(name,"Param")==0) return ParamEnum;
    261               else if (strcmp(name,"PattynIceFront")==0) return PattynIceFrontEnum;
    262262         else stage=3;
    263263   }
    264264   if(stage==3){
    265               if (strcmp(name,"Pengrid")==0) return PengridEnum;
     265              if (strcmp(name,"PattynIceFront")==0) return PattynIceFrontEnum;
     266              else if (strcmp(name,"Pengrid")==0) return PengridEnum;
    266267              else if (strcmp(name,"Penpair")==0) return PenpairEnum;
    267268              else if (strcmp(name,"Penta")==0) return PentaEnum;
     
    382383              else if (strcmp(name,"DoubleExternalResult")==0) return DoubleExternalResultEnum;
    383384              else if (strcmp(name,"DoubleMatExternalResult")==0) return DoubleMatExternalResultEnum;
    384               else if (strcmp(name,"DoubleVecExternalResult")==0) return DoubleVecExternalResultEnum;
    385385         else stage=4;
    386386   }
    387387   if(stage==4){
    388               if (strcmp(name,"IntExternalResult")==0) return IntExternalResultEnum;
     388              if (strcmp(name,"DoubleVecExternalResult")==0) return DoubleVecExternalResultEnum;
     389              else if (strcmp(name,"IntExternalResult")==0) return IntExternalResultEnum;
    389390              else if (strcmp(name,"J")==0) return JEnum;
    390391              else if (strcmp(name,"Patch")==0) return PatchEnum;
Note: See TracChangeset for help on using the changeset viewer.