Changeset 18754
- Timestamp:
- 11/07/14 10:14:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/thermal.m
r18716 r18754 95 95 pos=find(md.thermal.spctemperature(1:md.mesh.numberofvertices,:)~=NaN); 96 96 replicate=repmat(md.geometry.surface-md.mesh.z,1,size(md.thermal.spctemperature,2)); 97 md = checkfield(md,'fieldname','thermal.spctemperature(find(md.thermal.spctemperature(1:md.mesh.numberofvertices,:)~=NaN))','<=',md.materials.meltingpoint-md.materials.beta*md.materials.rho_ice*md.constants.g*replicate(pos) ,'message','spctemperature should be less or equal than the adjusted melting point');97 md = checkfield(md,'fieldname','thermal.spctemperature(find(md.thermal.spctemperature(1:md.mesh.numberofvertices,:)~=NaN))','<=',md.materials.meltingpoint-md.materials.beta*md.materials.rho_ice*md.constants.g*replicate(pos)+10^-5,'message','spctemperature should be less or equal than the adjusted melting point'); 98 98 md = checkfield(md,'fieldname','thermal.isenthalpy','numel',[1],'values',[0 1]); 99 99 md = checkfield(md,'fieldname','thermal.isdynamicbasalspc','numel', [1],'values',[0 1]);
Note:
See TracChangeset
for help on using the changeset viewer.