Changeset 21631


Ignore:
Timestamp:
03/23/17 17:07:08 (8 years ago)
Author:
youngmc3
Message:

CHG: minor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/classes/calvingdev.m

    r21626 r21631  
    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;
     
    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
Note: See TracChangeset for help on using the changeset viewer.