Changeset 19248
- Timestamp:
- 04/03/15 10:59:22 (10 years ago)
- Location:
- issm/trunk-jpl/src/m/classes
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/SMBd18opdd.m
r19227 r19248 11 11 rlaps = 0; 12 12 rlapslgm = 0; 13 13 dpermil = 0; 14 14 Tdiff = NaN; 15 15 sealev = NaN; 16 16 ismungsm = 0; 17 17 isd18opd = 0; 18 18 delta18o = NaN; 19 19 delta18o_surface = NaN; … … 46 46 47 47 self.ismungsm = 0; 48 48 self.isd18opd = 1; 49 49 self.desfac = 0.5; 50 50 self.s0p = 0; … … 52 52 self.rlaps = 6.5; 53 53 self.rlapslgm = 6.5; 54 54 self.dpermil = 2.4; 55 55 56 56 end % }}} … … 63 63 md = checkfield(md,'fieldname','surfaceforcings.rlaps','>=',0,'numel',1); 64 64 md = checkfield(md,'fieldname','surfaceforcings.rlapslgm','>=',0,'numel',1); 65 65 if(self.isd18opd==1) 66 66 md = checkfield(md,'fieldname','surfaceforcings.temperatures_presentday','size',[md.mesh.numberofvertices+1 12],'NaN',1); 67 67 md = checkfield(md,'fieldname','surfaceforcings.precipitations_presentday','size',[md.mesh.numberofvertices+1 12],'NaN',1); 68 68 md = checkfield(md,'fieldname','surfaceforcings.delta18o','NaN',1); 69 69 md = checkfield(md,'fieldname','surfaceforcings.dpermil','>=',0,'numel',1); 70 70 end 71 71 end … … 103 103 WriteData(fid,'object',self,'class','surfaceforcings','fieldname','rlaps','format','Double'); 104 104 WriteData(fid,'object',self,'class','surfaceforcings','fieldname','rlapslgm','format','Double'); 105 106 105 WriteData(fid,'object',self,'class','surfaceforcings','fieldname','Tdiff','format','DoubleMat','mattype',1); 106 WriteData(fid,'object',self,'class','surfaceforcings','fieldname','sealev','format','DoubleMat','mattype',1); 107 107 108 108 if self.isd18opd … … 110 110 WriteData(fid,'object',self,'class','surfaceforcings','fieldname','precipitations_presentday','format','DoubleMat','mattype',1); 111 111 WriteData(fid,'object',self,'class','surfaceforcings','fieldname','delta18o','format','DoubleMat','mattype',1); 112 112 WriteData(fid,'object',self,'class','surfaceforcings','fieldname','dpermil','format','Double'); 113 113 end 114 114 end % }}}
Note:
See TracChangeset
for help on using the changeset viewer.