display

PURPOSE ^

DISPLAY - displays the fields of a matpar element

SYNOPSIS ^

function display(matpar)

DESCRIPTION ^

DISPLAY - displays the fields of a matpar element

   echo function for 'matpar' class

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function display(matpar)
0002 %DISPLAY - displays the fields of a matpar element
0003 %
0004 %   echo function for 'matpar' class
0005 
0006 disp(sprintf('\n%s = \n',inputname(1)));
0007 disp(sprintf('   rho_ice: %g',matpar.rho_ice));
0008 disp(sprintf('   rho_water: %g',matpar.rho_water));
0009 disp(sprintf('   heatcapacity: %g',matpar.heatcapacity));
0010 disp(sprintf('   thermalconductivity: %g',matpar.thermalconductivity));
0011 disp(sprintf('   meltingpoint: %i',matpar.meltingpoint));
0012 disp(sprintf('   latentheat: %i',matpar.latentheat));
0013 disp(sprintf('   beta: %i',matpar.beta));
0014 disp(sprintf('   mixed_layer_capacity: %i',matpar.mixed_layer_capacity));
0015 disp(sprintf('   thermal_exchange_velocity: %i',matpar.thermal_exchange_velocity));
0016 disp(sprintf('   viscosity_overshoot: %i',matpar.viscosity_overshoot));
0017 disp(sprintf('   g: %g',matpar.g));

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