source: issm/oecreview/Archive/21337-21723/ISSM-21630-21631.diff@ 21726

Last change on this file since 21726 was 21726, checked in by Mathieu Morlighem, 8 years ago

CHG added Archive/21337-21723

File size: 1.4 KB
  • ../trunk-jpl/src/m/classes/calvingdev.m

     
    3333                end % }}}
    3434                function self = setdefaultparameters(self) % {{{
    3535
    36                         %Proportionality coefficient in Pi model
    37                         %self.coeff=2e13;
    38 
    3936                        %Default sigma max
    4037                        self.stress_threshold_groundedice = 1e6;
    4138                        self.stress_threshold_floatingice = 150e3;
     
    5855                function marshall(self,prefix,md,fid) % {{{
    5956                        yts=md.constants.yts;
    6057                        WriteData(fid,prefix,'name','md.calving.law','data',2,'format','Integer');
    61                         WriteData(fid,prefix,'object',self,'fieldname','stress_threshold_groundedice','format','DoubleMat','mattype',1);
    62                         WriteData(fid,prefix,'object',self,'fieldname','stress_threshold_floatingice','format','DoubleMat','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);
    6461                end % }}}
    6562        end
    6663end
Note: See TracBrowser for help on using the repository browser.