1 | ! |
---|
2 | ! $Id: fxysinus.f90 5272 2024-10-24 15:53:15Z abarral $ |
---|
3 | ! |
---|
4 | SUBROUTINE fxysinus (rlatu,yprimu,rlatv,yprimv,rlatu1,yprimu1, & |
---|
5 | rlatu2,yprimu2, & |
---|
6 | rlonu,xprimu,rlonv,xprimv,rlonm025,xprimm025,rlonp025,xprimp025) |
---|
7 | |
---|
8 | |
---|
9 | USE comconst_mod, ONLY: pi |
---|
10 | USE dimensions_mod, ONLY: iim, jjm, llm, ndm |
---|
11 | USE paramet_mod_h, ONLY: iip1, iip2, iip3, jjp1, llmp1, llmp2, llmm1, kftd, ip1jm, ip1jmp1, & |
---|
12 | ip1jmi1, ijp1llm, ijmllm, mvar, jcfil, jcfllm |
---|
13 | IMPLICIT NONE |
---|
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 | ! |
---|
21 | |
---|
22 | |
---|
23 | |
---|
24 | INTEGER :: i,j |
---|
25 | |
---|
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) |
---|
30 | |
---|
31 | INCLUDE "fxy_sin.h" |
---|
32 | |
---|
33 | |
---|
34 | ! ...... calcul des latitudes et de y' ..... |
---|
35 | ! |
---|
36 | DO j = 1, jjm + 1 |
---|
37 | rlatu(j) = fy ( REAL( j ) ) |
---|
38 | yprimu(j) = fyprim( REAL( j ) ) |
---|
39 | ENDDO |
---|
40 | |
---|
41 | |
---|
42 | DO j = 1, jjm |
---|
43 | |
---|
44 | rlatv(j) = fy ( REAL( j ) + 0.5 ) |
---|
45 | rlatu1(j) = fy ( REAL( j ) + 0.25 ) |
---|
46 | rlatu2(j) = fy ( REAL( j ) + 0.75 ) |
---|
47 | |
---|
48 | yprimv(j) = fyprim( REAL( j ) + 0.5 ) |
---|
49 | yprimu1(j) = fyprim( REAL( j ) + 0.25 ) |
---|
50 | yprimu2(j) = fyprim( REAL( j ) + 0.75 ) |
---|
51 | |
---|
52 | ENDDO |
---|
53 | |
---|
54 | ! |
---|
55 | ! ..... calcul des longitudes et de x' ..... |
---|
56 | ! |
---|
57 | DO i = 1, iim + 1 |
---|
58 | rlonv(i) = fx ( REAL( i ) ) |
---|
59 | rlonu(i) = fx ( REAL( i ) + 0.5 ) |
---|
60 | rlonm025(i) = fx ( REAL( i ) - 0.25 ) |
---|
61 | rlonp025(i) = fx ( REAL( i ) + 0.25 ) |
---|
62 | |
---|
63 | xprimv (i) = fxprim ( REAL( i ) ) |
---|
64 | xprimu (i) = fxprim ( REAL( i ) + 0.5 ) |
---|
65 | xprimm025(i) = fxprim ( REAL( i ) - 0.25 ) |
---|
66 | xprimp025(i) = fxprim ( REAL( i ) + 0.25 ) |
---|
67 | ENDDO |
---|
68 | |
---|
69 | ! |
---|
70 | RETURN |
---|
71 | END SUBROUTINE fxysinus |
---|
72 | |
---|