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

Contents of /MITgcm_contrib/gael/matlab_class/@gcmfaces/atan.m

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


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

1 function r = atan(p)
2 %overloaded gcmfaces atan function :
3 % simply calls double atan 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 '=atan(p.f' iF ');']);
10 end;
11
12

  ViewVC Help
Powered by ViewVC 1.1.22