display

PURPOSE ^

DISPLAY - displays the fields of an icefront element

SYNOPSIS ^

function display(icefront)

DESCRIPTION ^

DISPLAY - displays the fields of an icefront element

   echo function for 'icefront' class

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function display(icefront)
0002 %DISPLAY - displays the fields of an icefront element
0003 %
0004 %   echo function for 'icefront' class
0005 
0006 disp(sprintf('\n%s = \n',inputname(1)));
0007 disp(sprintf('   eid: %i',icefront.eid));
0008 if strcmpi(icefront.type,'segment'),
0009     disp(sprintf('   g: %i %i',icefront.g(1),icefront.g(2)));
0010 else
0011     disp(sprintf('   g: %i %i %i %i',icefront.g(1),icefront.g(2),icefront.g(3),icefront.g(4)));
0012 end
0013 disp(sprintf('   rho_water: %g',icefront.rho_water));
0014 disp(sprintf('   type: %s',icefront.type));

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