display

PURPOSE ^

DISPLAY - displays the fields of a beam element

SYNOPSIS ^

function display(beamelem)

DESCRIPTION ^

DISPLAY - displays the fields of a beam element

   echo function for 'beamelem' class

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function display(beamelem)
0002 %DISPLAY - displays the fields of a beam element
0003 %
0004 %   echo function for 'beamelem' class
0005 
0006 disp(sprintf('\n%s = \n',inputname(1)));
0007 disp(sprintf('   type: %s',beamelem.type));
0008 disp(sprintf('   id: %i',beamelem.id));
0009 disp(sprintf('   material id: %i',beamelem.matid));
0010 disp(sprintf('   grid ids: %i %i',beamelem.g(1),beamelem.g(2)));
0011 disp(sprintf('   thickness: %g %g',beamelem.h(1),beamelem.h(2)));
0012 disp(sprintf('   surface: %g %g',beamelem.s(1),beamelem.s(2)));
0013 disp(sprintf('   bedrock: %g %g',beamelem.b(1),beamelem.b(2)));
0014 disp(sprintf('   drag coeff: %g',beamelem.k));
0015 disp(sprintf('   onbed: %i',beamelem.onbed));
0016 disp(sprintf('   onsurface: %i',beamelem.onsurface));

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