Changeset 11265
- Timestamp:
- 01/31/12 10:31:36 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/thermal.m
r10999 r11265 46 46 47 47 %Early return 48 if ~ismember(ThermalAnalysisEnum,analyses) | (solution==TransientSolutionEnum & md.transient.isthermal==0), return; end48 if (~ismember(ThermalAnalysisEnum,analyses) & ~ismember(EnthalpyAnalysisEnum,analyses)) | (solution==TransientSolutionEnum & md.transient.isthermal==0), return; end 49 49 50 50 checkfield(md,'thermal.stabilization','numel',1,'values',[0 1 2]); 51 51 checkfield(md,'thermal.spctemperature','forcing',1); 52 if ismember(EnthalpyAnalysisEnum,analyses), 53 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'); 54 end 52 55 end % }}} 53 56 function disp(obj) % {{{
Note:
See TracChangeset
for help on using the changeset viewer.