Changeset 12423
- Timestamp:
- 06/15/12 13:29:55 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/thermal.m
r12393 r12423 47 47 checkfield(md,'thermal.stabilization','numel',1,'values',[0 1 2]); 48 48 checkfield(md,'thermal.spctemperature','forcing',1); 49 if (ismember(EnthalpyAnalysisEnum,analyses) & md.thermal.isenthalpy ),49 if (ismember(EnthalpyAnalysisEnum,analyses) & md.thermal.isenthalpy & md.mesh.dimension==3), 50 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]);
Note:
See TracChangeset
for help on using the changeset viewer.