Changeset 12393
- Timestamp:
- 06/08/12 13:44:01 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/thermal.m
r11869 r12393 48 48 checkfield(md,'thermal.spctemperature','forcing',1); 49 49 if (ismember(EnthalpyAnalysisEnum,analyses) & md.thermal.isenthalpy), 50 checkfield(md,'thermal.spctemperature','<',md.materials.meltingpoint-md.materials.beta*md.materials.rho_ice*md.constants.g* md.geometry.thickness,'message','spctemperature should be below the adjusted melting point');50 checkfield(md,'thermal.spctemperature','<',md.materials.meltingpoint-md.materials.beta*md.materials.rho_ice*md.constants.g*(md.geometry.surface-md.mesh.z),'message','spctemperature should be below the adjusted melting point'); 51 51 checkfield(md,'thermal.isenthalpy','numel',1,'values',[0 1]); 52 52 end
Note:
See TracChangeset
for help on using the changeset viewer.