Changeset 20927
- Timestamp:
- 07/17/16 15:23:16 (9 years ago)
- Location:
- issm/trunk-jpl/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/classes/IoModel.cpp
r20925 r20927 656 656 this->AddConstant(new IoConstant(StringToEnumx(string),record_name)); 657 657 } else if(strcmp(record_name,"md.flowequation.fe_FS")==0){ 658 this->AddConstant(new IoConstant(StringToEnumx(string),record_name)); 659 } else if(strcmp(record_name,"md.groundingline.migration")==0){ 658 660 this->AddConstant(new IoConstant(StringToEnumx(string),record_name)); 659 661 } else { … … 784 786 } else if(strcmp(record_name,"md.flowequation.fe_FS")==0){ 785 787 this->AddConstant(new IoConstant(StringToEnumx(string),record_name)); 788 } else if(strcmp(record_name,"md.groundingline.migration")==0){ 789 this->AddConstant(new IoConstant(StringToEnumx(string),record_name)); 786 790 } else { 787 791 /*Add string to parameters: */ -
issm/trunk-jpl/src/m/classes/flowequation.js
r20838 r20927 104 104 WriteData(fid,prefix,'object',this,'fieldname','isHO','format','Boolean'); 105 105 WriteData(fid,prefix,'object',this,'fieldname','isFS','format','Boolean'); 106 WriteData(fid,prefix,'object',this,'fieldname','fe_SSA','data', StringToEnum(this.fe_SSA),'format','Integer');107 WriteData(fid,prefix,'object',this,'fieldname','fe_HO','data', StringToEnum(this.fe_HO) ,'format','Integer');108 WriteData(fid,prefix,'object',this,'fieldname','fe_FS','data', StringToEnum(this.fe_FS) ,'format','Integer');106 WriteData(fid,prefix,'object',this,'fieldname','fe_SSA','data',this.fe_SSA,'format','String'); 107 WriteData(fid,prefix,'object',this,'fieldname','fe_HO','data',this.fe_HO,'format','String'); 108 WriteData(fid,prefix,'object',this,'fieldname','fe_FS','data',this.fe_FS,'format','String'); 109 109 110 110 WriteData(fid,prefix,'object',this,'fieldname','augmented_lagrangian_r','format','Double'); -
issm/trunk-jpl/src/m/classes/groundingline.js
r20777 r20927 41 41 } // }}} 42 42 this.marshall=function(md,prefix,fid) { //{{{ 43 WriteData(fid,prefix,'data', StringToEnum(this.migration),'name','md.groundingline.migration','format','Integer');43 WriteData(fid,prefix,'data',this.migration,'name','md.groundingline.migration','format','String'); 44 44 }//}}} 45 45 this.fix=function() { //{{{ -
issm/trunk-jpl/src/m/classes/groundingline.m
r20690 r20927 48 48 end % }}} 49 49 function marshall(self,prefix,md,fid) % {{{ 50 WriteData(fid,prefix,'data', StringToEnum(self.migration),'name','md.groundingline.migration','format','Integer');50 WriteData(fid,prefix,'data',self.migration,'name','md.groundingline.migration','format','String'); 51 51 end % }}} 52 52 function savemodeljs(self,fid,modelname) % {{{ -
issm/trunk-jpl/src/m/classes/groundingline.py
r20690 r20927 51 51 # }}} 52 52 def marshall(self,prefix,md,fid): # {{{ 53 WriteData(fid,prefix,'data', StringToEnum(self.migration)[0],'name','md.groundingline.migration','format','Integer')53 WriteData(fid,prefix,'data',self.migration,'name','md.groundingline.migration','format','String') 54 54 # }}}
Note:
See TracChangeset
for help on using the changeset viewer.