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

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

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


Revision 1.1 - (hide annotations) (download)
Thu Feb 4 21:59:01 2016 UTC (9 years, 5 months ago) by gforget
Branch: MAIN
CVS Tags: checkpoint65x, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, HEAD
- add convn.m reshape.m to the list of overloaded operators.

1 gforget 1.1 function r = convn(p,varargin)
2     % CONVN gcmfaces convn function :
3     % simply calls double convn function for each face data
4     % if the first arguments is a gcmfaces object
5     % passing over the other arguments
6    
7     r=p;
8    
9     for iFace=1:r.nFaces;
10     iF=num2str(iFace);
11     eval(['r.f' iF '=convn(p.f' iF ',varargin{:});']);
12     end;
13    
14    

  ViewVC Help
Powered by ViewVC 1.1.22