[1] | 1 | ! |
---|
| 2 | ! $Id: fxysinus.F 1403 2010-07-01 09:02:53Z fairhead $ |
---|
| 3 | ! |
---|
| 4 | SUBROUTINE fxysinus (rlatu,yprimu,rlatv,yprimv,rlatu1,yprimu1, |
---|
| 5 | , rlatu2,yprimu2, |
---|
| 6 | , rlonu,xprimu,rlonv,xprimv,rlonm025,xprimm025,rlonp025,xprimp025) |
---|
| 7 | |
---|
[1422] | 8 | USE comconst_mod, ONLY: pi |
---|
[1] | 9 | |
---|
| 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 |
---|
| 18 | #include "dimensions.h" |
---|
| 19 | #include "paramet.h" |
---|
| 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 | |
---|
| 28 | #include "fxy_sin.h" |
---|
| 29 | |
---|
| 30 | |
---|
| 31 | c ...... calcul des latitudes et de y' ..... |
---|
| 32 | c |
---|
| 33 | DO j = 1, jjm + 1 |
---|
| 34 | rlatu(j) = fy ( REAL( j ) ) |
---|
| 35 | yprimu(j) = fyprim( REAL( j ) ) |
---|
| 36 | ENDDO |
---|
| 37 | |
---|
| 38 | |
---|
| 39 | DO j = 1, jjm |
---|
| 40 | |
---|
| 41 | rlatv(j) = fy ( REAL( j ) + 0.5 ) |
---|
| 42 | rlatu1(j) = fy ( REAL( j ) + 0.25 ) |
---|
| 43 | rlatu2(j) = fy ( REAL( j ) + 0.75 ) |
---|
| 44 | |
---|
| 45 | yprimv(j) = fyprim( REAL( j ) + 0.5 ) |
---|
| 46 | yprimu1(j) = fyprim( REAL( j ) + 0.25 ) |
---|
| 47 | yprimu2(j) = fyprim( REAL( j ) + 0.75 ) |
---|
| 48 | |
---|
| 49 | ENDDO |
---|
| 50 | |
---|
| 51 | c |
---|
| 52 | c ..... calcul des longitudes et de x' ..... |
---|
| 53 | c |
---|
| 54 | DO i = 1, iim + 1 |
---|
| 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 ) |
---|
| 59 | |
---|
| 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 ) |
---|
| 64 | ENDDO |
---|
| 65 | |
---|
| 66 | c |
---|
| 67 | RETURN |
---|
| 68 | END |
---|
| 69 | |
---|