Changeset 22207


Ignore:
Timestamp:
11/01/17 09:59:23 (7 years ago)
Author:
jbondzio
Message:

CHG: prescribe sigma_max_floating as time series

File:
1 edited

Legend:

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

    r22199 r22207  
    4545                        md = checkfield(md,'fieldname','calving.stress_threshold_groundedice','>',0,'nan',1,'Inf',1);
    4646                        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);
    4848
    4949                end % }}}
    5050                function disp(self) % {{{
    51                         disp(sprintf('   Calving VonMises parameters:'));
     51                        disp(sprintf('   Calving Dev2 parameters:'));
    5252                        fielddisplay(self,'stress_threshold_groundedice','sigma_max applied to grounded ice only [Pa]');
    5353                        fielddisplay(self,'stress_threshold_floatingice','sigma_max applied to floating ice only [Pa]');
     
    5959                        WriteData(fid,prefix,'name','md.calving.law','data',7,'format','Integer');
    6060                        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);
    6262                        WriteData(fid,prefix,'object',self,'fieldname','height_above_floatation', 'format','Double');
    6363                end % }}}
Note: See TracChangeset for help on using the changeset viewer.