source: LMDZ.3.3/trunk/libf/grid/fxy_new.h @ 1222

Last change on this file since 1222 was 2, checked in by lmdz, 25 years ago

Initial revision

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 903 bytes
Line 
1c--------------------------------------------------------------
2         REAL ripx
3         REAL fx,fxprim,fy,fyprim,ri,rj,bigy
4c
5c....stretching in x...
6c
7        ripx(  ri )= (ri-1.0) *2.*pi/FLOAT(iim) 
8        fx  (  ri )= ripx(ri) + transx  +
9     *         alphax * SIN( ripx(ri)+transx-pxo ) - pi
10        fxprim(ri) = 2.*pi/FLOAT(iim)  *
11     *        ( 1.+ alphax * COS( ripx(ri)+transx-pxo ) )
12
13c....stretching in y...
14c
15        bigy(rj)   = 2.* (FLOAT(jjp1)-rj ) *pi/jjm
16        fy(rj)     =  ( bigy(rj) + transy  +
17     *        alphay * SIN( bigy(rj)+transy-pyo ) ) /2.  - pi/2.
18        fyprim(rj) = ( pi/jjm ) * ( 1.+
19     *           alphay * COS( bigy(rj)+transy-pyo ) )
20
21c       fy(rj)= pyo-pisjjm*(rj-transy)+coefalpha*SIN(depisjm*(rj-
22c     *  transy ))
23c       fyprim(rj)= pisjjm-pisjjm*coefy2* COS(depisjm*(rj-transy)) 
24c--------------------------------------------------------------
Note: See TracBrowser for help on using the repository browser.