source: trunk/LMDZ.GENERIC/libf/grid/fxy_new.h @ 773

Last change on this file since 773 was 135, checked in by aslmd, 14 years ago

CHANGEMENT ARBORESCENCE ETAPE 2 -- NON COMPLET

File size: 749 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--------------------------------------------------------------
Note: See TracBrowser for help on using the repository browser.