Changeset 25403
- Timestamp:
- 08/16/20 13:49:15 (5 years ago)
- Location:
- issm/trunk-jpl/src/m/classes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/friction.m
r25400 r25403 82 82 83 83 WriteData(fid,prefix,'name','md.friction.law','data',1,'format','Integer'); 84 if(size(self.coefficient,1)==md.mesh.numberofelements | size(self.coefficient,1)==md.mesh.numberofelements+1), 84 if(size(self.coefficient,1)==md.mesh.numberofvertices | size(self.coefficient,1)==md.mesh.numberofvertices+1), 85 mattype=1; tsl = md.mesh.numberofvertices; 86 else 85 87 mattype=2; tsl = md.mesh.numberofelements; 86 else87 mattype=1; tsl = md.mesh.numberofvertices;88 88 end 89 89 WriteData(fid,prefix,'object',self,'fieldname','coefficient','format','DoubleMat','mattype',mattype,'timeserieslength',tsl+1,'yts',md.constants.yts); -
issm/trunk-jpl/src/m/classes/matice.m
r25400 r25403 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 if(size(self.rheology_B,1)==md.mesh.numberofelements | size(self.rheology_B,1)==md.mesh.numberofelements+1), 177 if(size(self.rheology_B,1)==md.mesh.numberofvertices | size(self.rheology_B,1)==md.mesh.numberofvertices+1), 178 mattype=1; tsl = md.mesh.numberofvertices; 179 else 178 180 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); 181 end 182 WriteData(fid,prefix,'object',self,'class','materials','fieldname','rheology_B','format','DoubleMat','mattype',mattype,'timeserieslength',tsl+1,'yts',md.constants.yts); 183 183 WriteData(fid,prefix,'object',self,'class','materials','fieldname','rheology_n','format','DoubleMat','mattype',2); 184 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.