Changeset 17941
- Timestamp:
- 05/05/14 17:15:22 (11 years ago)
- 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 744 744 else shelf=false; 745 745 } 746 else if(migration_style==NoneEnum || migration_style==Ag ressiveMigrationEnum || migration_style==SoftMigrationEnum){ //Floating if all nodes are floating746 else if(migration_style==NoneEnum || migration_style==AggressiveMigrationEnum || migration_style==SoftMigrationEnum){ //Floating if all nodes are floating 747 747 if(this->inputs->Min(MaskGroundediceLevelsetEnum) > 0.) shelf=false; 748 748 else shelf=true; -
issm/trunk-jpl/src/c/classes/Elements/Penta.cpp
r17937 r17941 3961 3961 } 3962 3962 /*Ice sheet: if hydrostatic bed above bathymetry, ice sheet starts to unground, elso do nothing */ 3963 /*Change only if Ag ressiveMigration 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*/ 3964 3964 else{ 3965 3965 bed_hydro=-density*h[i]; 3966 3966 if(bed_hydro>r[i]){ 3967 3967 /*Unground only if the element is connected to the ice shelf*/ 3968 if(migration_style==Ag ressiveMigrationEnum || migration_style==SubelementMigrationEnum || migration_style==SubelementMigration2Enum){3968 if(migration_style==AggressiveMigrationEnum || migration_style==SubelementMigrationEnum || migration_style==SubelementMigration2Enum){ 3969 3969 s[i] = (1-density)*h[i]; 3970 3970 b[i] = -density*h[i]; -
issm/trunk-jpl/src/c/classes/Elements/Tria.cpp
r17936 r17941 4406 4406 } 4407 4407 /*Ice sheet: if hydrostatic bed above bathymetry, ice sheet starts to unground, elso do nothing */ 4408 /*Change only if Ag ressiveMigration 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*/ 4409 4409 else{ // phi>0 4410 4410 bed_hydro=-density*h[i]; 4411 4411 if (bed_hydro>r[i]){ 4412 4412 /*Unground only if the element is connected to the ice shelf*/ 4413 if(migration_style==Ag ressiveMigrationEnum || migration_style==SubelementMigrationEnum || migration_style==SubelementMigration2Enum){4413 if(migration_style==AggressiveMigrationEnum || migration_style==SubelementMigrationEnum || migration_style==SubelementMigration2Enum){ 4414 4414 s[i] = (1-density)*h[i]; 4415 4415 b[i] = -density*h[i]; -
issm/trunk-jpl/src/c/modules/GroundinglineMigrationx/GroundinglineMigrationx.cpp
r17707 r17941 36 36 phi_ungrounding=ContactFSLevelset(elements,vertices); 37 37 break; 38 case Ag ressiveMigrationEnum:38 case AggressiveMigrationEnum: 39 39 case SubelementMigrationEnum: 40 40 case SubelementMigration2Enum: -
issm/trunk-jpl/src/c/shared/Enum/EnumDefinitions.h
r17933 r17941 650 650 /*Grounding Line{{{*/ 651 651 NoneEnum, 652 Ag ressiveMigrationEnum,652 AggressiveMigrationEnum, 653 653 SoftMigrationEnum, 654 654 SubelementMigrationEnum, -
issm/trunk-jpl/src/c/shared/Enum/EnumToStringx.cpp
r17933 r17941 629 629 case AugmentedLagrangianThetaEnum : return "AugmentedLagrangianTheta"; 630 630 case NoneEnum : return "None"; 631 case Ag ressiveMigrationEnum : return "AgressiveMigration";631 case AggressiveMigrationEnum : return "AggressiveMigration"; 632 632 case SoftMigrationEnum : return "SoftMigration"; 633 633 case SubelementMigrationEnum : return "SubelementMigration"; -
issm/trunk-jpl/src/c/shared/Enum/StringToEnumx.cpp
r17933 r17941 644 644 else if (strcmp(name,"AugmentedLagrangianTheta")==0) return AugmentedLagrangianThetaEnum; 645 645 else if (strcmp(name,"None")==0) return NoneEnum; 646 else if (strcmp(name,"Ag ressiveMigration")==0) return AgressiveMigrationEnum;646 else if (strcmp(name,"AggressiveMigration")==0) return AggressiveMigrationEnum; 647 647 else if (strcmp(name,"SoftMigration")==0) return SoftMigrationEnum; 648 648 else if (strcmp(name,"SubelementMigration")==0) return SubelementMigrationEnum; -
issm/trunk-jpl/src/m/classes/groundingline.m
r17939 r17941 18 18 19 19 % 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","Ag ressiveMigration" 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>'); 21 21 fprintf(fid,'%s\n',' <option value="SoftMigration" type="string" default="true"> </option>'); 22 22 fprintf(fid,'%s\n',' <option value="AggressiveMigration" type="string" default="false"> </option>'); … … 45 45 function md = checkconsistency(obj,md,solution,analyses) % {{{ 46 46 47 md = checkfield(md,'fieldname','groundingline.migration','values',{'None' 'Ag ressiveMigration' 'SoftMigration' 'SubelementMigration' 'SubelementMigration2' 'Contact' 'None'});47 md = checkfield(md,'fieldname','groundingline.migration','values',{'None' 'AggressiveMigration' 'SoftMigration' 'SubelementMigration' 'SubelementMigration2' 'Contact' 'None'}); 48 48 49 49 if ~strcmp(obj.migration,'None'), … … 63 63 function disp(obj) % {{{ 64 64 disp(sprintf(' grounding line migration parameters:')); 65 fielddisplay(obj,'migration','type of grounding line migration: ''SoftMigration'',''Ag ressiveMigration'' or ''None''');65 fielddisplay(obj,'migration','type of grounding line migration: ''SoftMigration'',''AggressiveMigration'' or ''None'''); 66 66 fielddisplay(obj,'melting_rate','melting rate applied when previously grounded parts start floating [m/yr]'); 67 67 -
issm/trunk-jpl/src/m/classes/groundingline.py
r17939 r17941 26 26 string=' grounding line migration parameters:' 27 27 28 string="%s\n%s"%(string,fielddisplay(self,'migration','type of grounding line migration: ''SoftMigration'',''Ag ressiveMigration'',''SubelementMigration'',''SubelementMigration2'',''Contact'',''None'''))28 string="%s\n%s"%(string,fielddisplay(self,'migration','type of grounding line migration: ''SoftMigration'',''AggressiveMigration'',''SubelementMigration'',''SubelementMigration2'',''Contact'',''None''')) 29 29 string="%s\n%s"%(string,fielddisplay(self,'melting_rate','melting rate applied when previously grounded parts start floating [m/yr]')) 30 30 return string … … 42 42 def checkconsistency(self,md,solution,analyses): # {{{ 43 43 44 md = checkfield(md,'fieldname','groundingline.migration','values',['None','Ag ressiveMigration','SoftMigration','SubelementMigration','SubelementMigration2','Contact'])44 md = checkfield(md,'fieldname','groundingline.migration','values',['None','AggressiveMigration','SoftMigration','SubelementMigration','SubelementMigration2','Contact']) 45 45 46 46 if not m.strcmp(self.migration,'None'): -
issm/trunk-jpl/src/m/classes/model.m
r17940 r17941 1017 1017 if isfield(structmd,'groundingline_migration') & isnumeric(structmd.groundingline_migration), 1018 1018 if (structmd.groundingline_migration==272), md.groundingline.migration='None'; end 1019 if (structmd.groundingline_migration==273), md.groundingline.migration='Ag ressiveMigration'; end1019 if (structmd.groundingline_migration==273), md.groundingline.migration='AggressiveMigration'; end 1020 1020 if (structmd.groundingline_migration==274), md.groundingline.migration='SoftMigration'; end 1021 1021 end -
issm/trunk-jpl/src/m/enum/EnumDefinitions.py
r17933 r17941 621 621 def AugmentedLagrangianThetaEnum(): return StringToEnum("AugmentedLagrangianTheta")[0] 622 622 def NoneEnum(): return StringToEnum("None")[0] 623 def Ag ressiveMigrationEnum(): return StringToEnum("AgressiveMigration")[0]623 def AggressiveMigrationEnum(): return StringToEnum("AggressiveMigration")[0] 624 624 def SoftMigrationEnum(): return StringToEnum("SoftMigration")[0] 625 625 def SubelementMigrationEnum(): return StringToEnum("SubelementMigration")[0]
Note:
See TracChangeset
for help on using the changeset viewer.