Changeset 20622
- Timestamp:
- 05/18/16 17:33:49 (9 years ago)
- Location:
- issm/trunk-jpl/src
- Files:
-
- 4 added
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/analyses/EnthalpyAnalysis.cpp
r20459 r20622 1493 1493 element->AddInput(MaterialsRheologyBEnum,&B[0],element->GetElementType()); 1494 1494 break; 1495 case CuffeyTemperateEnum: 1496 for(i=0;i<numnodes;i++) B[i]=CuffeyTemperate(temperature[i], waterfraction[i]); 1497 element->AddInput(MaterialsRheologyBEnum,&B[0],element->GetElementType()); 1498 break; 1495 1499 case PatersonEnum: 1496 1500 for(i=0;i<numnodes;i++) B[i]=Paterson(temperature[i]); -
issm/trunk-jpl/src/c/shared/Elements/elements.h
r19325 r20622 9 9 10 10 IssmDouble Cuffey(IssmDouble temperature); 11 IssmDouble CuffeyTemperate(IssmDouble temperature, IssmDouble waterfraction); 11 12 IssmDouble Paterson(IssmDouble temperature); 12 13 IssmDouble Arrhenius(IssmDouble temperature,IssmDouble depth,IssmDouble n); -
issm/trunk-jpl/src/c/shared/Enum/EnumDefinitions.h
r20578 r20622 1037 1037 /*Rheology law (move to Material) {{{*/ 1038 1038 CuffeyEnum, 1039 CuffeyTemperateEnum, 1039 1040 PatersonEnum, 1040 1041 ArrheniusEnum, -
issm/trunk-jpl/src/c/shared/Enum/EnumToStringx.cpp
r20578 r20622 993 993 case OptionStructEnum : return "OptionStruct"; 994 994 case CuffeyEnum : return "Cuffey"; 995 case CuffeyTemperateEnum : return "CuffeyTemperate"; 995 996 case PatersonEnum : return "Paterson"; 996 997 case ArrheniusEnum : return "Arrhenius"; -
issm/trunk-jpl/src/c/shared/Enum/StringToEnumx.cpp
r20578 r20622 1017 1017 else if (strcmp(name,"OptionStruct")==0) return OptionStructEnum; 1018 1018 else if (strcmp(name,"Cuffey")==0) return CuffeyEnum; 1019 else if (strcmp(name,"CuffeyTemperate")==0) return CuffeyTemperateEnum; 1019 1020 else if (strcmp(name,"Paterson")==0) return PatersonEnum; 1020 1021 else if (strcmp(name,"Arrhenius")==0) return ArrheniusEnum; -
issm/trunk-jpl/src/m/classes/matdamageice.m
r19988 r20622 114 114 md = checkfield(md,'fieldname','materials.rheology_B','>',0,'size',[md.mesh.numberofvertices 1]); 115 115 md = checkfield(md,'fieldname','materials.rheology_n','>',0,'size',[md.mesh.numberofelements 1]); 116 md = checkfield(md,'fieldname','materials.rheology_law','values',{'None' 'Cuffey' ' Paterson' 'Arrhenius' 'LliboutryDuval'});116 md = checkfield(md,'fieldname','materials.rheology_law','values',{'None' 'Cuffey' 'CuffeyTemperate' 'Paterson' 'Arrhenius' 'LliboutryDuval'}); 117 117 118 118 if ismember(GiaAnalysisEnum(),analyses), … … 145 145 fielddisplay(self,'rheology_B','flow law parameter [Pa/s^(1/n)]'); 146 146 fielddisplay(self,'rheology_n','Glen''s flow law exponent'); 147 fielddisplay(self,'rheology_law',['law for the temperature dependance of the rheology: ''None'', ''Cuffey'', '' Paterson'', ''Arrhenius'' or ''LliboutryDuval''']);147 fielddisplay(self,'rheology_law',['law for the temperature dependance of the rheology: ''None'', ''Cuffey'', ''CuffeyTemperate'', ''Paterson'', ''Arrhenius'' or ''LliboutryDuval''']); 148 148 fielddisplay(self,'lithosphere_shear_modulus','Lithosphere shear modulus [Pa]'); 149 149 fielddisplay(self,'lithosphere_density','Lithosphere density [g/cm^-3]'); -
issm/trunk-jpl/src/m/classes/matdamageice.py
r19988 r20622 60 60 string="%s\n%s"%(string,fielddisplay(self,"rheology_B","flow law parameter [Pa/s^(1/n)]")) 61 61 string="%s\n%s"%(string,fielddisplay(self,"rheology_n","Glen's flow law exponent")) 62 string="%s\n%s"%(string,fielddisplay(self,"rheology_law","law for the temperature dependance of the rheology: 'None', 'Cuffey', ' Paterson', 'Arrhenius' or 'LliboutryDuval'"))62 string="%s\n%s"%(string,fielddisplay(self,"rheology_law","law for the temperature dependance of the rheology: 'None', 'Cuffey', 'CuffeyTemperate', 'Paterson', 'Arrhenius' or 'LliboutryDuval'")) 63 63 string="%s\n%s"%(string,fielddisplay(self,"lithosphere_shear_modulus","Lithosphere shear modulus [Pa]")) 64 64 string="%s\n%s"%(string,fielddisplay(self,"lithosphere_density","Lithosphere density [g/cm^-3]")) … … 135 135 md = checkfield(md,'fieldname','materials.rheology_B','>',0,'size',[md.mesh.numberofvertices]) 136 136 md = checkfield(md,'fieldname','materials.rheology_n','>',0,'size',[md.mesh.numberofelements]) 137 md = checkfield(md,'fieldname','materials.rheology_law','values',['None','Cuffey', 'Paterson','Arrhenius','LliboutryDuval'])137 md = checkfield(md,'fieldname','materials.rheology_law','values',['None','Cuffey', 'CuffeyTemperate', 'Paterson','Arrhenius','LliboutryDuval']) 138 138 md = checkfield(md,'fieldname','materials.lithosphere_shear_modulus','>',0,'numel',[1]); 139 139 md = checkfield(md,'fieldname','materials.lithosphere_density','>',0,'numel',[1]); -
issm/trunk-jpl/src/m/classes/matice.js
r20004 r20622 76 76 fielddisplay(this,'rheology_B','flow law parameter [Pa/s^(1/n)]'); 77 77 fielddisplay(this,'rheology_n',"Glen's flow law exponent"); 78 fielddisplay(this,'rheology_law',"law for the temperature dependance of the rheology: 'None', 'Cuffey', ' Paterson', 'Arrhenius' or 'LliboutryDuval'");78 fielddisplay(this,'rheology_law',"law for the temperature dependance of the rheology: 'None', 'Cuffey', 'CuffeyTemperate', 'Paterson', 'Arrhenius' or 'LliboutryDuval'"); 79 79 fielddisplay(this,'lithosphere_shear_modulus','Lithosphere shear modulus [Pa]'); 80 80 fielddisplay(this,'lithosphere_density','Lithosphere density [g/cm^-3]'); … … 94 94 checkfield(md,'fieldname','materials.rheology_B','>',0,'timeseries',1,'NaN',1,'Inf',1); 95 95 checkfield(md,'fieldname','materials.rheology_n','>',0,'size',[md.mesh.numberofelements,1]); 96 checkfield(md,'fieldname','materials.rheology_law','values',['None','Cuffey',' Paterson','Arrhenius','LliboutryDuval']);96 checkfield(md,'fieldname','materials.rheology_law','values',['None','Cuffey','CuffeyTemperate','Paterson','Arrhenius','LliboutryDuval']); 97 97 98 98 if(ArrayAnyEqual(ArrayIsMember(GiaAnalysisEnum(),analyses),1)){ -
issm/trunk-jpl/src/m/classes/matice.m
r19984 r20622 114 114 md = checkfield(md,'fieldname','materials.rheology_B','>',0,'timeseries',1,'NaN',1,'Inf',1); 115 115 md = checkfield(md,'fieldname','materials.rheology_n','>',0,'size',[md.mesh.numberofelements 1]); 116 md = checkfield(md,'fieldname','materials.rheology_law','values',{'None' 'Cuffey' ' Paterson' 'Arrhenius' 'LliboutryDuval'});116 md = checkfield(md,'fieldname','materials.rheology_law','values',{'None' 'Cuffey' 'CuffeyTemperate' 'Paterson' 'Arrhenius' 'LliboutryDuval'}); 117 117 118 118 if ismember(GiaAnalysisEnum(),analyses), … … 144 144 fielddisplay(self,'rheology_B','flow law parameter [Pa/s^(1/n)]'); 145 145 fielddisplay(self,'rheology_n','Glen''s flow law exponent'); 146 fielddisplay(self,'rheology_law',['law for the temperature dependance of the rheology: ''None'', ''Cuffey'', '' Paterson'', ''Arrhenius'' or ''LliboutryDuval''']);146 fielddisplay(self,'rheology_law',['law for the temperature dependance of the rheology: ''None'', ''Cuffey'', ''CuffeyTemperate'', ''Paterson'', ''Arrhenius'' or ''LliboutryDuval''']); 147 147 fielddisplay(self,'lithosphere_shear_modulus','Lithosphere shear modulus [Pa]'); 148 148 fielddisplay(self,'lithosphere_density','Lithosphere density [g/cm^-3]'); -
issm/trunk-jpl/src/m/classes/matice.py
r19988 r20622 61 61 string="%s\n%s"%(string,fielddisplay(self,"rheology_B","flow law parameter [Pa/s^(1/n)]")) 62 62 string="%s\n%s"%(string,fielddisplay(self,"rheology_n","Glen's flow law exponent")) 63 string="%s\n%s"%(string,fielddisplay(self,"rheology_law","law for the temperature dependance of the rheology: 'None', 'Cuffey', ' Paterson', 'Arrhenius' or 'LliboutryDuval'"))63 string="%s\n%s"%(string,fielddisplay(self,"rheology_law","law for the temperature dependance of the rheology: 'None', 'Cuffey', 'CuffeyTemperate', 'Paterson', 'Arrhenius' or 'LliboutryDuval'")) 64 64 string="%s\n%s"%(string,fielddisplay(self,"lithosphere_shear_modulus","Lithosphere shear modulus [Pa]")) 65 65 string="%s\n%s"%(string,fielddisplay(self,"lithosphere_density","Lithosphere density [g/cm^-3]")) … … 136 136 md = checkfield(md,'fieldname','materials.rheology_B','>',0,'timeseries',1,'NaN',1,'Inf',1) 137 137 md = checkfield(md,'fieldname','materials.rheology_n','>',0,'size',[md.mesh.numberofelements]) 138 md = checkfield(md,'fieldname','materials.rheology_law','values',['None','Cuffey',' Paterson','Arrhenius','LliboutryDuval'])138 md = checkfield(md,'fieldname','materials.rheology_law','values',['None','Cuffey','CuffeyTemperate','Paterson','Arrhenius','LliboutryDuval']) 139 139 md = checkfield(md,'fieldname','materials.lithosphere_shear_modulus','>',0,'numel',[1]); 140 140 md = checkfield(md,'fieldname','materials.lithosphere_density','>',0,'numel',[1]); -
issm/trunk-jpl/src/m/enum/EnumDefinitions.js
r20578 r20622 978 978 function OptionStructEnum(){ return 974;} 979 979 function CuffeyEnum(){ return 975;} 980 function PatersonEnum(){ return 976;} 981 function ArrheniusEnum(){ return 977;} 982 function LliboutryDuvalEnum(){ return 978;} 983 function SpclevelsetEnum(){ return 979;} 984 function ExtrapolationVariableEnum(){ return 980;} 985 function IceMaskNodeActivationEnum(){ return 981;} 986 function LevelsetfunctionSlopeXEnum(){ return 982;} 987 function LevelsetfunctionSlopeYEnum(){ return 983;} 988 function LevelsetfunctionPicardEnum(){ return 984;} 989 function LevelsetReinitFrequencyEnum(){ return 985;} 990 function SealevelriseSolutionEnum(){ return 986;} 991 function SealevelriseAnalysisEnum(){ return 987;} 992 function SealevelEnum(){ return 988;} 993 function SealevelEustaticEnum(){ return 989;} 994 function SealevelriseDeltathicknessEnum(){ return 990;} 995 function SealevelriseMaxiterEnum(){ return 991;} 996 function SealevelriseReltolEnum(){ return 992;} 997 function SealevelriseAbstolEnum(){ return 993;} 998 function SealevelriseLoveHEnum(){ return 994;} 999 function SealevelriseLoveKEnum(){ return 995;} 1000 function SealevelriseTideLoveHEnum(){ return 996;} 1001 function SealevelriseTideLoveKEnum(){ return 997;} 1002 function SealevelriseRigidEnum(){ return 998;} 1003 function SealevelriseElasticEnum(){ return 999;} 1004 function SealevelriseRotationEnum(){ return 1000;} 1005 function SealevelriseGElasticEnum(){ return 1001;} 1006 function SealevelriseDegaccEnum(){ return 1002;} 1007 function SealevelriseTransitionsEnum(){ return 1003;} 1008 function SealevelriseRequestedOutputsEnum(){ return 1004;} 1009 function SealevelriseNumRequestedOutputsEnum(){ return 1005;} 1010 function MaximumNumberOfDefinitionsEnum(){ return 1006;} 980 function CuffeyTemperateEnum(){ return 976;} 981 function PatersonEnum(){ return 977;} 982 function ArrheniusEnum(){ return 978;} 983 function LliboutryDuvalEnum(){ return 979;} 984 function SpclevelsetEnum(){ return 980;} 985 function ExtrapolationVariableEnum(){ return 981;} 986 function IceMaskNodeActivationEnum(){ return 982;} 987 function LevelsetfunctionSlopeXEnum(){ return 983;} 988 function LevelsetfunctionSlopeYEnum(){ return 984;} 989 function LevelsetfunctionPicardEnum(){ return 985;} 990 function LevelsetReinitFrequencyEnum(){ return 986;} 991 function SealevelriseSolutionEnum(){ return 987;} 992 function SealevelriseAnalysisEnum(){ return 988;} 993 function SealevelEnum(){ return 989;} 994 function SealevelEustaticEnum(){ return 990;} 995 function SealevelriseDeltathicknessEnum(){ return 991;} 996 function SealevelriseMaxiterEnum(){ return 992;} 997 function SealevelriseReltolEnum(){ return 993;} 998 function SealevelriseAbstolEnum(){ return 994;} 999 function SealevelriseLoveHEnum(){ return 995;} 1000 function SealevelriseLoveKEnum(){ return 996;} 1001 function SealevelriseTideLoveHEnum(){ return 997;} 1002 function SealevelriseTideLoveKEnum(){ return 998;} 1003 function SealevelriseRigidEnum(){ return 999;} 1004 function SealevelriseElasticEnum(){ return 1000;} 1005 function SealevelriseRotationEnum(){ return 1001;} 1006 function SealevelriseGElasticEnum(){ return 1002;} 1007 function SealevelriseDegaccEnum(){ return 1003;} 1008 function SealevelriseTransitionsEnum(){ return 1004;} 1009 function SealevelriseRequestedOutputsEnum(){ return 1005;} 1010 function SealevelriseNumRequestedOutputsEnum(){ return 1006;} 1011 function MaximumNumberOfDefinitionsEnum(){ return 1007;} -
issm/trunk-jpl/src/m/enum/EnumDefinitions.py
r20578 r20622 985 985 def OptionStructEnum(): return StringToEnum("OptionStruct")[0] 986 986 def CuffeyEnum(): return StringToEnum("Cuffey")[0] 987 def CuffeyTemperateEnum(): return StringToEnum("CuffeyTemperate")[0] 987 988 def PatersonEnum(): return StringToEnum("Paterson")[0] 988 989 def ArrheniusEnum(): return StringToEnum("Arrhenius")[0]
Note:
See TracChangeset
for help on using the changeset viewer.