Changeset 17941


Ignore:
Timestamp:
05/05/14 17:15:22 (11 years ago)
Author:
cborstad
Message:

CHG: fixed spelling: Agressive->Aggressive

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

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/classes/Elements/Element.cpp

    r17925 r17941  
    744744                else shelf=false;
    745745        }
    746         else if(migration_style==NoneEnum || migration_style==AgressiveMigrationEnum || migration_style==SoftMigrationEnum){ //Floating if all nodes are floating
     746        else if(migration_style==NoneEnum || migration_style==AggressiveMigrationEnum || migration_style==SoftMigrationEnum){ //Floating if all nodes are floating
    747747                if(this->inputs->Min(MaskGroundediceLevelsetEnum) > 0.) shelf=false;
    748748                else shelf=true;
  • issm/trunk-jpl/src/c/classes/Elements/Penta.cpp

    r17937 r17941  
    39613961                }
    39623962                /*Ice sheet: if hydrostatic bed above bathymetry, ice sheet starts to unground, elso do nothing */
    3963                 /*Change only if AgressiveMigration or if the ice sheet is in contact with the ocean*/
     3963                /*Change only if AggressiveMigration or if the ice sheet is in contact with the ocean*/
    39643964                else{
    39653965                        bed_hydro=-density*h[i];
    39663966                        if(bed_hydro>r[i]){
    39673967                                /*Unground only if the element is connected to the ice shelf*/
    3968                                 if(migration_style==AgressiveMigrationEnum || migration_style==SubelementMigrationEnum || migration_style==SubelementMigration2Enum){
     3968                                if(migration_style==AggressiveMigrationEnum || migration_style==SubelementMigrationEnum || migration_style==SubelementMigration2Enum){
    39693969                                        s[i]        = (1-density)*h[i];
    39703970                                        b[i]        = -density*h[i];
  • issm/trunk-jpl/src/c/classes/Elements/Tria.cpp

    r17936 r17941  
    44064406                }
    44074407                /*Ice sheet: if hydrostatic bed above bathymetry, ice sheet starts to unground, elso do nothing */
    4408                 /*Change only if AgressiveMigration or if the ice sheet is in contact with the ocean*/
     4408                /*Change only if AggressiveMigration or if the ice sheet is in contact with the ocean*/
    44094409                else{ // phi>0
    44104410                        bed_hydro=-density*h[i];
    44114411                        if (bed_hydro>r[i]){
    44124412                                /*Unground only if the element is connected to the ice shelf*/
    4413                                 if(migration_style==AgressiveMigrationEnum || migration_style==SubelementMigrationEnum || migration_style==SubelementMigration2Enum){
     4413                                if(migration_style==AggressiveMigrationEnum || migration_style==SubelementMigrationEnum || migration_style==SubelementMigration2Enum){
    44144414                                        s[i]        = (1-density)*h[i];
    44154415                                        b[i]        = -density*h[i];
  • issm/trunk-jpl/src/c/modules/GroundinglineMigrationx/GroundinglineMigrationx.cpp

    r17707 r17941  
    3636                        phi_ungrounding=ContactFSLevelset(elements,vertices);
    3737                        break;
    38                 case AgressiveMigrationEnum:
     38                case AggressiveMigrationEnum:
    3939                case SubelementMigrationEnum:
    4040                case SubelementMigration2Enum:
  • issm/trunk-jpl/src/c/shared/Enum/EnumDefinitions.h

    r17933 r17941  
    650650        /*Grounding Line{{{*/
    651651        NoneEnum,
    652         AgressiveMigrationEnum,
     652        AggressiveMigrationEnum,
    653653        SoftMigrationEnum,
    654654        SubelementMigrationEnum,
  • issm/trunk-jpl/src/c/shared/Enum/EnumToStringx.cpp

    r17933 r17941  
    629629                case AugmentedLagrangianThetaEnum : return "AugmentedLagrangianTheta";
    630630                case NoneEnum : return "None";
    631                 case AgressiveMigrationEnum : return "AgressiveMigration";
     631                case AggressiveMigrationEnum : return "AggressiveMigration";
    632632                case SoftMigrationEnum : return "SoftMigration";
    633633                case SubelementMigrationEnum : return "SubelementMigration";
  • issm/trunk-jpl/src/c/shared/Enum/StringToEnumx.cpp

    r17933 r17941  
    644644              else if (strcmp(name,"AugmentedLagrangianTheta")==0) return AugmentedLagrangianThetaEnum;
    645645              else if (strcmp(name,"None")==0) return NoneEnum;
    646               else if (strcmp(name,"AgressiveMigration")==0) return AgressiveMigrationEnum;
     646              else if (strcmp(name,"AggressiveMigration")==0) return AggressiveMigrationEnum;
    647647              else if (strcmp(name,"SoftMigration")==0) return SoftMigrationEnum;
    648648              else if (strcmp(name,"SubelementMigration")==0) return SubelementMigrationEnum;
  • issm/trunk-jpl/src/m/classes/groundingline.m

    r17939 r17941  
    1818                       
    1919            % migration (SoftMigration, AggressiveMigration, or None)drop-down
    20             fprintf(fid,'%s\n%s\n%s\n%s\n','<parameter key ="migration" type="alternative" optional="false">','     <section name="groundingline" />','     <help> type of grounding line migration: "SoftMigration","AgressiveMigration" or "None" </help>');
     20            fprintf(fid,'%s\n%s\n%s\n%s\n','<parameter key ="migration" type="alternative" optional="false">','     <section name="groundingline" />','     <help> type of grounding line migration: "SoftMigration","AggressiveMigration" or "None" </help>');
    2121            fprintf(fid,'%s\n','       <option value="SoftMigration" type="string" default="true"> </option>');
    2222            fprintf(fid,'%s\n','       <option value="AggressiveMigration" type="string" default="false"> </option>');
     
    4545                function md = checkconsistency(obj,md,solution,analyses) % {{{
    4646
    47                         md = checkfield(md,'fieldname','groundingline.migration','values',{'None' 'AgressiveMigration' 'SoftMigration' 'SubelementMigration' 'SubelementMigration2' 'Contact' 'None'});
     47                        md = checkfield(md,'fieldname','groundingline.migration','values',{'None' 'AggressiveMigration' 'SoftMigration' 'SubelementMigration' 'SubelementMigration2' 'Contact' 'None'});
    4848
    4949                        if ~strcmp(obj.migration,'None'),
     
    6363                function disp(obj) % {{{
    6464                        disp(sprintf('   grounding line migration parameters:'));
    65                         fielddisplay(obj,'migration','type of grounding line migration: ''SoftMigration'',''AgressiveMigration'' or ''None''');
     65                        fielddisplay(obj,'migration','type of grounding line migration: ''SoftMigration'',''AggressiveMigration'' or ''None''');
    6666                        fielddisplay(obj,'melting_rate','melting rate applied when previously grounded parts start floating [m/yr]');
    6767
  • issm/trunk-jpl/src/m/classes/groundingline.py

    r17939 r17941  
    2626                string='   grounding line migration parameters:'
    2727
    28                 string="%s\n%s"%(string,fielddisplay(self,'migration','type of grounding line migration: ''SoftMigration'',''AgressiveMigration'',''SubelementMigration'',''SubelementMigration2'',''Contact'',''None'''))
     28                string="%s\n%s"%(string,fielddisplay(self,'migration','type of grounding line migration: ''SoftMigration'',''AggressiveMigration'',''SubelementMigration'',''SubelementMigration2'',''Contact'',''None'''))
    2929                string="%s\n%s"%(string,fielddisplay(self,'melting_rate','melting rate applied when previously grounded parts start floating [m/yr]'))
    3030                return string
     
    4242        def checkconsistency(self,md,solution,analyses):    # {{{
    4343
    44                 md = checkfield(md,'fieldname','groundingline.migration','values',['None','AgressiveMigration','SoftMigration','SubelementMigration','SubelementMigration2','Contact'])
     44                md = checkfield(md,'fieldname','groundingline.migration','values',['None','AggressiveMigration','SoftMigration','SubelementMigration','SubelementMigration2','Contact'])
    4545
    4646                if not m.strcmp(self.migration,'None'):
  • issm/trunk-jpl/src/m/classes/model.m

    r17940 r17941  
    10171017                        if isfield(structmd,'groundingline_migration') & isnumeric(structmd.groundingline_migration),
    10181018                                if (structmd.groundingline_migration==272), md.groundingline.migration='None';      end
    1019                                 if (structmd.groundingline_migration==273), md.groundingline.migration='AgressiveMigration';  end
     1019                                if (structmd.groundingline_migration==273), md.groundingline.migration='AggressiveMigration';  end
    10201020                                if (structmd.groundingline_migration==274), md.groundingline.migration='SoftMigration'; end
    10211021                        end
  • issm/trunk-jpl/src/m/enum/EnumDefinitions.py

    r17933 r17941  
    621621def AugmentedLagrangianThetaEnum(): return StringToEnum("AugmentedLagrangianTheta")[0]
    622622def NoneEnum(): return StringToEnum("None")[0]
    623 def AgressiveMigrationEnum(): return StringToEnum("AgressiveMigration")[0]
     623def AggressiveMigrationEnum(): return StringToEnum("AggressiveMigration")[0]
    624624def SoftMigrationEnum(): return StringToEnum("SoftMigration")[0]
    625625def SubelementMigrationEnum(): return StringToEnum("SubelementMigration")[0]
Note: See TracChangeset for help on using the changeset viewer.