Changeset 25400 for issm/trunk-jpl/src/m/classes/matice.m
- Timestamp:
- 08/15/20 13:34:33 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/matice.m
r25383 r25400 175 175 WriteData(fid,prefix,'object',self,'class','materials','fieldname','mixed_layer_capacity','format','Double'); 176 176 WriteData(fid,prefix,'object',self,'class','materials','fieldname','thermal_exchange_velocity','format','Double'); 177 WriteData(fid,prefix,'object',self,'class','materials','fieldname','rheology_B','format','DoubleMat','mattype',1,'timeserieslength',md.mesh.numberofvertices+1,'yts',md.constants.yts); 177 if(size(self.rheology_B,1)==md.mesh.numberofelements | size(self.rheology_B,1)==md.mesh.numberofelements+1), 178 mattype=2; tsl = md.mesh.numberofelements; 179 else 180 mattype=1; tsl = md.mesh.numberofvertices; 181 end 182 WriteData(fid,prefix,'object',self,'class','materials','fieldname','rheology_B','format','DoubleMat','mattype',mattype,'timeserieslength',tsl+mattype,'yts',md.constants.yts); 178 183 WriteData(fid,prefix,'object',self,'class','materials','fieldname','rheology_n','format','DoubleMat','mattype',2); 179 184 WriteData(fid,prefix,'data',self.rheology_law,'name','md.materials.rheology_law','format','String');
Note:
See TracChangeset
for help on using the changeset viewer.