Changeset 12402


Ignore:
Timestamp:
06/11/12 16:35:40 (13 years ago)
Author:
seroussi
Message:

check waterfraction if EnthalpySolution requested

File:
1 edited

Legend:

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

    r11924 r12402  
    5555                                checkfield(md,'initialization.pressure','NaN',1,'size',[md.mesh.numberofvertices 1]);
    5656                        end
    57                         if (ismember(EnthalpyAnalysisEnum,analyses) & md.thermal.isenthalpy),
     57                        if (ismember(EnthalpyAnalysisEnum,analyses) & md.thermal.isenthalpy) | solution==EnthalpySolutionEnum,
    5858                                checkfield(md,'initialization.waterfraction','>=',0,'size',[md.mesh.numberofvertices 1]);
    5959                        end
Note: See TracChangeset for help on using the changeset viewer.