Changeset 2039


Ignore:
Timestamp:
08/27/09 17:35:27 (15 years ago)
Author:
seroussi
Message:

fields of control

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/utils/Nightly/testsgetfields.m

    r1958 r2039  
    1414
    1515if strcmpi(analysis,'diagnostic'),
    16         if strcmpi(mdtype,'3d')
    17                 fields={'diagnostic.vy','diagnostic.vz'};
     16        if md.control_analysis,
     17                fields={'diagnostic.vel','diagnostic.J','diagnostic.parameter'};
    1818        else
    19                 fields={'diagnostic.vel'};
     19                if strcmpi(mdtype,'3d')
     20                        fields={'diagnostic.vy','diagnostic.vz'};
     21                else
     22                        fields={'diagnostic.vel'};
     23                end
    2024        end
    2125
     
    3741
    3842elseif strcmpi(analysis,'steadystate'),
    39         fields={'steadystate.vel','steadystate.pressure','steadystate.temperature'};
     43        if md.control_analysis,
     44                fields={'steadystate.vel','steadystate.J','steadystate.parameter'};
     45        else
     46                fields={'steadystate.vel','steadystate.pressure','steadystate.temperature'};
     47        end
    4048
    4149elseif strncmpi(analysis,'diagnostic_',11),
Note: See TracChangeset for help on using the changeset viewer.