Changeset 14828
- Timestamp:
- 05/01/13 09:55:51 (12 years ago)
- Location:
- issm/trunk-jpl/src/m/classes
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/gia.m
r14827 r14828 37 37 %recover the furthest time "in time": 38 38 if(thickness(end,end)~=md.timestepping.start_time), 39 md = checkmessage(md, 'if isprognostic is on, transient thickness forcing',...40 ' for the gia model should not be provided in the future.' ,...41 ' Synchronize your start_time to correspond to the most recent transient' ,...42 ' thickness forcing timestep' );39 md = checkmessage(md,['if isprognostic is on, transient thickness forcing'... 40 ' for the gia model should not be provided in the future.'... 41 ' Synchronize your start_time to correspond to the most recent transient'... 42 ' thickness forcing timestep']); 43 43 end 44 44 end … … 55 55 end % }}} 56 56 function marshall(obj,fid) % {{{ 57 WriteData(fid,' data',obj.lithosphere_thickness,'format','DoubleMat','mattype',1,'enum',GiaLithosphereThicknessEnum());57 WriteData(fid,'object',obj,'fieldname','lithosphere_thickness','format','DoubleMat','mattype',1); 58 58 WriteData(fid,'object',obj,'fieldname','output_rates','format','Integer'); 59 59 WriteData(fid,'object',obj,'fieldname','cross_section_shape','format','Integer'); -
issm/trunk-jpl/src/m/classes/gia.py
r14825 r14828 43 43 return md 44 44 45 md = checkfield(md,'gia.lithosphere_thickness','NaN',1,'size',[md.mesh.numberofvertices 45 md = checkfield(md,'gia.lithosphere_thickness','NaN',1,'size',[md.mesh.numberofvertices,1],'>',0) 46 46 md = checkfield(md,'gia.output_rates','numel',[1],'values',[1,2]) 47 47 md = checkfield(md,'gia.cross_section_shape','numel',[1],'values',[1,2]) … … 53 53 # }}} 54 54 def marshall(self,fid): # {{{ 55 WriteData(fid,' data',self.lithosphere_thickness,'format','DoubleMat','mattype',1,'enum',GiaLithosphereThicknessEnum());55 WriteData(fid,'object',self,'fieldname','lithosphere_thickness','format','DoubleMat','mattype',1); 56 56 WriteData(fid,'object',self,'fieldname','output_rates','format','Integer'); 57 57 WriteData(fid,'object',self,'fieldname','cross_section_shape','format','Integer'); -
issm/trunk-jpl/src/m/classes/model/model.py
r14825 r14828 118 118 'steadystate',\ 119 119 'transient',\ 120 'gia',\ 120 121 'autodiff',\ 121 122 'flaim',\
Note:
See TracChangeset
for help on using the changeset viewer.