displayexppar

PURPOSE ^

DISPLAYOUTLINES - display outline information

SYNOPSIS ^

function displayoutlines(md);

DESCRIPTION ^

DISPLAYOUTLINES - display outline information

   To avoid clobbering display.m with every field from model md, 
   we create this routine that displays outline information from model md, 
   only if requested.

   Usage:
      displayoutline(md)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function displayoutlines(md);
0002 %DISPLAYOUTLINES - display outline information
0003 %
0004 %   To avoid clobbering display.m with every field from model md,
0005 %   we create this routine that displays outline information from model md,
0006 %   only if requested.
0007 %
0008 %   Usage:
0009 %      displayoutline(md)
0010 
0011 disp(sprintf('   Outlines:'));
0012 if isnan(md.domainoutline), disp(sprintf('      domainoutline: N/A')); else disp(sprintf('      domainoutline: not displayed (can be accessed by typing md.domainoutline)'));end
0013 if isnan(md.riftoutline), disp(sprintf('      riftoutline: N/A')); else disp(sprintf('      riftoutline: not displayed (can be accessed by typing md.riftoutline)'));end
0014 if isnan(md.iceshelfoutline), disp(sprintf('      iceshelfoutline: N/A')); else disp(sprintf('      iceshelfoutline: not displayed (can be accessed by typing md.iceshelfoutline)'));end
0015 if isnan(md.icesheetoutline), disp(sprintf('      icesheetoutline: N/A')); else disp(sprintf('      icesheetoutline: not displayed (can be accessed by typing md.icesheetoutline)'));end
0016 disp(sprintf('   Model files:'));
0017 if isnan(md.parameterfile), disp(sprintf('      parameterfile: N/A')); else disp(sprintf('      parameterfile: not displayed (can be accessed by typing md.parameterfile)'));end

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