[524] | 1 | ! |
---|
[1403] | 2 | ! $Id: fxy.f90 5287 2024-10-28 13:53:53Z aborella $ |
---|
[524] | 3 | ! |
---|
[5246] | 4 | SUBROUTINE fxy (rlatu,yprimu,rlatv,yprimv,rlatu1,yprimu1, & |
---|
| 5 | rlatu2,yprimu2, & |
---|
| 6 | rlonu,xprimu,rlonv,xprimv,rlonm025,xprimm025,rlonp025,xprimp025) |
---|
[524] | 7 | |
---|
[5246] | 8 | USE comconst_mod, ONLY: pi |
---|
| 9 | USE serre_mod, ONLY: pxo,pyo,alphax,alphay,transx,transy |
---|
[2598] | 10 | |
---|
[5271] | 11 | USE dimensions_mod, ONLY: iim, jjm, llm, ndm |
---|
[5287] | 12 | USE paramet_mod_h |
---|
| 13 | USE fxy_new_mod_h, ONLY: fx, fxprim, fy, fyprim |
---|
[5271] | 14 | IMPLICIT NONE |
---|
[524] | 15 | |
---|
[5246] | 16 | ! Auteur : P. Le Van |
---|
| 17 | ! |
---|
| 18 | ! Calcul des longitudes et des latitudes pour une fonction f(x,y) |
---|
| 19 | ! a tangente sinusoidale et eventuellement avec zoom . |
---|
| 20 | ! |
---|
| 21 | ! |
---|
[5271] | 22 | |
---|
[524] | 23 | |
---|
[5272] | 24 | |
---|
[5246] | 25 | INTEGER :: i,j |
---|
[524] | 26 | |
---|
[5246] | 27 | REAL :: rlatu(jjp1), yprimu(jjp1),rlatv(jjm), yprimv(jjm), & |
---|
| 28 | rlatu1(jjm), yprimu1(jjm), rlatu2(jjm), yprimu2(jjm) |
---|
| 29 | REAL :: rlonu(iip1),xprimu(iip1),rlonv(iip1),xprimv(iip1), & |
---|
| 30 | rlonm025(iip1),xprimm025(iip1), rlonp025(iip1),xprimp025(iip1) |
---|
[524] | 31 | |
---|
| 32 | |
---|
[5246] | 33 | ! ...... calcul des latitudes et de y' ..... |
---|
| 34 | ! |
---|
| 35 | DO j = 1, jjm + 1 |
---|
| 36 | rlatu(j) = fy ( REAL( j ) ) |
---|
| 37 | yprimu(j) = fyprim( REAL( j ) ) |
---|
| 38 | ENDDO |
---|
[524] | 39 | |
---|
| 40 | |
---|
[5246] | 41 | DO j = 1, jjm |
---|
[524] | 42 | |
---|
[5246] | 43 | rlatv(j) = fy ( REAL( j ) + 0.5 ) |
---|
| 44 | rlatu1(j) = fy ( REAL( j ) + 0.25 ) |
---|
| 45 | rlatu2(j) = fy ( REAL( j ) + 0.75 ) |
---|
[524] | 46 | |
---|
[5246] | 47 | yprimv(j) = fyprim( REAL( j ) + 0.5 ) |
---|
| 48 | yprimu1(j) = fyprim( REAL( j ) + 0.25 ) |
---|
| 49 | yprimu2(j) = fyprim( REAL( j ) + 0.75 ) |
---|
[524] | 50 | |
---|
[5246] | 51 | ENDDO |
---|
[524] | 52 | |
---|
[5246] | 53 | ! |
---|
| 54 | ! ..... calcul des longitudes et de x' ..... |
---|
| 55 | ! |
---|
| 56 | DO i = 1, iim + 1 |
---|
| 57 | rlonv(i) = fx ( REAL( i ) ) |
---|
| 58 | rlonu(i) = fx ( REAL( i ) + 0.5 ) |
---|
| 59 | rlonm025(i) = fx ( REAL( i ) - 0.25 ) |
---|
| 60 | rlonp025(i) = fx ( REAL( i ) + 0.25 ) |
---|
[524] | 61 | |
---|
[5246] | 62 | xprimv (i) = fxprim ( REAL( i ) ) |
---|
| 63 | xprimu (i) = fxprim ( REAL( i ) + 0.5 ) |
---|
| 64 | xprimm025(i) = fxprim ( REAL( i ) - 0.25 ) |
---|
| 65 | xprimp025(i) = fxprim ( REAL( i ) + 0.25 ) |
---|
| 66 | ENDDO |
---|
[524] | 67 | |
---|
[5246] | 68 | ! |
---|
| 69 | RETURN |
---|
| 70 | END SUBROUTINE fxy |
---|
[524] | 71 | |
---|