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

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

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


Revision 1.1 - (hide annotations) (download)
Tue Apr 4 15:34:58 2017 UTC (8 years, 3 months ago) by gforget
Branch: MAIN
CVS Tags: checkpoint66o, checkpoint66f, HEAD
- overload a few more basic functions

1 gforget 1.1 function r = cosd(p)
2     %overloaded gcmfaces cosd function :
3     % simply calls double cosd function for each face data
4    
5     r=p;
6    
7     for iFace=1:r.nFaces;
8     iF=num2str(iFace);
9     eval(['r.f' iF '=cosd(p.f' iF ');']);
10     end;
11    
12    

  ViewVC Help
Powered by ViewVC 1.1.22