Changeset 22207
- Timestamp:
- 11/01/17 09:59:23 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/calvingdev2.m
r22199 r22207 45 45 md = checkfield(md,'fieldname','calving.stress_threshold_groundedice','>',0,'nan',1,'Inf',1); 46 46 md = checkfield(md,'fieldname','calving.stress_threshold_floatingice','>',0,'nan',1,'Inf',1); 47 md = checkfield(md,'fieldname','calving.height_above_floatation','<=',0 ,'singletimeseries',1);47 md = checkfield(md,'fieldname','calving.height_above_floatation','<=',0); 48 48 49 49 end % }}} 50 50 function disp(self) % {{{ 51 disp(sprintf(' Calving VonMisesparameters:'));51 disp(sprintf(' Calving Dev2 parameters:')); 52 52 fielddisplay(self,'stress_threshold_groundedice','sigma_max applied to grounded ice only [Pa]'); 53 53 fielddisplay(self,'stress_threshold_floatingice','sigma_max applied to floating ice only [Pa]'); … … 59 59 WriteData(fid,prefix,'name','md.calving.law','data',7,'format','Integer'); 60 60 WriteData(fid,prefix,'object',self,'fieldname','stress_threshold_groundedice','format','DoubleMat','mattype',1); 61 WriteData(fid,prefix,'object',self,'fieldname','stress_threshold_floatingice','format','DoubleMat','mattype',1 );61 WriteData(fid,prefix,'object',self,'fieldname','stress_threshold_floatingice','format','DoubleMat','mattype',1,'timeserieslength',md.mesh.numberofvertices+1, 'yts', md.constants.yts); 62 62 WriteData(fid,prefix,'object',self,'fieldname','height_above_floatation', 'format','Double'); 63 63 end % }}}
Note:
See TracChangeset
for help on using the changeset viewer.