displayqmu

PURPOSE ^

DISPLAYQMU - display qmu computation parameters

SYNOPSIS ^

function displayqmu(md)

DESCRIPTION ^

DISPLAYQMU - display qmu computation parameters

   To avoid clobbering display.m with every field from model md, 
   we create this routine that displays all fields related to
   qmu computation from model md, only if requested.

   Usage:
      displayqmu(md)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function displayqmu(md)
0002 %DISPLAYQMU - display qmu computation parameters
0003 %
0004 %   To avoid clobbering display.m with every field from model md,
0005 %   we create this routine that displays all fields related to
0006 %   qmu computation from model md, only if requested.
0007 %
0008 %   Usage:
0009 %      displayqmu(md)
0010 
0011 disp(sprintf('      ''%s''','qmu using Dakota'));
0012 disp(sprintf('         variables:  (arrays of each variable class)'));
0013 fnames=fieldnames(md.variables);
0014 for i=1:length(fnames);
0015     disp(sprintf('            %s    [%ix%i]    ''%s''',...
0016         fnames{i},size(md.variables.(fnames{i})),class(md.variables.(fnames{i}))));
0017 end
0018 disp(sprintf('         responses:  (arrays of each response class)'));
0019 fnames=fieldnames(md.responses);
0020 for i=1:length(fnames);
0021     disp(sprintf('            %s    [%ix%i]    ''%s''',...
0022         fnames{i},size(md.responses.(fnames{i})),class(md.responses.(fnames{i}))));
0023 end
0024 disp(sprintf('         dakotaresults: 1x%i   {dvar,rfunc,scm,pcm,srcm,prcm}',length(md.dakotaresults)));
0025 if isempty(md.dakotain), disp(sprintf('         dakotain: N/A')); else disp(sprintf('         dakotain: not displayed (can be accessed by typing md.dakotain)'));end
0026 if isempty(md.dakotaout), disp(sprintf('         dakotaout: N/A')); else disp(sprintf('         dakotaout: not displayed (can be accessed by typing md.dakotaout)'));end
0027 if isempty(md.dakotadat), disp(sprintf('         dakotadat: N/A')); else disp(sprintf('         dakotadat: not displayed (can be accessed by typing md.dakotadat)'));end
0028 disp(sprintf('         method: ''%s'' (''local reliability'' or ''sampling'')',md.method));
0029 disp(sprintf('         seed: %g (random seed number)',md.seed));
0030 disp(sprintf('         samples: %i (number of samples)',md.samples));
0031 disp(sprintf('         sample_type: ''%s'' (type of sampling, ''random'' or ''lhs'')',md.sample_type));
0032 disp(sprintf('         interval_type: ''%s'' (FD ''forward'' or ''central'')',md.interval_type));
0033 disp(sprintf('         fd_gradient_step_size: %g (FD gradient step size, default= .001) ',md.fd_gradient_step_size));
0034 disp(sprintf('         evaluation_concurrency: %i (evaluation concurrency level)',md.evaluation_concurrency));
0035 disp(sprintf('         npart: %i (number of partitions for semi-descrete qmu)',md.npart));
0036 disp(sprintf('         analysis_driver    : ''%s'' (''matlab'' or name of driver for Dakota analysis)',md.analysis_driver));
0037 disp(sprintf('         analysis_components: ''%s'' (Matlab script file for Matlab driver)',md.analysis_components));

Generated on Sun 29-Mar-2009 20:22:55 by m2html © 2003