display

PURPOSE ^

DISPLAY - displays the fields of a penta element

SYNOPSIS ^

function display(pentaelem)

DESCRIPTION ^

DISPLAY - displays the fields of a penta element

   echo function for 'pentaelem' class

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function display(pentaelem)
0002 %DISPLAY - displays the fields of a penta element
0003 %
0004 %   echo function for 'pentaelem' class
0005 
0006 disp(sprintf('\n%s = \n',inputname(1)));
0007 disp(sprintf('   type: %s',pentaelem.type));
0008 disp(sprintf('   id: %i',pentaelem.id));
0009 disp(sprintf('   material id: %i',pentaelem.matid));
0010 disp(sprintf('   grid ids: %i %i %i %i %i %i',pentaelem.g(1),pentaelem.g(2),pentaelem.g(3),pentaelem.g(4),pentaelem.g(5),pentaelem.g(6)));
0011 disp(sprintf('   thickness: %g %g %g %g %g %g',pentaelem.h(1),pentaelem.h(2),pentaelem.h(3),pentaelem.h(4),pentaelem.h(5),pentaelem.h(6)));
0012 disp(sprintf('   surface: %g %g %g %g %g %g',pentaelem.s(1),pentaelem.s(2),pentaelem.s(3),pentaelem.s(4),pentaelem.s(5),pentaelem.s(6)));
0013 disp(sprintf('   bedrock: %g %g %g %g %g %g',pentaelem.b(1),pentaelem.b(2),pentaelem.b(3),pentaelem.b(4),pentaelem.b(5),pentaelem.b(6)));
0014 disp(sprintf('   friction type: %i',pentaelem.friction_type));
0015 disp(sprintf('   p: %i',pentaelem.p));
0016 disp(sprintf('   q: %i',pentaelem.q));
0017 disp(sprintf('   drag coeff: %g %g %g',pentaelem.k(1),pentaelem.k(2),pentaelem.k(3)));
0018 disp(sprintf('   shelf: %i',pentaelem.shelf));
0019 disp(sprintf('   onbed: %i',pentaelem.onbed));
0020 disp(sprintf('   onsurface: %i',pentaelem.onsurface));
0021 disp(sprintf('   meanvel: %g',pentaelem.meanvel));
0022 disp(sprintf('   epsvel: %g',pentaelem.epsvel));
0023 disp(sprintf('   acceleration (use MacAyeal''s accelerated formulation''): %g',pentaelem.acceleration));
0024 disp(sprintf('   collapse (collapse penta into tria at the base): %g',pentaelem.collapse));
0025 disp(sprintf('   melting: %g %g %g',pentaelem.melting(1),pentaelem.melting(2),pentaelem.melting(3)));
0026 disp(sprintf('   accumulation: %g %g %g',pentaelem.accumulation(1),pentaelem.accumulation(2),pentaelem.accumulation(3)));
0027 disp(sprintf('   geothermalflux: %g %g %g',pentaelem.geothermalflux(1),pentaelem.geothermalflux(2),pentaelem.geothermalflux(3)));
0028 disp(sprintf('   artificial_diffusivity: %s',pentaelem.artificial_diffusivity));
0029 disp(sprintf('   thermal_steadystate: %i',pentaelem.thermal_steadystate));

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