1 | ! |
---|
2 | ! $Id: fxy.f90 5287 2024-10-28 13:53:53Z evignon $ |
---|
3 | ! |
---|
4 | SUBROUTINE fxy (rlatu,yprimu,rlatv,yprimv,rlatu1,yprimu1, & |
---|
5 | rlatu2,yprimu2, & |
---|
6 | rlonu,xprimu,rlonv,xprimv,rlonm025,xprimm025,rlonp025,xprimp025) |
---|
7 | |
---|
8 | USE comconst_mod, ONLY: pi |
---|
9 | USE serre_mod, ONLY: pxo,pyo,alphax,alphay,transx,transy |
---|
10 | |
---|
11 | USE dimensions_mod, ONLY: iim, jjm, llm, ndm |
---|
12 | USE paramet_mod_h |
---|
13 | USE fxy_new_mod_h, ONLY: fx, fxprim, fy, fyprim |
---|
14 | IMPLICIT NONE |
---|
15 | |
---|
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 | ! |
---|
22 | |
---|
23 | |
---|
24 | |
---|
25 | INTEGER :: i,j |
---|
26 | |
---|
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) |
---|
31 | |
---|
32 | |
---|
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 |
---|
39 | |
---|
40 | |
---|
41 | DO j = 1, jjm |
---|
42 | |
---|
43 | rlatv(j) = fy ( REAL( j ) + 0.5 ) |
---|
44 | rlatu1(j) = fy ( REAL( j ) + 0.25 ) |
---|
45 | rlatu2(j) = fy ( REAL( j ) + 0.75 ) |
---|
46 | |
---|
47 | yprimv(j) = fyprim( REAL( j ) + 0.5 ) |
---|
48 | yprimu1(j) = fyprim( REAL( j ) + 0.25 ) |
---|
49 | yprimu2(j) = fyprim( REAL( j ) + 0.75 ) |
---|
50 | |
---|
51 | ENDDO |
---|
52 | |
---|
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 ) |
---|
61 | |
---|
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 |
---|
67 | |
---|
68 | ! |
---|
69 | RETURN |
---|
70 | END SUBROUTINE fxy |
---|
71 | |
---|