


DISPLAY - displays the fields of a penpair element a pengrid element is a penalty applied between several grids echo function for 'penpair' class


0001 function display(penpair) 0002 %DISPLAY - displays the fields of a penpair element 0003 % 0004 % a pengrid element is a penalty applied between several grids 0005 % 0006 % echo function for 'penpair' class 0007 0008 disp(sprintf('\n%s = \n',inputname(1))); 0009 disp(sprintf(' id: %i',penpair.id)); 0010 disp(sprintf(' dof: %i',penpair.dof)); 0011 disp(sprintf(' grids: [%i %i]',penpair.grids(1),penpair.grids(2))); 0012 disp(sprintf(' penalty_offset: %g',penpair.penalty_offset));