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