Ignore:
Timestamp:
08/02/16 17:06:46 (9 years ago)
Author:
agscott1
Message:

CHG: Replaced Enums with Strings in matlab and python. Updated corresponding cpp code.

File:
1 edited

Legend:

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

    r20902 r21049  
    7272
    7373                        %Early return
    74                         if (~ismember(ThermalAnalysisEnum(),analyses) & ~ismember(EnthalpyAnalysisEnum(),analyses)) | (solution==TransientSolutionEnum() & md.transient.isthermal==0), return; end
     74                        if (~ismember('ThermalAnalysis',analyses) & ~ismember('EnthalpyAnalysis',analyses)) | (strcmp(solution,'TransientSolution') & md.transient.isthermal==0), return; end
    7575
    7676                        md = checkfield(md,'fieldname','thermal.stabilization','numel',[1],'values',[0 1 2]);
    7777                        md = checkfield(md,'fieldname','thermal.spctemperature','Inf',1,'timeseries',1,'>=',0);
    78                         if (ismember(EnthalpyAnalysisEnum(),analyses) & md.thermal.isenthalpy & dimension(md.mesh)==3),
     78                        if (ismember('EnthalpyAnalysis',analyses) & md.thermal.isenthalpy & dimension(md.mesh)==3),
    7979
    8080                                %Make sure the spc are less than melting point
Note: See TracChangeset for help on using the changeset viewer.