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