source:
issm/oecreview/Archive/21337-21723/ISSM-21630-21631.diff@
21726
Last change on this file since 21726 was 21726, checked in by , 8 years ago | |
---|---|
File size: 1.4 KB |
-
../trunk-jpl/src/m/classes/calvingdev.m
33 33 end % }}} 34 34 function self = setdefaultparameters(self) % {{{ 35 35 36 %Proportionality coefficient in Pi model37 %self.coeff=2e13;38 39 36 %Default sigma max 40 37 self.stress_threshold_groundedice = 1e6; 41 38 self.stress_threshold_floatingice = 150e3; … … 58 55 function marshall(self,prefix,md,fid) % {{{ 59 56 yts=md.constants.yts; 60 57 WriteData(fid,prefix,'name','md.calving.law','data',2,'format','Integer'); 61 WriteData(fid,prefix,'object',self,'fieldname','stress_threshold_groundedice','format','Double Mat','mattype',1);62 WriteData(fid,prefix,'object',self,'fieldname','stress_threshold_floatingice','format','Double Mat','mattype',1);63 WriteData(fid,prefix,'object',self,'fieldname','meltingrate','format','DoubleMat','mattype',1,'timeserieslength',md.mesh.numberofvertices+1,' scale',1./yts);58 WriteData(fid,prefix,'object',self,'fieldname','stress_threshold_groundedice','format','Double'); 59 WriteData(fid,prefix,'object',self,'fieldname','stress_threshold_floatingice','format','Double'); 60 WriteData(fid,prefix,'object',self,'fieldname','meltingrate','format','DoubleMat','mattype',1,'timeserieslength',md.mesh.numberofvertices+1,'yts',md.constants.yts,'scale',1./yts); 64 61 end % }}} 65 62 end 66 63 end
Note:
See TracBrowser
for help on using the repository browser.