Changeset 21158
- Timestamp:
- 08/24/16 15:13:51 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/mask.m
r21155 r21158 40 40 41 41 md = checkfield(md,'fieldname','mask.groundedice_levelset','forcing',1,'NaN',1); 42 md = checkfield(md,'fieldname','mask.ice_levelset',' forcing',1,'NaN',1);42 md = checkfield(md,'fieldname','mask.ice_levelset','NaN',1,'size',[md.mesh.numberofvertices 1]); 43 43 isice=(md.mask.ice_levelset<=0); 44 44 if sum(isice)==0, … … 57 57 function marshall(self,prefix,md,fid) % {{{ 58 58 WriteData(fid,prefix,'object',self,'fieldname','groundedice_levelset','format','DoubleMat','mattype',1,'timeserieslength',md.mesh.numberofvertices+1,'yts',md.constants.yts); 59 WriteData(fid,prefix,'object',self,'fieldname','ice_levelset','format','DoubleMat','mattype',1 ,'timeserieslength',md.mesh.numberofvertices+1,'yts',md.constants.yts);59 WriteData(fid,prefix,'object',self,'fieldname','ice_levelset','format','DoubleMat','mattype',1); 60 60 end % }}} 61 61 function savemodeljs(self,fid,modelname) % {{{
Note:
See TracChangeset
for help on using the changeset viewer.