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