Changeset 12423


Ignore:
Timestamp:
06/15/12 13:29:55 (13 years ago)
Author:
seroussi
Message:

no thermal in 2d

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/classes/thermal.m

    r12393 r12423  
    4747                        checkfield(md,'thermal.stabilization','numel',1,'values',[0 1 2]);
    4848                        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),
    5050                        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');
    5151                        checkfield(md,'thermal.isenthalpy','numel',1,'values',[0 1]);
Note: See TracChangeset for help on using the changeset viewer.