/[MITgcm]/MITgcm_contrib/gael/matlab_class/@gcmfaces/display.m
ViewVC logotype

Annotation of /MITgcm_contrib/gael/matlab_class/@gcmfaces/display.m

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Wed Feb 10 14:43:47 2010 UTC (15 years, 5 months ago) by gforget
Branch: MAIN
matlab_class core routine: gcmfaces methods

1 gforget 1.1 function display(a)
2    
3     stg = sprintf(' nFaces: %d\n',a.nFaces);
4     for iFace=1:a.nFaces;
5     eval(['tmp1=a.f' num2str(iFace) ';']); tmp1=size(tmp1);
6     tmp2='[';
7     for ii=1:length(tmp1); tmp2=[tmp2 num2str(tmp1(ii)) 'x']; end;
8     tmp2=[tmp2(1:end-1) ']'];
9     stg=strvcat(stg,[' f' num2str(iFace) ': ' tmp2]);
10     end;
11     disp(stg)
12    

  ViewVC Help
Powered by ViewVC 1.1.22