[1403] | 1 | ! $Id: fxy.f90 5122 2024-07-24 18:45:54Z abarral $ |
---|
[5099] | 2 | |
---|
[5108] | 3 | SUBROUTINE fxy(rlatu, yprimu, rlatv, yprimv, rlatu1, yprimu1, & |
---|
| 4 | rlatu2, yprimu2, & |
---|
| 5 | rlonu, xprimu, rlonv, xprimv, rlonm025, xprimm025, rlonp025, xprimp025) |
---|
[524] | 6 | |
---|
[5122] | 7 | USE lmdz_fxy_new, ONLY: fx, fxprim, fy, fyprim |
---|
[2598] | 8 | |
---|
[5105] | 9 | IMPLICIT NONE |
---|
[524] | 10 | |
---|
[5105] | 11 | ! Auteur : P. Le Van |
---|
| 12 | ! |
---|
| 13 | ! Calcul des longitudes et des latitudes pour une fonction f(x,y) |
---|
| 14 | ! a tangente sinusoidale et eventuellement avec zoom . |
---|
| 15 | ! |
---|
| 16 | ! |
---|
| 17 | include "dimensions.h" |
---|
| 18 | include "paramet.h" |
---|
[524] | 19 | |
---|
[5108] | 20 | INTEGER :: i, j |
---|
[524] | 21 | |
---|
[5108] | 22 | REAL :: rlatu(jjp1), yprimu(jjp1), rlatv(jjm), yprimv(jjm), & |
---|
| 23 | rlatu1(jjm), yprimu1(jjm), rlatu2(jjm), yprimu2(jjm) |
---|
| 24 | REAL :: rlonu(iip1), xprimu(iip1), rlonv(iip1), xprimv(iip1), & |
---|
| 25 | rlonm025(iip1), xprimm025(iip1), rlonp025(iip1), xprimp025(iip1) |
---|
[524] | 26 | |
---|
[5105] | 27 | ! ...... calcul des latitudes et de y' ..... |
---|
| 28 | ! |
---|
[5108] | 29 | DO j = 1, jjm + 1 |
---|
| 30 | rlatu(j) = fy (REAL(j)) |
---|
| 31 | yprimu(j) = fyprim(REAL(j)) |
---|
| 32 | ENDDO |
---|
[524] | 33 | |
---|
[5108] | 34 | DO j = 1, jjm |
---|
[524] | 35 | |
---|
[5108] | 36 | rlatv(j) = fy (REAL(j) + 0.5) |
---|
| 37 | rlatu1(j) = fy (REAL(j) + 0.25) |
---|
| 38 | rlatu2(j) = fy (REAL(j) + 0.75) |
---|
[524] | 39 | |
---|
[5108] | 40 | yprimv(j) = fyprim(REAL(j) + 0.5) |
---|
| 41 | yprimu1(j) = fyprim(REAL(j) + 0.25) |
---|
| 42 | yprimu2(j) = fyprim(REAL(j) + 0.75) |
---|
[524] | 43 | |
---|
[5108] | 44 | ENDDO |
---|
[524] | 45 | |
---|
[5105] | 46 | ! |
---|
| 47 | ! ..... calcul des longitudes et de x' ..... |
---|
| 48 | ! |
---|
[5108] | 49 | DO i = 1, iim + 1 |
---|
| 50 | rlonv(i) = fx (REAL(i)) |
---|
| 51 | rlonu(i) = fx (REAL(i) + 0.5) |
---|
| 52 | rlonm025(i) = fx (REAL(i) - 0.25) |
---|
| 53 | rlonp025(i) = fx (REAL(i) + 0.25) |
---|
[524] | 54 | |
---|
[5108] | 55 | xprimv (i) = fxprim (REAL(i)) |
---|
| 56 | xprimu (i) = fxprim (REAL(i) + 0.5) |
---|
| 57 | xprimm025(i) = fxprim (REAL(i) - 0.25) |
---|
| 58 | xprimp025(i) = fxprim (REAL(i) + 0.25) |
---|
| 59 | ENDDO |
---|
[524] | 60 | |
---|
[5105] | 61 | ! |
---|
| 62 | END SUBROUTINE fxy |
---|
[524] | 63 | |
---|