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

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

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


Revision 1.1 - (show annotations) (download)
Sun May 2 20:23:53 2010 UTC (15 years, 2 months ago) by gforget
Branch: MAIN
overloarding m_map/m_ll2xy.m   and complex functions

1 function [xx,yy] = m_ll2xy(x,y,varargin)
2
3 xx=x; yy=y;
4
5 for iFace=1:x.nFaces;
6 iF=num2str(iFace);
7 eval(['[tmpx,tmpy]=m_ll2xy(x.f' iF ',y.f' iF ',varargin{:});']);
8 eval(['xx.f' iF '=tmpx; yy.f' iF '=tmpy;']);
9 end;
10
11

  ViewVC Help
Powered by ViewVC 1.1.22