Line | |
---|
1 | function display(singelem)
|
---|
2 | %DISPLAY - displays the fields of a sing element
|
---|
3 | %
|
---|
4 | % echo function for 'singelem' class
|
---|
5 |
|
---|
6 | disp(sprintf('\n%s = \n',inputname(1)));
|
---|
7 | disp(sprintf(' type: %s',singelem.type));
|
---|
8 | disp(sprintf(' id: %i',singelem.id));
|
---|
9 | disp(sprintf(' material id: %i',singelem.matid));
|
---|
10 | disp(sprintf(' grid ids: %i %i',singelem.g(1)));
|
---|
11 | disp(sprintf(' thickness: %g %g',singelem.h(1)));
|
---|
12 | disp(sprintf(' drag coeff: %g',singelem.k));
|
---|
Note:
See
TracBrowser
for help on using the repository browser.